calling selectedindexchanged event
-
Dear All, Could somebody tell me how to call selectedindexchanged event during page_load event... All the best
-
Dear All, Could somebody tell me how to call selectedindexchanged event during page_load event... All the best
I assume you want to
trigger
that event during page_load. Why don't you put the code in the event handler in some other method (a new one, which you must implement). Then you call the new method both in the event handler and in handler for page_load?SkyWalker
-
I assume you want to
trigger
that event during page_load. Why don't you put the code in the event handler in some other method (a new one, which you must implement). Then you call the new method both in the event handler and in handler for page_load?SkyWalker
use this.. Create this in page load and call the SelectedIndexChanged object sender1 = new object(); EventArgs e1 =new EventArgs(); DropDownList1_SelectedIndexChanged(sender1, e1); event: protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { }