This is a migrated thread and some comments may be shown as answers.

DateTimePicker

6 Answers 91 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Edd
Top achievements
Rank 1
Edd asked on 01 Aug 2013, 08:59 AM
I am using rad datepicker in Q1 2013 SP1.
The date is just up 1980. how can i choose a date beyond date.

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 01 Aug 2013, 09:37 AM
Hi Edd,

This is because 01/01/1980 is set as RadDatePicker's MinDate by default. Try setting the MinDate property to a desired date as shown in the following mark-up.

ASPX:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server" MinDate="01/01/1950">
</telerik:RadDatePicker>

Thanks,
Shinu.
0
Edd
Top achievements
Rank 1
answered on 01 Aug 2013, 10:10 AM
When i choose a date beyond 1980 and try to edit it in radgrid using form template it doesnt pop up for me to edit. But other dates after 1980 does.
What might be the probs
0
Shinu
Top achievements
Rank 2
answered on 02 Aug 2013, 12:33 PM
Hi Edd,

Please have a look at the full code I tried which works fine at my end.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="97%" DataSourceID="SqlDataSource1"
    AutoGenerateEditColumn="true">
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="EmployeeID" ClientDataKeyNames="EmployeeID"
        Width="100%" CommandItemDisplay="Top" PageSize="5">
        <Columns>
            <telerik:GridBoundColumn DataField="EmployeeID" UniqueName="EmployeeID">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FirstName" UniqueName="FirstName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LastName" UniqueName="LastName">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings EditFormType="Template">
            <FormTemplate>
                <telerik:RadDatePicker ID="RadDatePicker" runat="server" MinDate="01/01/1950">
                </telerik:RadDatePicker>
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
    SelectCommand="SELECT [EmployeeID], [FirstName], [LastName] FROM [Employees]">
</asp:SqlDataSource>

Please provide your full code if it doesn't help.

Thanks,
Shinu.
0
Edd
Top achievements
Rank 1
answered on 05 Aug 2013, 12:11 PM
Hi Shinu,
I havent still been able to solve this problem.
Below are an codes for the register members and member records.
the problem is when i choose a date below 1980 for a member it is able to save into the database.
But when i open that record using a radgrid and try editing using the editform template, the form doesnt pop up but other records with dates above 1980 do.
thanks in advance for your help

register members code
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 
    <%--<form id="form1" runat="server">--%>
        <%--<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePartialRendering="true"></telerik:RadScriptManager> --%>
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Select" Skin="Windows7" />
    <asp:Accordion ID="Accordion1" runat="server" HeaderCssClass="accHeader" HeaderSelectedCssClass="accHeaderSelected" ContentCssClass="accContent" CssClass="AccCSS" >
            <Panes>
                <asp:AccordionPane ID="AccordionPane1" runat="server">
                    <Header>Basic Info</Header>
                    <Content>
                <table class="tablePic">
                    <tr><td></td></tr>
                    <tr><td></td></tr>
                    <tr>
                <td class="panel1">
                <asp:Label ID="LblPicture" runat="server" Text="Picture:" CssClass="auto-style7"></asp:Label>
                </td>
                <td>
                    <asp:FileUpload ID="Fileuploadimages" runat="server" TabIndex="1" />
                       <%--<asp:Button ID="Button1" runat="server" Text="Upload" onclick="Button1_Click"/>--%>
                </td>
                        <td>
                            <%--<asp:Image ID="Image1" runat="server" />--%>
                        </td>
                </tr>
                </table>
                <asp:Panel runat="server" GroupingText="Basic Information" ID="BasicInfo" CssClass="panel1" Width="600px">
                 <table>
               <tr>
                <td class="auto-style9">
                    <asp:Label ID="LblMemberNO" runat="server" Text="Member NO:" CssClass="auto-style7"></asp:Label>
                </td>
                <td><telerik:RadTextBox ID="RadTxtMemberNO" runat="server" Skin="Windows7" Enabled="false"></telerik:RadTextBox>
 
                </td>
            </tr>
             <tr>
                <td class="auto-style9">
                    <asp:Label ID="Label1" runat="server" Text="Title:" CssClass="auto-style7"></asp:Label>
                </td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpTitle" runat="server" Skin="Windows7" style="color: #3399FF" TabIndex="2" DataSourceID="SqlDataSource2" DataTextField="Title" DataValueField="Title" DefaultMessage="Select....">
                       </telerik:RadDropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>" SelectCommand="SELECT DISTINCT [Title] FROM [Title] ORDER BY [Title]"></asp:SqlDataSource>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="RadDrpTitle" Display="Dynamic" ErrorMessage="Title Required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style9"><asp:Label ID="LblFName" runat="server" Text="First Name:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtFName" Runat="server" EmptyMessage="enter firstname" LabelWidth="64px" Skin="Windows7" Width="160px" TabIndex="3">
                    </telerik:RadTextBox>
                    <telerik:RadTextBox ID="RadTxtLName0" Runat="server" EmptyMessage="enter lastname" LabelWidth="64px" Skin="Windows7" TabIndex="4" Width="160px">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="ReqFdFName" runat="server" ControlToValidate="RadTxtFName" Display="Dynamic" ErrorMessage="member firstname required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="RadTxtLName0" Display="Dynamic" ErrorMessage="member lastname required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegExFName" runat="server" ControlToValidate="RadTxtFName" Display="Dynamic" ErrorMessage="name should be alphabets only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[a-zA-Z -]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="RegExLName" runat="server" ControlToValidate="RadTxtLName0" Display="Dynamic" ErrorMessage="lastname should be alphabets only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[a-zA-Z -]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style6"><asp:Label ID="LblDOB" runat="server" Text="Date of Birth:" CssClass="auto-style7"></asp:Label></td>
                <td class="auto-style2">
                    <telerik:RadDatePicker ID="RadDatePicker2" Runat="server" Culture="en-US" Height="22px" MinDate="01/01/1930" Skin="Windows7" Width="136px" TabIndex="5"
                       Calendar-ShowFastNavigationButtons="true" >
                        <Calendar ID="Calendar1" Skin="Windows7" runat="server" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                             EnableKeyboardNavigation="True" >
                        </Calendar>
                        <DateInput ID="DateInput1" DateFormat="MMM/d/yyyy" DisplayDateFormat="MMM/d/yyyy" Height="22px" LabelWidth="40%" TabIndex="5" runat="server" Skin="WebBlue" MinDate="01/01/1930"
                         >
                        </DateInput>
                        <DatePopupButton HoverImageUrl="" ImageUrl="" TabIndex="5" runat="server"   />
                    </telerik:RadDatePicker>
                    <asp:RequiredFieldValidator ID="ReqFdDOB" runat="server" ControlToValidate="RadDatePicker2" Display="Dynamic" ErrorMessage="date of birth required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style9"><asp:Label ID="LblGender" runat="server" Text="Gender:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpGender" runat="server" Skin="Windows7" TabIndex="6" DefaultMessage="Select....">
                        <Items>
                          
                            <telerik:DropDownListItem runat="server" Text="Female" Value="Female" />
                            <telerik:DropDownListItem runat="server" Text="Male" Value="Male" />
                        </Items>
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="ReqFdGender" runat="server" ControlToValidate="RadDrpGender" Display="Dynamic" ErrorMessage="gender required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style9"><asp:Label ID="LblOccupation" runat="server" Text="Occupation:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpOccupation" runat="server" Skin="Windows7" style="color: #3399FF" TabIndex="7" DataSourceID="SqlDataSource1" DataTextField="Occupation" DataValueField="Occupation" DefaultMessage="Select....">
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="ReqFdOccupation" runat="server" ControlToValidate="RadDrpOccupation" Display="Dynamic" ErrorMessage="Occupation required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>" SelectCommand="SELECT DISTINCT [Occupation] FROM [Occupation] ORDER BY [Occupation]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td class="auto-style9">
                    <asp:Label ID="LblMaritalStatus" runat="server" Text="Marital Status:" CssClass="auto-style7"></asp:Label>
                </td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpMaritalStatus" runat="server" Skin="Windows7" style="color: #3399FF" TabIndex="8" DefaultMessage="Select....">
                        <Items>
                            <telerik:DropDownListItem runat="server" Text="" Value="" />
                            <telerik:DropDownListItem runat="server" Text="Married" Value="Married" />
                            <telerik:DropDownListItem runat="server" Text="Single" Value="Single" />
                            <telerik:DropDownListItem runat="server" Text="Engaged" Value="Engaged" />
                            <telerik:DropDownListItem runat="server" Text="Divorced" Value="Divorced" />
                            <telerik:DropDownListItem runat="server" Text="Seperated" Value="Seperated" />
                            <telerik:DropDownListItem runat="server" Text="Widow" Value="Widow" />
                            <telerik:DropDownListItem runat="server" Text="Widower" Value="Widower" />
                        </Items>
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="ReqFdMaritalStatus" runat="server" ControlToValidate="RadDrpMaritalStatus" Display="Dynamic" ErrorMessage="marital status required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
                        </table>
                    </asp:Panel>
                        </Content>
                </asp:AccordionPane>
                <asp:AccordionPane ID="AccordionPane2" runat="server">
                    <Header>Personal Info</Header>
                    <Content>
                <asp:Panel runat="server" GroupingText="Contact Information" ID="ContactInfo" CssClass="panel1" Width="600px">
                 <table>
                <tr>
                <td class="auto-style8"><asp:Label ID="LblTelephoneNo" runat="server" Text="Mobile NO:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtTelephoneNO" Runat="server" LabelWidth="64px" Skin="Windows7" TabIndex="9" Width="160px" MaxLength="10">
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegExLTelephoneNO" runat="server" ControlToValidate="RadTxtTelephoneNO" Display="Dynamic" ErrorMessage="telephone no is numbers only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="0\d{9}" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style8"><asp:Label ID="LblContactNO" runat="server" Text="Contact NO:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtContactNO" Runat="server" LabelWidth="64px" Skin="Windows7" TabIndex="10" Width="160px">
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegExLContactno" runat="server" ControlToValidate="RadTxtContactNO" Display="Dynamic" ErrorMessage="Contact is numbers only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[0-9]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style8"><asp:Label ID="LblEmailAdd" runat="server" Text="Email Address:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtEmailAdd" Runat="server" Skin="Windows7" TabIndex="11">
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegExEmail" runat="server" ControlToValidate="RadTxtEmailAdd" Display="Dynamic" ErrorMessage="eg: you@yahoo.com" ForeColor="Red" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style8"><asp:Label ID="LblLocation" runat="server" Text="Location:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtLocation" Runat="server" EmptyMessage="enter location" LabelWidth="64px" Skin="Windows7" Width="160px" Height="22px" TabIndex="12">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="ReqFdLocation" runat="server" ControlToValidate="RadTxtLocation" Display="Dynamic" ErrorMessage="Location required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
                     <tr>
                <td class="auto-style8"><asp:Label ID="LblLocaationLandmark" runat="server" Text="Location Landmark:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtLocationLandmark" Runat="server" Skin="Windows7" Width="160px" TextMode="MultiLine" TabIndex="13">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="RadTxtLocationLandmark" Display="Dynamic" ErrorMessage="Location Landmark required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style8">
                    <asp:Label ID="LblLocation0" runat="server" Text="Address:" CssClass="auto-style7"></asp:Label>
                </td>
                <td>
                    <telerik:RadTextBox ID="RadTxtAddress" Runat="server" EmptyMessage="enter address" Height="70px" LabelWidth="64px" Skin="Windows7" TabIndex="14" Width="160px" TextMode="MultiLine">
                    </telerik:RadTextBox>
                </td>
            </tr>
                            <tr>
                <td class="auto-style8"><asp:Label ID="LblNextofKin" runat="server" Text="Next of Kin:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtNKFName" Runat="server" EmptyMessage="enter firstname" LabelWidth="64px" Skin="Windows7" TabIndex="15" Width="160px">
                    </telerik:RadTextBox>
                    <telerik:RadTextBox ID="RadTxtNKLName" Runat="server" EmptyMessage="enter lastname" LabelWidth="64px" Skin="Windows7" TabIndex="16" Width="160px">
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="ReqFdNKFname" runat="server" ControlToValidate="RadTxtNKFName" Display="Dynamic" ErrorMessage="next of kin firstname required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <asp:RequiredFieldValidator ID="ReqNKLname" runat="server" ControlToValidate="RadTxtNKLName" Display="Dynamic" ErrorMessage="next of kin lastname required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegExNKFName" runat="server" ControlToValidate="RadTxtNKFName" Display="Dynamic" ErrorMessage="firstname should be alphabets only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[a-zA-Z -]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="RegExNKLName" runat="server" ControlToValidate="RadTxtNKLName" Display="Dynamic" ErrorMessage="lastname should be alphabets only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[a-zA-Z -]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style8"><asp:Label ID="LblNextofKinNo" runat="server" Text="Next of Kin Mobile:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtNextOfKinNo" Runat="server" LabelWidth="64px" Skin="Windows7" TabIndex="17" Width="160px" MaxLength="10">
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="RadTxtNextOfKinNo" Display="Dynamic" ErrorMessage="telephone no is numbers only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="0\d{9}" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
            </tr>
             </table>
              </asp:Panel>
                         </Content>
                </asp:AccordionPane>
                <asp:AccordionPane ID="AccordionPane3" runat="server">
                    <Header>Membership Info</Header>
                    <Content>
                 <asp:Panel runat="server" GroupingText="Membership Information" ID="MembershipInfo" CssClass="panel1" Width="600px">
                 <table>
                     <tr>
                <td class="auto-style8"><asp:Label ID="LblMembertype" runat="server" Text="Member Type:" CssClass="auto-style7"></asp:Label></td>
                <td><telerik:RadDropDownList ID="RadDrpMemberType" runat="server" Skin="Windows7" style="color: #3399FF" TabIndex="18" DataSourceID="SqlDataSourceMemberType" DataTextField="MemberType" DataValueField="MemberType" DefaultMessage="Select....">
                   <Items>
                       <telerik:DropDownListItem runat="server" Text="" Value="" />
                   </Items>
                     </telerik:RadDropDownList>
                    <asp:SqlDataSource ID="SqlDataSourceMemberType" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>" SelectCommand="SELECT DISTINCT [MemberType] FROM [MemberType] ORDER BY [MemberType]"></asp:SqlDataSource>
                    <asp:RequiredFieldValidator ID="ReqFdMemberType" runat="server" ControlToValidate="RadDrpMemberType" Display="Dynamic" ErrorMessage="member type required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
                     <tr>
                <td class="auto-style9"><asp:Label ID="LblBaptism" runat="server" Text="Baptism:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpBaptism" runat="server" Skin="Windows7" TabIndex="19" DefaultMessage="Select...." Width="80px">
                        <Items>
                          
                            <telerik:DropDownListItem runat="server" Text="Yes" Value="Yes" />
                            <telerik:DropDownListItem runat="server" Text="No" Value="No" />
                        </Items>
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="RadDrpBaptism" Display="Dynamic" ErrorMessage="Baptism Status required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
               <telerik:RadDatePicker ID="RadDatePickerBaptism" runat="server" Skin="Windows7" Width="130px" TabIndex="20"></telerik:RadDatePicker>
                     </td>
            </tr>
                     <tr>
                <td class="auto-style8"><asp:Label ID="LblPlaceofBaptism" runat="server" Text="Place of Baptism:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtPlaceofBaptism" Runat="server" EmptyMessage="" Skin="Windows7" TextMode="MultiLine" TabIndex="21">
                    </telerik:RadTextBox>
                </td>
            </tr>
                     <tr>
                <td class="auto-style9"><asp:Label ID="LblConfirmation" runat="server" Text="Confirmed:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpConfirmed" runat="server" Skin="Windows7" TabIndex="22" DefaultMessage="Select...." Width="80px">
                        <Items>
             
                            <telerik:DropDownListItem runat="server" Text="Yes" Value="Yes" />
                            <telerik:DropDownListItem runat="server" Text="No" Value="No" />
                        </Items>
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="RadDrpConfirmed" Display="Dynamic" ErrorMessage="Confirmation Status required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <telerik:RadDatePicker ID="RadDatePickerConfirmation" runat="server" Skin="Windows7" Width="130px" TabIndex="23"></telerik:RadDatePicker>
                      </td>
            </tr>
                     <tr>
                <td class="auto-style8"><asp:Label ID="LblPlaceConfirmed" runat="server" Text="Place of Confirmation:" CssClass="auto-style7"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtPaceConfrimed" Runat="server" EmptyMessage="" Skin="Windows7" TextMode="MultiLine" TabIndex="23">
                    </telerik:RadTextBox>
                </td>
            </tr>
                     <tr>
                <td class="auto-style8"><asp:Label ID="LblCell" runat="server" Text="Cell:" CssClass="auto-style7"></asp:Label></td>
                <td class="auto-style4">
                    <telerik:RadDropDownList ID="RadDrpCell" runat="server" Skin="Windows7" style="color: #3399FF" TabIndex="24" DataSourceID="SqlDataSourceClass" DataTextField="CellName" DataValueField="CellName" DefaultMessage="Select....">
                    <Items>
                        <telerik:DropDownListItem runat="server" Text="" Value="" />
                    </Items>
                    </telerik:RadDropDownList>
                    <asp:SqlDataSource ID="SqlDataSourceClass" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>" SelectCommand="SELECT DISTINCT [CellName] FROM [Cells]"></asp:SqlDataSource>
                </td>
            </tr>         
                     <tr>
                         <td class="auto-style14">
                             <telerik:RadTextBox ID="RadTxtStatus" runat="server" Text="True" Visible="false"></telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                <td class="auto-style14">          </td>
                <td>
                    <telerik:RadButton ID="RadBtnSubmit" runat="server" Text="Submit" Skin="Windows7" TabIndex="25" ValidationGroup="Check" CausesValidation="true" OnClick="RadBtnSubmit_Click" AutoPostBack="true" >
                       <Icon PrimaryIconCssClass="rbSave" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                    </telerik:RadButton>
                              
                </td>
                <td><telerik:RadButton ID="RadBtnCancel" runat="server" Text="Reset" Skin="Windows7" OnClick="RadBtnCancel_Click">
                    <Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                    </telerik:RadButton></td>
            </tr>
                     </table>
                </asp:Panel>
 
                         </Content>
                </asp:AccordionPane>
            </Panes>
        </asp:Accordion>
                        <asp:Panel runat="server" ID="ErrorSummary" CssClass="summary" Width="200px">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Size="Smaller" ForeColor="Red" ValidationGroup="Check" />
            <asp:Label ID="LblMemCode" runat="server" Text="" Visible="false"></asp:Label>
                 <asp:Label ID="LblMemID" runat="server" Text="" Visible="false"></asp:Label>
        <asp:Label ID="LblUpdateID" runat="server" Text="" Visible="false"></asp:Label>
                 <asp:Label ID="LblError" runat="server" Text="" ForeColor="Red" Font-Size="Small"></asp:Label>
        </asp:Panel>
                 <table>
                <tr><td></td></tr>
 
                <tr><td></td></tr>
                <tr><td></td></tr>
                <tr><td></td></tr>
                     </table>    
                    <%--</fieldset>--%>
       
</asp:Content>

Member Records

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <telerik:RadFormDecorator runat="server" ID="FormDecorator" DecoratedControls="All" Skin="Windows7" />
 
   <%-- <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
    </telerik:RadScriptManager>--%>
 
<%--    <qsf:InformationBox ID="InformationBox1" runat="server">
        <div>
            <div>
                <span>Yahoo-style scrolling:</span>
                <ul>
                    <li>Drag the vertical scroll to the bottom to load additional records on demand</li>
                </ul>
            </div>
        </div>
    </qsf:InformationBox>--%>
 
<%--    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>--%>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                <ProgressTemplate>
                    processing
                </ProgressTemplate>
            </asp:UpdateProgress>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
                <p id="divMsgs" runat="server">
        <asp:Label ID="Label1" runat="server" EnableViewState="False" Font-Bold="True" ForeColor="#FF8080">
        </asp:Label>
        <asp:Label ID="Label2" runat="server" EnableViewState="False" Font-Bold="True" ForeColor="#00C000">
        </asp:Label>
    </p>
            <%--<div>
            <p >
                <asp:LinkButton ID="LinkButton1" runat="server" type="button" Text="[ Print Grid ]"
                    Font-Underline="false" ForeColor="Black" OnClick="LinkButton1_Click" /></p>
            This code-library demonstrates how to print RadGrid without surrounding content<br />
        </div>
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">--%>
                <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" CellSpacing="0" DataSourceID="MembersRecords"
                    ShowGroupPanel="True" Skin="WebBlue" AllowMultiRowEdit="True" AllowMultiRowSelection="True" GridLines="None" ShowFooter="True" Height="510px" PageSize="11"
                    OnItemDeleted="RadGrid1_ItemDeleted"
        OnItemInserted="RadGrid1_ItemInserted" OnItemUpdated="RadGrid1_ItemUpdated" OnItemCommand="RadGrid1_ItemCommand">
        <ExportSettings ExportOnlyData="True" OpenInNewWindow="True" HideStructureColumns="True" IgnorePaging="True">
        </ExportSettings>
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">
            <Selecting AllowRowSelect="True" />
            <Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="6" EnableVirtualScrollPaging="True"
                SaveScrollPosition="True"/>
            <Resizing AllowColumnResize="True" />
            <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>
        </ClientSettings>
        <AlternatingItemStyle Wrap="False" />
<MasterTableView AutoGenerateColumns="False" DataKeyNames="MemberNO" DataSourceID="MembersRecords" CommandItemDisplay="Top" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True" EditMode="PopUp">
<CommandItemSettings ExportToPdfText="Export to PDF" ShowExportToCsvButton="True" ShowExportToExcelButton="True" ShowExportToWordButton="True" ShowAddNewRecordButton="False"></CommandItemSettings>
 
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridClientSelectColumn >
            <HeaderStyle Width="30px" />
            <ItemStyle Width="30px" />
                </telerik:GridClientSelectColumn>
        <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
            <HeaderStyle Width="30px" />
            <ItemStyle Width="30px" />
                </telerik:GridEditCommandColumn>
        <telerik:GridBoundColumn DataField="MemberID" DataType="System.Int32" FilterControlAltText="Filter MemberID column" HeaderText="MemberID" ReadOnly="True" SortExpression="MemberID" UniqueName="MemberID" Visible="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <ItemStyle Width="150px" />
        </telerik:GridBoundColumn>
        <telerik:GridNumericColumn Aggregate="Count" DataField="MemberNO" FilterControlAltText="Filter MemberNO column" HeaderText="MemberNO" ReadOnly="True" SortExpression="MemberNO" UniqueName="MemberNO" FilterControlWidth="80px" CurrentFilterFunction="EndsWith" FilterDelay="4000" ShowFilterIcon="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
        </telerik:GridNumericColumn>
        <telerik:GridBoundColumn DataField="Title" FilterControlAltText="Filter Title column" HeaderText="Title" SortExpression="Title" UniqueName="Title"
             FilterControlWidth="50px" ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="Contains" FilterDelay="4000">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="70px" />
            <ItemStyle Width="70px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="FirstName" FilterControlAltText="Filter FirstName column" HeaderText="FirstName" SortExpression="FirstName" UniqueName="FirstName"
          ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="LastName" FilterControlAltText="Filter LastName column" HeaderText="LastName" SortExpression="LastName" UniqueName="LastName"
         ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateOfBirth" DataType="System.DateTime" FilterControlAltText="Filter DateOfBirth column" HeaderText="DateOfBirth" SortExpression="DateOfBirth" UniqueName="DateOfBirth" Visible="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Gender" FilterControlAltText="Filter Gender column" HeaderText="Gender" SortExpression="Gender" UniqueName="Gender"
            ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="60px">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="80px" />
            <ItemStyle Width="80px" />
        </telerik:GridBoundColumn>
         <telerik:GridBoundColumn DataField="AGE" FilterControlAltText="Filter AGE column" HeaderText="Age" SortExpression="AGE" UniqueName="AGE"
            ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="60px" AllowFiltering="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="40px" />
            <ItemStyle Width="40px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="MemberType" FilterControlAltText="Filter MemberType column" HeaderText="MemberType" SortExpression="MemberType"
          UniqueName="MemberType" ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px" Visible="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Society1" FilterControlAltText="Filter Society1 column" HeaderText="Society1" SortExpression="Society1" UniqueName="Society1"
            ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px" Visible="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="80px" />
            <ItemStyle Width="80px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Society2" FilterControlAltText="Filter Society2 column" HeaderText="Society2" SortExpression="Society2" UniqueName="Society2"
            ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px" Visible="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="80px" />
            <ItemStyle Width="80px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Class" FilterControlAltText="Filter Class column" HeaderText="Class" SortExpression="Class" UniqueName="Class"
            ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="70px" Visible="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="80px" />
            <ItemStyle Width="80px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ContactNO" FilterControlAltText="Filter ContactNO column" HeaderText="ContactNO" SortExpression="ContactNO" UniqueName="ContactNO" AllowSorting="false" AllowFiltering="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="80px" />
            <ItemStyle Width="80px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="MobileNO" FilterControlAltText="Filter MobileNO column" HeaderText="MobileNO" SortExpression="MobileNO" UniqueName="MobileNO" AllowSorting="false" AllowFiltering="false">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="80px" />
            <ItemStyle Width="80px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Email" FilterControlAltText="Filter Email column" HeaderText="Email" SortExpression="Email" UniqueName="Email" AllowSorting="false" AllowFiltering="false">
            <ItemStyle Width="150px" />
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
 
            <HeaderStyle Width="150px" />
            <ItemStyle Width="150px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Location" FilterControlAltText="Filter Location column" HeaderText="Location" SortExpression="Location" UniqueName="Location" Visible="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="MaritalStatus" FilterControlAltText="Filter MaritalStatus column" HeaderText="MaritalStatus" SortExpression="MaritalStatus"
            UniqueName="MaritalStatus" ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="NextOfKin" FilterControlAltText="Filter NextOfKin column" HeaderText="NextOfKin" SortExpression="NextOfKin" UniqueName="NextOfKin" Visible="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Address" FilterControlAltText="Filter Address column" HeaderText="Address" SortExpression="Address" UniqueName="Address" Visible="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DateRegistered" DataType="System.DateTime" FilterControlAltText="Filter DateRegistered column" HeaderText="DateRegistered" SortExpression="DateRegistered" UniqueName="DateRegistered" Visible="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Occupation" FilterControlAltText="Filter Occupation column" HeaderText="Occupation" SortExpression="Occupation" UniqueName="Occupation"
            ShowFilterIcon="false" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" FilterDelay="4000" FilterControlWidth="80px">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ImageName" FilterControlAltText="Filter ImageName column" HeaderText="ImageName" SortExpression="ImageName" UniqueName="ImageName" Visible="false">
            <ColumnValidationSettings>
                <ModelErrorMessage Text="" />
            </ColumnValidationSettings>
            <HeaderStyle Width="100px" />
            <ItemStyle Width="100px" />
            </telerik:GridBoundColumn>
        <telerik:GridCheckBoxColumn DataField="Status" DataType="System.Boolean" DefaultInsertValue="" HeaderText="Status" SortExpression="Status" UniqueName="Status" AllowFiltering="false" AllowSorting="false">
            <HeaderStyle Width="40px" />
            <ItemStyle Width="40px" />   
        </telerik:GridCheckBoxColumn>
        <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="column" ButtonType="ImageButton" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you want to delete Member Record?"
           ConfirmTitle="Delete" Visible="false"   >
            <HeaderStyle Width="30px" />
            <ItemStyle Width="30px" />
                </telerik:GridButtonColumn>
    </Columns>
 
    <NestedViewSettings DataSourceID="SqlDataSource2">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="MemberNO" MasterKeyField="MemberNO" />
                </ParentTableRelation>
            </NestedViewSettings>
    <NestedViewTemplate >
<%--             <telerik:RadTabStrip runat="server" ID="TabStrip1" MultiPageID="Multipage1" SelectedIndex="0" Skin="Windows7">
                        <Tabs>
                            <telerik:RadTab runat="server" Text="Member Details" PageViewID="PageView1"></telerik:RadTab>
                        </Tabs>
                    </telerik:RadTabStrip>
            <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="0" RenderSelectedPageOnly="false">
                        <telerik:RadPageView runat="server" ID="PageView1" CssClass="viewWrap" >--%>
        <asp:Panel ID="NestedViewPanel" runat="server" CssClass="viewWrap">
            <div class="contactWrap">     
        <fieldset style="padding: 10px;" class="viewWrap">
              <legend style="padding: 5px;" class="viewWrap"><b>Member Details for:   <%#Eval("FirstName") %> <%#Eval("LastName") %></b></legend>
            <table>
                <tr>
                    <td>
                        <asp:Panel ID="PnlChurchDetails" GroupingText="Church Details" Width="400px" runat="server">
                       <table>
                <tr>
                <td>Member Type:</td>
                <td>
                <asp:Label ID="Label3" Text='<%#Bind("MemberType") %>' runat="server"></asp:Label>
                </td>
               </tr>
                <tr>
                <td>Cell:</td>
                <td>
                <asp:Label ID="LblDCell" Text='<%#Bind("Cell") %>' runat="server"></asp:Label>
                </td>
               </tr>
                <tr>
                <td>Baptism:</td>
                <td>
                <asp:Label ID="LblBaptism" Text='<%#Bind("Baptism") %>' runat="server"></asp:Label>
                    <asp:Label ID="LblDateBaptised" Text='<%#Bind("DateofBaptism") %>' runat="server"></asp:Label>
                    <asp:Label ID="LblPlaceBaptised" Text='<%#Bind("PlaceBaptised") %>' runat="server"></asp:Label>
                </td>
               </tr>
                <tr>
                <td>Confirmed:</td>
                <td>
                <asp:Label ID="LblConfirmation" Text='<%#Bind("Confirmation") %>' runat="server"></asp:Label>
                 <asp:Label ID="LblDateConfirmed" Text='<%#Bind("DateofConfirmation") %>' runat="server"></asp:Label
                 <asp:Label ID="LblPlaceConfirmed" Text='<%#Bind("PlaceConfirmed") %>' runat="server"></asp:Label>       
                    </td>
                </tr>
                           <tr><td>.</td></tr>
                           <tr><td>..</td></tr>
                </table
                </asp:Panel>
                </td>
                    <td>
                        <asp:Panel ID="Panel1" GroupingText="Contact Details" Width="400px" runat="server">
                       <table>
                <tr>
                <td>Location:</td>
                <td>
                <asp:Label ID="Label4" Text='<%#Bind("Location") %>' runat="server"></asp:Label>
                </td>
               </tr>
               <tr>
                <td>LandMark:</td>
                <td>
                <asp:Label ID="Label9" Text='<%#Bind("LocationLandmark") %>' runat="server"></asp:Label>
                </td>
               </tr>
                <tr>
                <td>Address:</td>
                <td>
                <asp:Label ID="Label5" Text='<%#Bind("Address") %>' runat="server"></asp:Label>
                </td>
               </tr>
               <tr>
                <td>Date of Birth:</td>
                <td>
                <asp:Label ID="Label7" Text='<%#Bind("DateOfBirth", "{0:MMM/dd/yyyy}") %>' runat="server"></asp:Label>
                </td>
               </tr>
                <tr>
                <td>Next of Kin:</td>
                <td>
                <asp:Label ID="Label6" Text='<%#Bind("NextofKin") %>' runat="server"></asp:Label>
                </td>
               </tr>
               <tr>
               <td>Next of Kin NO:</td>
                <td>
                <asp:Label ID="Label8" Text='<%#Bind("NextofKinNO") %>' runat="server"></asp:Label>
                </td>
                 </tr>
                 </table>
                </asp:Panel>
                </td>
                <td>
                    <asp:Panel runat="server" ID="PnlMemberImage" GroupingText="" Width="100px">
                        <table>
                            <tr>
                          <td>
                              <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ImagePath") %>' Height="120px" Width="120px" AlternateText="No Picture" />
                              <%-- <asp:Label ID="Label9" Text='<%#Bind("ImagePath") %>' runat="server"></asp:Label>--%>
                       <%--<img src='<%# Page.ResolveUrl("~/H:/Projects/CMS/Images/") + Eval("ImagePath")  %>.jpg' alt="Member Picture" />--%>
                    </td>
                </tr>
                        </table>
                    </asp:Panel>
                </td>
               </tr>
                </table>
</fieldset>
                <%-- </telerik:RadPageView>
                </telerik:RadMultiPage>--%>
                </div>
            </asp:Panel>
    </NestedViewTemplate>
 
<EditFormSettings EditFormType="Template" CaptionFormatString="Edit MemberNO: {0}" CaptionDataField="MemberNO" PopUpSettings-Width="700px" PopUpSettings-Height="450px">
<EditColumn FilterControlAltText="Filter EditCommandColumn column" ButtonType="ImageButton"></EditColumn>
    <FormTemplate>
    <table>
        <tr>
            <td>
                <asp:Label ID="LblEditTitle" runat="server" Text="Title: " style="color: #3399FF" TabIndex="1"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListEditTitle" runat="server" SelectedValue='<%# Bind("Title") %>' Skin="Windows7"
                 DataSource='<%# (new string[] { "Dr", "Mr", "Mrs", "Miss", "Prof", "Other", "Rev" }) %>' AppendDataBoundItems="True" Width="100px">
                 <asp:ListItem Selected="True" Text="Select" Value="">
                  </asp:ListItem>
                  </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LblEditName" runat="server" Text="Name: "  style="color: #3399FF" TabIndex="1"></asp:Label>
            </td>
            <td>
                <telerik:RadTextBox ID="RadTxtEditFirstName" runat="server" Text='<%# Bind("FirstName") %>' Skin="Windows7"></telerik:RadTextBox>
                <br />
                <telerik:RadTextBox ID="RadTxtEditLastName" runat="server" Text='<%# Bind("LastName") %>' Skin="Windows7"></telerik:RadTextBox>
            </td>
           <%-- <td>
                 
            </td>--%>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LblEditDOB" runat="server" Text="Date of Birth:" style="color: #3399FF"></asp:Label>
            </td>
            <td>
                <telerik:RadDatePicker ID="RadDatePickerEditDOB" runat="server" DbSelectedDate='<%# Bind("DateOfBirth") %>' MinDate="01/01/1930"></telerik:RadDatePicker>
            </td>
            <td style="text-align:left">
                <asp:Label ID="LbleditGender" runat="server" Text="Gender:" style="color: #3399FF"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListEditGender" runat="server" SelectedValue='<%# Bind("Gender") %>'
                 DataSource='<%# (new string[] { "Male", "Female", }) %>' AppendDataBoundItems="True" Width="160px" Skin="Windows7">
                 <asp:ListItem Selected="True" Text="Select" Value="">
                  </asp:ListItem>
                  </asp:DropDownList>
            </td>
        </tr>
        <tr>
           <td>
                <asp:Label ID="LblEditOccupation" runat="server" Text="Occupation:" style="color: #3399FF"></asp:Label>
            </td>
            <td>
                <telerik:RadTextBox ID="RadTxtEditOccupation" runat="server" Text='<%# Bind("Occupation") %>' Skin="Windows7"></telerik:RadTextBox>
            </td>
            <td>
                <asp:Label ID="LblEditMaritalStatus" runat="server" Text="Marital Status:" style="color: #3399FF"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListEditMaritalStatus" runat="server" SelectedValue='<%# Bind("MaritalStatus") %>'
                 DataSource='<%# (new string[] { "Married", "Single", "Engaged", "Divorced", "Seperated", "Widow", "Widower"}) %>' AppendDataBoundItems="True" Width="160px">
                 <asp:ListItem Selected="True" Text="Select" Value="">
                  </asp:ListItem>
                  </asp:DropDownList>
            </td>
        </tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr>
            <td>
                <asp:Label ID="LblEditMobileNO" runat="server" Text="Mobile NO: " style="color: #3399FF"></asp:Label>
            </td>
            <td>
<telerik:RadTextBox ID="RadTxtEditTelephoneNO" Runat="server" LabelWidth="64px" Skin="Windows7" TabIndex="9" Width="160px" MaxLength="10" Text='<%# Bind("MobileNO") %>'>
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegExLEditTelephoneNO" runat="server" ControlToValidate="RadTxtEditTelephoneNO" Display="Dynamic" ErrorMessage="telephone no is numbers only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="0\d{9}" ValidationGroup="Check">*</asp:RegularExpressionValidator>
            </td>
            <td>
                <asp:Label ID="LblEditContactNO" runat="server" Text="Contact NO: " style="color: #3399FF"></asp:Label>
            </td>
            <td>
                    <telerik:RadTextBox ID="RadTxtEditContactNO" Runat="server" LabelWidth="64px" Skin="Windows7" TabIndex="10" Width="160px" Text='<%# Bind("ContactNO") %>'>
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegExLContactno" runat="server" ControlToValidate="RadTxtEditContactNO" Display="Dynamic" ErrorMessage="Contact is numbers only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[0-9]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
        </tr>
        <tr>
                <td><asp:Label ID="LblEditEmailAdd" runat="server" Text="Email Address:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtEditEmailAdd" Runat="server" Skin="Windows7" Text='<%# Bind("Email") %>'>
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegExEmail" runat="server" ControlToValidate="RadTxtEditEmailAdd" Display="Dynamic" ErrorMessage="eg: you@yahoo.com" ForeColor="Red" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
                <td><asp:Label ID="LblLocation" runat="server" Text="Location:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtEditLocation" Runat="server" EmptyMessage="enter location" LabelWidth="64px" Skin="Windows7" Width="160px" Height="22px" Text='<%# Bind("Location") %>'>
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="ReqFdLocation" runat="server" ControlToValidate="RadTxtEditLocation" Display="Dynamic" ErrorMessage="Location required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
            </tr>
        <tr>
            <td class="auto-style8"><asp:Label ID="LblLocaationLandmark" runat="server" Text="Location Landmark:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtLocationLandmark" Runat="server" Skin="Windows7" Width="160px" TextMode="MultiLine" Text='<%# Bind("LocationLandmark") %>'>
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="RadTxtLocationLandmark" Display="Dynamic" ErrorMessage="Location Landmark required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                </td>
 
                <td>
                    <asp:Label ID="LblLocation0" runat="server" Text="Address:" style="color: #3399FF"></asp:Label>
                </td>
                <td>
                    <telerik:RadTextBox ID="RadTxtAddress" Runat="server" EmptyMessage="enter address" Height="70px" LabelWidth="64px" Skin="Windows7" Width="160px" TextMode="MultiLine" Text='<%# Bind("Address") %>'>
                    </telerik:RadTextBox>
                </td>
            </tr>
        <tr>
            <td><asp:Label ID="LblNextofKin" runat="server" Text="Next of Kin:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtNKFName" Runat="server" EmptyMessage="enter firstname" LabelWidth="64px" Skin="Windows7" Width="160px" Text='<%# Bind("NextOfKin") %>'>
                    </telerik:RadTextBox>
                    <asp:RequiredFieldValidator ID="ReqFdNKFname" runat="server" ControlToValidate="RadTxtNKFName" Display="Dynamic" ErrorMessage="next of kin name required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegExNKFName" runat="server" ControlToValidate="RadTxtNKFName" Display="Dynamic" ErrorMessage="name should be alphabets only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="^[a-zA-Z -]+$" ValidationGroup="Check">*</asp:RegularExpressionValidator>
                </td>
<td>
                <asp:Label ID="LblNextofKINNO" runat="server" Text=" Next of Kin NO: " style="color: #3399FF"></asp:Label>
            </td>
            <td>
<telerik:RadTextBox ID="RadTxtNextofKinNO" Runat="server" LabelWidth="64px" Skin="Windows7" TabIndex="9" Width="160px" MaxLength="10" Text='<%# Bind("NextofKinNO") %>'>
                    </telerik:RadTextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="RadTxtNextofKinNO" Display="Dynamic" ErrorMessage="telephone no is numbers only" ForeColor="Red" SetFocusOnError="True" ValidationExpression="0\d{9}" ValidationGroup="Check">*</asp:RegularExpressionValidator>
            </td>
 
        </tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr>
         <td><asp:Label ID="LblMembertype" runat="server" Text="Member Type:" style="color: #3399FF"></asp:Label></td>
            <td>
                <asp:DropDownList ID="DropDownListmemberType" runat="server" SelectedValue='<%# Bind("MemberType") %>'
                 AppendDataBoundItems="True" Width="160px" Skin="Windows7">
                 <asp:ListItem Text="Adult" Value="Adult"></asp:ListItem>
                    <asp:ListItem Text="Youth" Value="Youth"></asp:ListItem>
                    <asp:ListItem Text="Children" Value="Children"></asp:ListItem>
                  </asp:DropDownList>
            </td>                   
                </td>
                <td><asp:Label ID="LblCell" runat="server" Text="Cell:" style="color: #3399FF"></asp:Label></td>
                <td >
                  <asp:DropDownList ID="DropDownListClass" runat="server" SelectedValue='<%# Bind("Cell") %>' AppendDataBoundItems="True" Width="70px" Skin="Windows7">
                 <asp:ListItem Text="" Value=""></asp:ListItem>
                      <asp:ListItem Text="Cell1" Value="Cell1"></asp:ListItem>
                    <asp:ListItem Text="Cell2" Value="Cell2"></asp:ListItem>
                  </asp:DropDownList>
                  <asp:Label runat="server" ID="LblEditStatus" Text="Status: " style="color: #3399FF"></asp:Label>
                <asp:DropDownList ID="DropDownListStatus" runat="server" SelectedValue='<%# Bind("Status") %>'
                 DataSource='<%# (new string[] { "True", "False", }) %>' AppendDataBoundItems="True" Width="70px">
                  </asp:DropDownList>
                </td>
            </tr>
        <tr>
                <td class="auto-style9"><asp:Label ID="LblBaptism" runat="server" Text="Baptism:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpBaptism" runat="server" Skin="Windows7" SelectedValue='<%# Bind("Baptism") %>' Width="50px">
                        <Items>
                           <telerik:DropDownListItem runat="server" Text="" Value="" />
                            <telerik:DropDownListItem runat="server" Text="Yes" Value="Yes" />
                            <telerik:DropDownListItem runat="server" Text="No" Value="No" />
                        </Items>
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="RadDrpBaptism" Display="Dynamic" ErrorMessage="Baptism Status required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
               <telerik:RadDatePicker ID="RadDatePickerBaptism" runat="server" Skin="Windows7" Width="100px" DbSelectedDate='<%# Bind("DateofBaptism") %>'></telerik:RadDatePicker>
                     </td>
                   
                <td class="auto-style9"><asp:Label ID="LblConfirmation" runat="server" Text="Confirmed:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadDropDownList ID="RadDrpConfirmed" runat="server" Skin="Windows7" SelectedValue='<%# Bind("Confirmation") %>' Width="50px">
                        <Items>
            <telerik:DropDownListItem runat="server" Text="" Value="" />
                            <telerik:DropDownListItem runat="server" Text="Yes" Value="Yes" />
                            <telerik:DropDownListItem runat="server" Text="No" Value="No" />
                        </Items>
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="RadDrpConfirmed" Display="Dynamic" ErrorMessage="Confirmation Status required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="Check">*</asp:RequiredFieldValidator>
                    <telerik:RadDatePicker ID="RadDatePickerConfirmation" runat="server" Skin="Windows7" Width="100px" DbSelectedDate='<%# Bind("DateofConfirmation") %>'></telerik:RadDatePicker>
                      </td>
            </tr>
        <tr>
            <td class="auto-style8"><asp:Label ID="LblPlaceofBaptism" runat="server" Text="Place of Baptism:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtPlaceofBaptism" Runat="server" EmptyMessage="" Skin="Windows7" TextMode="MultiLine" Text='<%# Bind("PlaceBaptised") %>'>
                    </telerik:RadTextBox>
                </td>
            <td class="auto-style8"><asp:Label ID="LblPlaceConfirmed" runat="server" Text="Place of Confirmation:" style="color: #3399FF"></asp:Label></td>
                <td>
                    <telerik:RadTextBox ID="RadTxtPaceConfrimed" Runat="server" EmptyMessage="" Skin="Windows7" TextMode="MultiLine" Text='<%# Bind("PlaceConfirmed") %>'>
                    </telerik:RadTextBox>
                </td>
        </tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        <tr><td></td></tr>
        </table>
        <table>
        <tr>
        <td >
                <telerik:RadButton ID="btnUpdate" runat="server" Skin="Windows7" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
                    <Icon PrimaryIconCssClass="rbSave" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                </telerik:RadButton>
            </td>
            <td>
             <telerik:RadButton ID="btnCancel" runat="server" Text="Cancel" CausesValidation="False" CommandName="Cancel" Skin="Windows7">
                 <Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
             </telerik:RadButton>              
            </td>
            </tr>
    </table>
    </FormTemplate>
 
<PopUpSettings Width="600px"></PopUpSettings>
</EditFormSettings>
 
<PagerStyle PageSizeControlType="RadComboBox" AlwaysVisible="True" PageSizes="10;20;30;40"></PagerStyle>
</MasterTableView>
<ItemStyle Wrap="False" />
 
<PagerStyle PageSizeControlType="RadComboBox" PageSizes="20;30;40;50;100" AlwaysVisible="True"></PagerStyle>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
    </telerik:RadGrid>
             <%--   </telerik:RadAjaxPanel>--%>
           <%-- <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server">
    </telerik:RadAjaxLoadingPanel>--%>
            </ContentTemplate>
    </asp:UpdatePanel>
    <asp:SqlDataSource ID="MembersRecords" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>" DeleteCommand="DELETE FROM [Members] WHERE [MemberNO] = @MemberNO" InsertCommand="INSERT INTO [Members] ([MemberNO], [Title], [FirstName], [LastName], [DateOfBirth], [Gender], [MemberType], [Society1], [Society2], [Class], [ContactNO], [MobileNO], [Email], [Location], [MaritalStatus], [NextOfKin], [Address]) VALUES (@MemberNO, @Title, @FirstName, @LastName, @DateOfBirth, @Gender, @MemberType, @Society1, @Society2, @Class, @ContactNO, @MobileNO, @Email, @Location, @MaritalStatus, @NextOfKin, @Address)" SelectCommand="SELECT [MemberID], [MemberNO], [Title], UPPER(FirstName)AS FirstName, UPPER(LastName)AS LastName, [DateOfBirth], [Gender], [MemberType], [Society1], [Society2], [Class], [ContactNO], [MobileNO], [Email], [Location], [MaritalStatus], [NextOfKin], [Address], [DateRegistered], [Occupation], [ImageName], [ImagePath], [NextofKinNO], DATEDIFF(hour,DateOfBirth,GETDATE())/8766 AS AGE, [Status], [Cell], [Baptism], [DateofBaptism],  [PlaceBaptised], [Confirmation], [DateofConfirmation], [PlaceConfirmed], [LocationLandmark] FROM [Members] WHERE Status = ('True')" UpdateCommand="UPDATE [Members] SET [Title] = @Title, [FirstName] = @FirstName, [LastName] = @LastName, [DateOfBirth] = @DateOfBirth, [Gender] = @Gender, [MemberType] = @MemberType, [Society1] = @Society1, [Society2] = @Society2, [Class] = @Class, [ContactNO] = @ContactNO, [MobileNO] = @MobileNO, [Email] = @Email, [Location] = @Location, [MaritalStatus] = @MaritalStatus, [NextOfKin] = @NextOfKin, [Address] = @Address, [Occupation] = @Occupation, [NextofKinNO] = @NextofKinNO, [Status] = @Status, [Cell] = @Cell, [Baptism] = @Baptism, [DateofBaptism] = @DateofBaptism, [PlaceBaptised] = @PlaceBaptised, [Confirmation] = @Confirmation, [DateofConfirmation] = @DateofConfirmation, [PlaceConfirmed] = @PlaceConfirmed, [LocationLandmark] = @LocationLandmark WHERE [MemberNO] = @MemberNO">
        <DeleteParameters>
            <asp:Parameter Name="MemberNO" Type="String" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="MemberNO" Type="String" />
            <asp:Parameter Name="Title" Type="String" />
            <asp:Parameter Name="FirstName" Type="String" />
            <asp:Parameter Name="LastName" Type="String" />
            <asp:Parameter DbType="Date" Name="DateOfBirth" />
            <asp:Parameter Name="Gender" Type="String" />
            <asp:Parameter Name="MemberType" Type="String" />
            <asp:Parameter Name="Society1" Type="String" />
            <asp:Parameter Name="Society2" Type="String" />
            <asp:Parameter Name="Class" Type="String" />
            <asp:Parameter Name="ContactNO" Type="String" />
            <asp:Parameter Name="MobileNO" Type="String" />
            <asp:Parameter Name="Email" Type="String" />
            <asp:Parameter Name="Location" Type="String" />
            <asp:Parameter Name="MaritalStatus" Type="String" />
            <asp:Parameter Name="NextOfKin" Type="String" />
            <%--<asp:Parameter Name="Picture" Type="Object" />--%>
            <asp:Parameter Name="Address" Type="String" />
            <asp:Parameter DbType="Date" Name="DateRegistered" />
            <asp:Parameter Name="Occupation" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="Title" Type="String" />
            <asp:Parameter Name="FirstName" Type="String" />
            <asp:Parameter Name="LastName" Type="String" />
            <asp:Parameter DbType="Date" Name="DateOfBirth" />
            <asp:Parameter Name="Gender" Type="String" />
            <asp:Parameter Name="MemberType" Type="String" />
            <asp:Parameter Name="Society1" Type="String" />
            <asp:Parameter Name="Society2" Type="String" />
            <asp:Parameter Name="Class" Type="String" />
            <asp:Parameter Name="ContactNO" Type="String" />
            <asp:Parameter Name="MobileNO" Type="String" />
            <asp:Parameter Name="Email" Type="String" />
            <asp:Parameter Name="Location" Type="String" />
            <asp:Parameter Name="MaritalStatus" Type="String" />
            <asp:Parameter Name="NextOfKin" Type="String" />
            <%--<asp:Parameter Name="Picture" Type="Object" />--%>
            <asp:Parameter Name="Address" Type="String" />
            <%--<asp:Parameter DbType="Date" Name="DateRegistered" />--%>
           <%-- <asp:Parameter Name="Occupation" Type="String" />--%>
           <%-- <asp:Parameter Name="ImageName" Type="String" />
            <asp:Parameter Name="ImagePath" Type="String" />--%>
           <asp:Parameter Name="NextofKinNO" Type="String" />
            <asp:Parameter Name="Status" Type="String" />
            <asp:Parameter Name="Cell" Type="String" />
            <asp:Parameter Name="Baptism" Type="String" />
            <asp:Parameter DbType="Date" Name="DateofBaptism" />
            <asp:Parameter Name="PlaceBaptised" Type="String" />
            <asp:Parameter Name="Confirmation" Type="String" />
            <asp:Parameter DbType="Date" Name="DateofConfirmation" />
            <asp:Parameter Name="PlaceConfirmed" Type="String" />
            <asp:Parameter Name="LocationLandmark" Type="String" />
            <asp:Parameter Name="MemberNO" Type="String" />
        </UpdateParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>" SelectCommand="SELECT [MemberID], [MemberNO], [Title], [FirstName], [LastName], [DateOfBirth], [Gender], [MemberType], [Society1], [Society2], [Class], [ContactNO], [MobileNO], [Email], [Location], [MaritalStatus], [NextOfKin], [Address], [DateRegistered], [Occupation], [ImageName], [ImagePath], [NextofKinNO],  [Cell], [Baptism], [DateofBaptism], [PlaceBaptised], [Confirmation], [DateofConfirmation], [PlaceConfirmed], [LocationLandmark] FROM [Members] where MemberNO=@MemberNO">
<SelectParameters>
            <asp:Parameter Name="MemberNO" />
        </SelectParameters>
</asp:SqlDataSource>
<%--    <asp:SqlDataSource ID="CategoriesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ChurchManagementConnectionString %>"
        SelectCommand="SELECT [OccupationID], [Occupation] FROM [Occupation]"></asp:SqlDataSource>--%>
 
</asp:Content>

thanks again..
0
Angel Petrov
Telerik team
answered on 08 Aug 2013, 08:56 AM
Hello Edd,

After examining the provided code I did not notice anything disturbing which can lead to such behavior. I noticed however that a MinDate before 1980 is set only for the DateOfBirth field. Are there other fields which will use dates before 1980. It would be best to try and isolate the problem in a separate project. This would be of great help as we would be able to inspect the solution locally and pinpoint the culprit.

Regards,
Angel Petrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Edd
Top achievements
Rank 1
answered on 09 Aug 2013, 09:43 AM
Thank you for your assistant but I was able to fix the problem yesterday.
I just changed the min date for the datepicker in the edit form template too and everything is working fine now.
Tags
Calendar
Asked by
Edd
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Edd
Top achievements
Rank 1
Angel Petrov
Telerik team
Share this question
or