"If at first you don't succeed; call it version 1.0" :-Unknown

Pages

Showing posts with label Button. Show all posts
Showing posts with label Button. Show all posts

Monday, November 11, 2013

button click event not fire from jquery dialog

button click event not fire from JQUERY dialog


Its a common issues.the defalut value of button property "UseSubmitBehavior" is true.

That expresses the button will use the browser's submit mechanism. However, jQuery Dialog UI is manipulating it.

There exists a conflict. If you want to fired the button click event. Please set its property "UseSubmitBehavior" as false.

<asp:Button ID="Button1" runat="server" Text="Button"  UseSubmitBehavior="false" OnClick="Button1_Click" />


If u had any trouble just ask, Happy to help u :)
Stay Tune...
Have a nice day... 'N happy Coding :)