Link to home
Start Free TrialLog in
Avatar of endrec
endrec

asked on

How to Asynchronously Perform Databinding In ASP.NET

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

ASKER CERTIFIED SOLUTION
Avatar of nmarun
nmarun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KingFlash
KingFlash

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
KingFlash, everything you've said is right, but he question here is for asynchronous binding which the article doesn't even mention about.

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

Arun