postback doesn't work in ascx

  • Thread starter Thread starter Maersa
  • Start date Start date
M

Maersa

Hi all,

i've got a control that has a button and when clicked on it would send a
postback, all of this works fine when the control is placed on a webform
(aspx) but doesn't work when placing it in a webcontrol (.ascx).

any ideas what may be the problem ?

thanks,
 
You need to implement IPostBackEventHandler interface in your webControl to
Enable control for AutoPostBack.

Rahul Gade
 
Back
Top