I have a Model popup form with a button which is coded to send an email. When I click on the button, it first opens another Model Form and fires off the same code on this new form.
Not sure why it's opening a new form, there is no code anywhere to do so. Here is the code for my button:
<asp:Button ID="cmdSend" runat="server" Font-Bold="True" ForeColor="#000066" style="margin-bottom: 0px" Text="SEND" Width="88px" />
Here is the vb code behind the button:
Protected Sub cmdSend_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdSend.Click Dim answer As Integer Dim strAtt1 As String Dim strAtt2 As String Dim Rep As Long Rep = Me.txtRepID.Text
I placed a breakpoint at the Rep line and a new form opens before it fires off the cmdSend_Click.
Is there somethine I'm missing?
Thanks for your help!