Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a rad date picker in my application. i want to validate it as it should not be greater than todays date ..

i m new to j query
help me
Posted

For this, why you need jquery? You can directly set the MaxDate property of RadDatePicker in code behind.
See this:
C#
RadDatePicker1.MaxDate = DateTime.Now;//Max date for selection is current date


I hope you understand.
--Amit
 
Share this answer
 
Comments
Member 8388026 4-Jun-13 3:11am    
Ya i got you but the date picker is inside the grids template.
_Amy 4-Jun-13 3:14am    
Go to ItemDataBound(if RadGrid) or RowDataBound(if GridView) Event of Grid, find the RadDatePicker and then set MaxDate property of that RadDatePicker to current date.
--Amit
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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