Hi
I am having an odd problem - what am I doing wrong here? It takes two clicks to get it
to do its stuff (at this point it just sets the panel invisible)
the RadAjaxPanel is used with a Textbpx and a button
and the code behind
I am having an odd problem - what am I doing wrong here? It takes two clicks to get it
to do its stuff (at this point it just sets the panel invisible)
the RadAjaxPanel is used with a Textbpx and a button
| <telerik:RadAjaxPanel ID="RadAjaxPanelDownload" runat="server" Visible="true" defaultButton="ButtonDownload" Height="50px" Width="164px"> |
| <telerik:RadTextBox ID="RadTextBoxEmailDownload" runat="server" |
| Width="154px" MaxLength="50" style="font-size:10px !important; padding:2px !important;"> |
| </telerik:RadTextBox><br /> |
| <asp:Button ID="ButtonDownload" runat="server" Text="GO" CausesValidation="False" |
| UseSubmitBehavior="False"/> |
| </telerik:RadAjaxPanel> |
| Protected Sub ButtonDownload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonDownload.Click |
| ' read the email and save, email to customer requesting conf, alert |
| RadAjaxPanelDownload.Visible = False |
| End Sub |
When I click the button nothing happens. Click it again and the code runs, the panel goes invisible.
It's as if the first click is need to get focus.
Am I missing something?
Thanks
Clive