Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
Hi All,

I have use ajax error control for required filed in following way -

XML
<asp:UpdatePanel ID="dateUpdatePanel" runat="server">
                             <ContentTemplate>
                               <asp:TextBox ID="txtCreatedDate" runat="server" CssClass="txt" ></asp:TextBox>
                            </ContentTemplate>
                               </asp:UpdatePanel>
                           <asp:RequiredFieldValidator ID="rfvCreatedDate" runat="server" ErrorMessage="Required field"
                               Display="None" ControlToValidate="txtCreatedDate" />
                           <AjaxTK:ValidatorCalloutExtender ID="vceCreatedDate" TargetControlID="rfvCreatedDate"
                               runat="server" />


but when i am click on jqurey calendar control its give following error

Microsoft JScript runtime error: Unable to get value of the property 'length': object is null or undefined

i have googled and got many solution but its not working, still its give same error.
Posted
Comments
Herman<T>.Instance 16-Oct-12 9:41am    
what if you place rge RequiredFieldValidator and the calloutExtender is placed inside the updatepanel?
omprakash katre 17-Oct-12 0:08am    
thanks for your answer, but after calloutExtender and RequiredFieldValidator placed inside the updatepanel, still its not working.
ZurdoDev 16-Oct-12 10:13am    
Are you sure you do not have some code that is causing the error?
omprakash katre 17-Oct-12 6:17am    
i am usning jquery calender control with calloutExtender and RequiredFieldValidator on textbox txtCreatedDate, but its working on other textboxes.
Sergey Alexandrovich Kryukov 16-Oct-12 13:34pm    
In your post, there is no any code to look at...
--SA

1 solution

Same Error : - Microsoft JScript runtime error: Unable to get value of the property 'click': object is null or undefined
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900