We help IT Professionals succeed at work.

How to Asynchronously Perform Databinding In ASP.NET

endrec
endrec asked
on
We are having a performance problem that has been isolated to the databind event of a repeater.  The repeater code has been cleaned up to not use any Eval statements, to avoid use of reflection, but we're still having issues.  I wanted to know if there is a way to asyncrously perform databinding (the .DataBind() action).  For something like the following (which we are calling from a method that's in Page_Load when the page is not a post back):

                
               ArrayList Results = new ArrayList();
               Results.Add("Test");


                RepeaterControl.DataSource = Results;
                RepeaterControl.DataBind();

Open in new window

Comment
Watch Question

Top Expert 2009
Commented:
http://www.w3schools.com/ASPNET/aspnet_repeater.asp

this is a really amazing link that introduce you to how to bind XML with the RepeaterControl,

which is giving the best performance because of using the Simple XML list.

:)

any help i am ready
Top Expert 2009

Commented:
KingFlash, everything you've said is right, but he question here is for asynchronous binding which the article doesn't even mention about.

Arun
Top Expert 2009

Commented:
endrec, were you able to accomplish this or are you having some issue?

Arun