keyongtech


  keyongtech > dotnet.framework.aspnet.* > dotnet.framework.aspnet.main > 04/2004

 #1  
04-15-04, 02:20 PM
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,
 #2  
04-24-04, 06:09 AM
Rahul gade
You need to implement IPostBackEventHandler interface in your webControl to
Enable control for AutoPostBack.

Rahul Gade



"Maersa" <ma_ersa> wrote in message
news:3440
[..]
Similar Threads
Event doesn't launch in ASCX control

Hi all. I'm using VS2005 Beta 2 and I encountered a problem with an event. I had a User Control with a DataGrid with a CheckBox column like...

postback doesn't work with validators.!

I have a strange problem.. once I put any validators on my form, say a simple RequiredFieldValidator, then there is no postback happening. Even on a button click, there is...

postback doesn't work with validators.!

I have a strange problem.. once I put any validators on my form, say a simple RequiredFieldValidator, then there is no postback happening. Even on a button click, there is...

Help with Loading ASCX control during PostBack

I've got a page which loads up a different user control into a placeholder control every time a button is clicked on the parent page. I use a statement like...

HTML Reset Button Doesn't work after postback with Submit button

Hi, I have an HTML RESET button and Web Control Button that posts back to the server. Problem is the reset button doesn't work after the postback occurs. Any ideas...


All times are GMT. The time now is 12:10 AM. | Privacy Policy