RadDatePicker Validation issue when javascript is diseble on user's machine

2 posts, 0 answers
  1. naimish
    naimish avatar
    31 posts
    Member since:
    Jul 2010

    Posted 04 Oct 2010 Link to this post


    In our project, we have start & End Dates (RadDatePickers), by selcting that dates Radgrid generates reports.

    We are doing validation on server side.
    1> The End date should be greater than start Date.
    2> Date selection should be in the 6 months from current date.

    Everything works well, but problem is that, if user diseble the javascript from their
    machine, then  after that user is not able to select the dates or even type the date in text box of RadDatePicker.

    Our need is that atleast user get a pop message  and could enter or select the date  if javascript is disebled.
  2. Dimo
    Dimo avatar
    8486 posts

    Posted 06 Oct 2010 Link to this post

    Hi Naimish,

    When Javascript is disabled, you cannot pop anything to the user and the RadDatePicker will not work properly. However, you can add a message to the page in a <noscript> tag, so that the user enables Javascript.


    If you need the support a scenario with disabled Javascript, you should use RadInputManager with a DateInputSetting. In this case manually entered values will be submitted to the server successfully.


    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top