473,320 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP.Net 2 Client Callback page performance

Issue: We have a web user control on a web page (aspx) that uses the new
ASP.Net 2 feature Client Callback. The web user control is using a
CheckBoxList control and button control to allow the user to select multiple
values for displaying data on the page. When the user clicks on the button
control the client callback is triggered. The Client Callback works great.
I have no issues with the actual callback processing.

The issue is the performance of the web page on initial load or postback.
The web user control CheckBoxList can have hundreds of values in which the
user can select. In my research I found that the webresource.axd is
downloaded to the client and has the javascript code to support the client
callback. The ASP.Net 2 inserts the following at the end of the page.

<script type="text/javascript">
<!--
WebForm_InitCallback();// -->
</script>

In viewing the WebForm_InitCallback(); javascript function, I can see that
it is building an array of objects from all of the INPUT elements (type =
text, hidden, password, checkbox(checked) , radio(checked)). The ASP.Net
CheckBoxList control builds the html using the INPUT type=checkbox element.
By default all values in our web user control CheckBoxList are checked. This
is putting a burden on the load of the web page. I am not sure why the
callback javascript needs this list of INPUT objects, but the
WebForm_DoCallback does use this populated array.

Has anyone experienced this same issue or have any ideas to help with the
loading of the web page?

Jun 20 '06 #1
0 1434

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John | last post by:
Hi all, I'm trying to get a client callback to work and am able to get it to work when I comment out a section of other, non-related-client-callback code. Within my "If not page.ispostback"...
0
by: John | last post by:
Hi all, Perhaps I'm being a little impatient here but I needed to re-send with a metter of urgency... I'm trying to get a client callback to work and am able to get it to work when I comment...
2
by: jslaybaugh | last post by:
I am trying to bind to a GridView or DetailsView after a callback using the ClientCallback Manager in the new .NET 2.0 framework. See below for the HTML followed by the VB code: <html...
5
by: Papanii Okai | last post by:
Hi Guys, As we wall know Atlas is a fairly new feature everyone is talking about (atleast at my school). Even though the idea of Ajax has been used in the past i was wondeing if anyone could...
3
by: CodeRazor | last post by:
I have a user contol hosted in a webform. The user control interfaces with an http component. When the user control loads, a request is sent to the http component. It takes around 10 seconds...
0
by: Brian | last post by:
Hi, I've been trying to get a simple client / script callback to work. I was using IE6 to the ASP Development Server / IIS 5 and it just didn't work. I ended up using an example straight from an...
0
by: alrotem | last post by:
Hi, I'm using an <asp:TreeViewcontrol on my page. Combining the TreeView's OnTreeNodePopulate server-side event handler, and the PopulateOnDemand set to "true" on each node, I get client-based...
0
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have an ascx file that dynamically loads other ascx files. each of these ascx files need to perform client callback functions. It seems that when i try and break out all the javascript code into...
0
by: Bob | last post by:
Hi, i posted a few days ago the following problem: how to close a session after timeout is reached (let's say 15') when the user stops any activity on a page with client callback, which sent...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.