Possible Bug WIth Disabled Input

8 posts, 0 answers
  1. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 14 Oct 2007 Link to this post

    I'm getting a javascript error "object does not support this property or method" when the mouse hovers over a disabled input control.  This happens with a RadTextBox control.
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 15 Oct 2007 Link to this post

    Hi Shaun,

    Could you post the control declaration here as we were unable to reproduce the problem when we set the Enabled property to false for a RadTextBox control.

    Looking forward to your reply.


    Greetings,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 22 Oct 2007 Link to this post

    <telerik:RadTextBox ID="rtbAuthor" runat="server" Width="120px" Text='<%# Bind("author") %>' Enabled="False" />

    The control is inside a FormView.
  5. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Oct 2007 Link to this post

    Hi Shaun,

    Unfortunately we are still unable to reproduce the problematic behavior you are experiencing. Please review the attached application that follows your guidelines and let us know how it goes.


    Greetings,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 24 Oct 2007 Link to this post

    Instead of using Enabled = "False" I tried ReadOnly = "True" and that solved the problem.  Looks better too!
  7. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 25 Oct 2007 Link to this post

    Hi Shaun,

    We are glad you have found a solution for your scenario though we were unable to reproduce the problem you experienced with the Enabled property in the first place.


    Sincerely yours,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. UT_DEV
    UT_DEV avatar
    20 posts
    Member since:
    Sep 2007

    Posted 28 Nov 2007 Link to this post

    Is possible to get events from radinput like I want to show warning box when users clicks on a specific disabled radinput in gridview control.
    Now it is solved adding radinput  inside div with onclick handler atached to a div.


    WBR
    Ilya
  9. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 29 Nov 2007 Link to this post

    Hi Ilya,

    It seems that you discovered one possible solution for this case. Another option would be to attach the onclick client event of the input control hooking the ItemCreated event of the gridview control and locating the input inside the currently created row. Below is a reference to a project which illustrates how this can be done with RadGrid:

    http://www.telerik.com/community/code-library/submission/b311D-eetbt.aspx

    Best regards,
    Stephen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017