Shaun Peet
Top achievements
Rank 2
Shaun Peet
asked on 15 Oct 2007, 12:38 AM
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.
7 Answers, 1 is accepted
0
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
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
0
Shaun Peet
Top achievements
Rank 2
answered on 22 Oct 2007, 01:42 PM
<telerik:RadTextBox ID="rtbAuthor" runat="server" Width="120px" Text='<%# Bind("author") %>' Enabled="False" />
The control is inside a FormView.
The control is inside a FormView.
0
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
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
0
Shaun Peet
Top achievements
Rank 2
answered on 25 Oct 2007, 02:57 AM
Instead of using Enabled = "False" I tried ReadOnly = "True" and that solved the problem. Looks better too!
0
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
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
0
UT_DEV
Top achievements
Rank 1
answered on 28 Nov 2007, 10:33 AM
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
Now it is solved adding radinput inside div with onclick handler atached to a div.
WBR
Ilya
0
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
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