Here is my scenario, I have a form that pops up with the webdialog. The user enters data, I want to stop the form from closing if nothing was selected. How do I cancel the submit action?
Button Code:
<igtxt:WebImageButton ID="lnkSubmit" runat="server" Text="Save Form" ClickOnEnterKey="false" ClickOnSpaceKey="False">
<ClientSideEvents Click="btnDialogWindow_onClick" />
</igtxt:WebImageButton>
Server Code:
Protected Sub lnkSubmit_Click1
....
End Sub
DIalog Page:
//closes dialogwindow
dialog.hide();
}
Switched to the AJAX modalpopupextender.