Curious Question on Modal Popup Extender
For the ajax control, modal popup extender. I know the extender needs a target control ID to initiate the popup however if we also have a event handler connected to the target control, does it not execute? If so, is there a way to work around it?
ex.
<ajx:ModalPopupExtender ID="AddNotePopupExtender" runat="server" PopupDragHandleControlID="PopUpWindowHeader"
PopupControlID="ModalWindowPanel" BackgroundCssClass="modalBackground" TargetControlID="AddNote"/>
some code ......
<asp:LinkButton ID="AddNote" runat="server" ShowModal="False" ToolTip="Add Note">Add New Note</asp:LinkButton>
while in the code behind.....
Protected Sub Add(ByVal sender As Object, ByVal e As EventArgs) Handles AddNote.Click
AccountNote.Text = String.Empty
AddNotePopupExtender.Show()
Me.BindGrid()
End Sub
but the textbox doesn't clear
|