radinputmanager for raddateinput, raddatepicker?

3 posts, 0 answers
  1. Philip
    Philip avatar
    21 posts
    Member since:
    Nov 2008

    Posted 15 Oct 2009 Link to this post

    I have looked into this old post:


    I would also like to extend functionality to show tooltips for validation errors. However, if I use RadInputManager, I could only show this behaviour using regular MS Textbox controls. From the example on the code on the Telerik blog, I replaced a textbox with a raddateinput and changed the javascript on the onClientDateTxtError event from

                    var eleId = args.get_targetInput().get_id();
                    var ele = $get(eleId);


                    var ele = $get('<%=RadDateInput1.ClientID%>' + '_text');

    Noticed that tooltip doesn't show or validation is not firing..

    Also, being this is an old post, is there something on the current build to allow RadInputManager to work for the RadInput controls (radtextbox, raddateinput, raddatepicker, radmaskedtextbox, radnumerictextbox, etc.)?

                <telerik:DateInputSetting BehaviorID="DateInputSetting1" ErrorMessage="Invalid Date" EmptyMessage="Enter Date in   MM/DD/YYYY" DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" Validation-IsRequired="true" Validation-ValidateOnEvent="All">
                    <ClientEvents OnError="onClientDateTxtError" OnKeyPress="onClientTextChanged" />
                        <telerik:TargetInput ControlID="RadDateInput1" />

    Or is it one thing or the other? Meaning, RadInputManager + ASP.NET textbox   OR   RadInputControls + ASP.NET validation controls

    Sample codes would be appreciated. Thanks!

  2. Philip
    Philip avatar
    21 posts
    Member since:
    Nov 2008

    Posted 09 Nov 2009 Link to this post

    Thanks for the reply. I have another related issue, I moved the javascript code for security reasons to an external .js file:


    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">



    <script type="text/javascript" src="JScript1.js">








    I noticed that the radtooltips are not popping out anymore. When I add the code back inline on the script tag then it works. Is this a known issue? Is there a workaround for this? Thanks.

  3. Martin
    Martin avatar
    833 posts

    Posted 11 Nov 2009 Link to this post

    Hello Philip,

    You should ensure that you reference the controls correctly in the external Javascript file. For example if in the markup you have declaration like this:

    var tooltipManager = $find("<%= RadToolTipManager1.ClientID %>");

    Then in the .js file you can try the following modification:

    var tooltipManager = $find("RadToolTipManager1");

    I hope this helps,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top