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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top