you can:
make a clientevent for your dropdown
Ddl.Attributes.Add("onchan
have a hidden button on the page...usually you can just use a linkbutton and leave text blank...
now, whatever onselectionchanged event server code, place inside the linkbutton click event.
now, in javascript get instance of that button in the onchange event...and do something like this: $get("linkbutton").click()
finally, make linkbutton a trigger event for the updatepanel...
Main Topics
Browse All Topics





by: burakiewiczPosted on 2009-11-05 at 09:58:22ID: 25752070
you have to set autopostback to true so it will fire the event. whatever you dont want to refresh dont put in an update panel that is always set to refresh. you can set the update mode to conditional and call the Update() when you want it to refresh