Hi,
I am using a RadButton in one of my aspx pages but on clicking the button, the click event is not firing.
Here is the Markup of my page.
<asp:Label ID="labelCard" runat="server" Text="Select Card Type"></asp:Label>
<asp:DropDownList ID="ddlType" runat="server" AutoPostBack="true" DataTextField='<%# Eval("Type") %>' Width="120px">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Type 1</asp:ListItem>
<asp:ListItem>Type 2</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredCardValidator1" runat="server" ErrorMessage="Please select card type" ControlToValidate="ddlType" InitialValue="--Select--" />
<asp:Label ID="labelCode" runat="server" Text="Enter Coupon Code"></asp:Label>
<asp:TextBox ID="textCode" runat="server" />
<asp:RequiredFieldValidator ID="RequiredNameValidator2" runat="server" ErrorMessage="Please enter coupon code" ControlToValidate="textCode" Display="Dynamic" />
<telerik:RadButton ID="btnCheck" runat="server" Text="Submit" OnClick="btnCheck_Click">
</telerik:RadButton>
Thanks,
Ben
I am using a RadButton in one of my aspx pages but on clicking the button, the click event is not firing.
Here is the Markup of my page.
<asp:Label ID="labelCard" runat="server" Text="Select Card Type"></asp:Label>
<asp:DropDownList ID="ddlType" runat="server" AutoPostBack="true" DataTextField='<%# Eval("Type") %>' Width="120px">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Type 1</asp:ListItem>
<asp:ListItem>Type 2</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredCardValidator1" runat="server" ErrorMessage="Please select card type" ControlToValidate="ddlType" InitialValue="--Select--" />
<asp:Label ID="labelCode" runat="server" Text="Enter Coupon Code"></asp:Label>
<asp:TextBox ID="textCode" runat="server" />
<asp:RequiredFieldValidator ID="RequiredNameValidator2" runat="server" ErrorMessage="Please enter coupon code" ControlToValidate="textCode" Display="Dynamic" />
<telerik:RadButton ID="btnCheck" runat="server" Text="Submit" OnClick="btnCheck_Click">
</telerik:RadButton>
Thanks,
Ben