Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Problem With ASP.NET Button Control Postback

Vote:
 

Hi,

I have a standard .NET control with a text box and a button on it. The problem is that when I click the button nothing happens. There's no postback and my event handler is never called.

The strange thing is that in my master page I have another button and this does work, however any button that I put into a page template doesn't work.

Any ideas?

Thanks,

Robert

#52997
Aug 24, 2011 15:52
Vote:
 

Do you get any javascript errors in the browser that can give clues to what is wrong?

#53003
Aug 24, 2011 18:57
Vote:
 

Thanks for your reply.

I've just discovered the issue and it's nothing to do with EPiServer! I had two form tags on the master page and this was preventing postbacks for controls in template pages that inherited the master page.

Very annoying!

Thanks again,

Robert

#53023
Aug 25, 2011 11:19
Vote:
 

Check this one......What is postback

Dov

#133373
Sep 03, 2015 8:56
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.