Hai,
I got one problem in my Radwindow i have some fields its wroking properly before inserting RequiredFieldValidator after inserting RequiredFieldValidator
when i click on Add button the Radwindow is not opening.In my page When i click on Add and Edit buttons it will open but now its not opening my code is
I got one problem in my Radwindow i have some fields its wroking properly before inserting RequiredFieldValidator after inserting RequiredFieldValidator
when i click on Add button the Radwindow is not opening.In my page When i click on Add and Edit buttons it will open but now its not opening my code is
<cc1:RadWindow ID="RadWin_AddEdit" runat="server" Modal="true" Width="730" Height="370" VisibleOnPageLoad="false" Visible="false" Behaviors="Close,Reload" VisibleStatusbar="false"> <ContentTemplate> <asp:UpdatePanel ID="upnlSaveUpdateGangway" runat="server" UpdateMode="Conditional"> <ContentTemplate> <table id="tblAddGangway" width="100%"> <tr> <td>Category: </td> <td> <div style="display: inline-block"> <cc1:RadComboBox ID="cmbCategory" runat="server" EmptyMessage="- Select Category -" OnSelectedIndexChanged="cmbCategory_SelectedIndexChanged" AutoPostBack="true" Width="150px"> </cc1:RadComboBox> </div> <div style="display: inline-block"> <cc1:RadComboBox ID="cmbSubCategory" runat="server" EmptyMessage="- Select Sub-category -" OnSelectedIndexChanged="cmbSubCategory_SelectedIndexChanged" AutoPostBack="true" Width="150px"> </cc1:RadComboBox> </div> </tr> <tr> <div style="display: inline-block"> <td>Item Master: </td> <td> <cc1:RadSearchBox runat="server" ID="cmbItemMaster" OnSearch="cmbItemMaster_Search" Skin="WebBlue" Style="padding-right: 5px; padding-left: 5px; font-family: Calibri;" Width="85%" AutoPostBack="true" ZIndex="10000000" DropDownSettings-Width="200px" DropDownSettings-Height="200px"> </cc1:RadSearchBox> <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="cmbItemMaster" ForeColor="Red" ValidationGroup="SaveUpdate" Display="Dynamic">*</asp:RequiredFieldValidator> </cc1:RadSearchBox> </td> </div> </tr> <tr> <td style="height: 31px;"> <asp:Label ID="lblMaterialCode" runat="server" Text="Material Code"></asp:Label> </td> <td style="height: 31px" colspan="3"> <cc1:RadComboBox AutoPostBack="true" ID="ddlMaterialCode" OnSelectedIndexChanged="ddlMaterialCode_SelectedIndexChanged" runat="server" Width="40%" EmptyMessage="- Select Material code -"> </cc1:RadComboBox> <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="ddlMaterialCode" ForeColor="Red" ValidationGroup="SaveUpdate" Display="Dynamic">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td style="height: 31px;"> <asp:Label ID="lblMaterialName" runat="server" Text="Material Name"></asp:Label> </td> <td style="height: 31px" colspan="3"> <%-- <asp:TextBox ID="tbMaterialName" runat="server" MaxLength="100" Width="160px"></asp:TextBox>--%> <asp:Label ID="lblMName" runat="server" ></asp:Label> </td> </tr> <tr> <td style="height: 31px;"> <asp:Label ID="lblQtyRequired" runat="server" Text="Qty Required"></asp:Label> </td> <td style="height: 31px" colspan="3"> <asp:TextBox ID="tbQtyRequired" runat="server" MaxLength="100" Width="160px"></asp:TextBox> <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="tbQtyRequired" ForeColor="Red" ValidationGroup="SaveUpdate" Display="Dynamic">*</asp:RequiredFieldValidator> </tr> <tr> <td style="height: 31px;"> <asp:Label ID="lblPriority" runat="server" Text="Priority"></asp:Label> </td> <td style="height: 31px" class="tdField" colspan="3"> <asp:DropDownList ID="ddlPriority" runat="server" Width="40%"> </asp:DropDownList> <asp:RequiredFieldValidator runat="server" ID="rfvDuration" ControlToValidate="ddlPriority" ForeColor="Red" ValidationGroup="SaveUpdate" Display="Dynamic">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td style="height: 31px;"> <asp:Label ID="lblRemarks" runat="server" Text="Remarks"></asp:Label> </td> <td style="height: 31px" colspan="3"> <asp:TextBox ID="tbRemarks" runat="server" MaxLength="400" TextMode="MultiLine" Width="160px"></asp:TextBox> </td> </tr> </table> <table width="100%"> <tr> <td class="tdControl" align="center"> <asp:Button ID="btnSave" runat="server" Width="50px" OnClick="btnSave_Click" CommandName="Insert" ValidationGroup="SaveUpdate" Text="Save" /> <input id="btnCancel" onclick="CloseChildWindow();" style="width: 50px;" type="button" value="Cancel" name="Cancel" /> <asp:HiddenField ID="hdnMRDId" runat="server" /> </td> </tr> </table> </ContentTemplate> </asp:UpdatePanel> </ContentTemplate> </cc1:RadWindow>