C
craigkenisston
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,
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,