PC Review


Reply
Thread Tools Rate Thread

Correct events order for databinding

 
 
craigkenisston@hotmail.com
Guest
Posts: n/a
 
      25th Jun 2006
I have a form with a repeater that is filled from a BLL object, and a
dropdownlist.
The dropdownlist has a parameters that is used in the BLL class, the
number of rows about to be displayed.
I have a databind in the Page_Load and I have a
ddlRowsPerPage_SelectedIndexChanged even in the dropdownlist.
However, I never get the correct number of rows because, the Page_Load
with the databinding is fired first, then the SelectedIndexChange event
is. So the page_load does not get the updated value.
What's the correct approach for this ?

Thanks in advace,

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Databinding and order of events Rex the Strange Microsoft ASP .NET 1 17th Nov 2006 12:53 AM
Order of events, databinding, and UserControls Nathan Sokalski Microsoft ASP .NET 9 23rd May 2006 05:32 PM
Order of events, databinding, and UserControls Nathan Sokalski Microsoft VB .NET 9 23rd May 2006 05:32 PM
Order of events, databinding, and UserControls Nathan Sokalski Microsoft ADO .NET 9 23rd May 2006 05:32 PM
Incorrect first() behavior even though normal order shows correct order William E Hannon Jr Microsoft Access 2 7th Jul 2005 08:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:26 PM.