473,624 Members | 2,612 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_InitCal lback();// -->
</script>

In viewing the WebForm_InitCal lback(); javascript function, I can see that
it is building an array of objects from all of the INPUT elements (type =
text, hidden, password, checkbox(checke d) , 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_DoCallb ack 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 1453

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

Similar topics

1
1092
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" section, I do a databind on a gridview as well as a dropdown box. The callback itself is fired off in an "onchange" event of a completely different textbox. If I comment out the object.Databind() lines for botht the gridview and dropdown box, the...
0
1116
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 out a section of other, non-related-client-callback code. Within my "If not page.ispostback" section, I do a databind on a gridview as well as a dropdown box. The callback itself is fired off in an "onchange"
2
2385
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 xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> function GetEmployeeInfo(empID)
5
1389
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 explain a few things to me. Comparing the performance of both asp.net client call backs and Atlas which is faster? Do they necessarily do the same things? Are there things Atlas can do that client callbacks can't? Secondly, even though there is a Atlas...
3
3175
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 before a response is returned. While this is happening the webform cannot do any other processing. I want to use a client callback to free up the web form while the usercontrol is busy doing its stuff. I have got it working fine if I generate the...
0
1187
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 asp 2.0 book and it still didn't work. However I noticed that it worked on firefox on the development machine, and also IE6 and firefox from a remote machine. I set various breakpoints and noticed that the firefox callback ends up in the correct...
0
1506
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 functionality, with callbacks. I can clearly see that the page does not refresh, which is good, as this was my intention to begin with. I also closely inspected the client-side sources (using "Instant
0
1420
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 the individual files things do not work. However, if i put all the Callback functionality into the "Driver" ascx page it will work just fine. The only problem is i can not encapsulate all the specific functionality into the individual ascx files....
0
990
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 from/to the server every x seconds, causing the timeout never reachs the 15'? I got an answer but it seems not to work: "if you are using cookie based sessions, client callbacks do not update the
0
8251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7178
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4085
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2614
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1800
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1496
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.