hi
I use rediobutton in page that users should select one Item from radio buttons:
<label id="buy5M1">
<asp:RadioButton ID="RBRip" runat="server" GroupName="Radio" Enabled='<%#Eval("DvdRip").ToString() == "1" ?true : false %>' />
</label>
<div id="rF2">
<asp:Label ID="Label16" runat="server" CssClass="se1FF" Visible = '<%#Eval("Dvd").ToString() == "1" ? true : false %>'>DVD</asp:Label>
<label id="buy5M1">
<asp:RadioButton ID="RBDvd" runat="server" GroupName="Radio" Enabled='<%#Eval("Dvd").ToString() == "1" ?true : false %>' />
</label>
and after selecting one of radiobutton they click on Imagebutton==(BtnPopup6t) that I define in this page when they click on Imagebutton(BtnPopup6t) it will show PopUp(here I use asp:ModalPopupExtender):below are code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ModalPopupExtender DropShadow="true" ID="MPE6t" PopupControlID="PnPopup6t" runat="server"
TargetControlID="BtnPopup6t" BackgroundCssClass="modalBackground">
</asp:ModalPopupExtender>
<asp:ImageButton ID="BtnPopup6t" runat="server" CssClass="imgored" ImageUrl="~/Image/Main/png1.png" OnClick="Imgorder_Click" ></asp:ImageButton>
<asp:Panel ID="PnPopup6t" runat="server" CssClass="panelManage" Style="display: none">
<asp:ImageButton ID="ImageButton4" runat="server" CssClass="imgBtnD" ImageUrl="~/Image/Main/close.png" OnClick="ImgcloseP_Click"></asp:ImageButton>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
now here I want if users forget to select radiobutton it doesn't show popup (ModalPopupExtender) and in other popup shows that :("Please select Item from radiobutton") how I can do it?
Best regards
Neda