Click here to Skip to main content
16,004,782 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi..
Im using timepicker for my application and at runtime,i got error as "Microsoft JScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer." How to solve this...guide soon!
Posted
Comments
Devang Vaja 13-Sep-12 1:44am    
Priya ji can u elaborate Your code???
Sergey Alexandrovich Kryukov 13-Sep-12 1:54am    
Voted 1. Isn't that obvious: if you have a runtime error, one needs to know in which line of code, as a minimum?
And this post is not even a question. Do you really need some help, or just having fun? :-)
--SA
Priyaaammu 13-Sep-12 2:19am    
Thanks for your reply...
Im using timepicker control by adding Ajaxified dll reference in my web application. While running,im getting javascript error as Microsoft JScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: y
Actual value was 291.5.".
and "Microsoft JScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: y
Actual value was 329.5."

Its my design page,
<asp:TextBox ID="txt1" runat="server">
<Ajaxified:TimePicker ID="timepicker1" runat="server" TargetControlID="txt1"CloseOnSelection="true">
<asp:TextBox ID="txt2" runat="server"> <Ajaxified:TimePicker ID="timepicker2" runat="server" TargetControlID="txt2" CloseOnSelection="true"/>

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