Bill O'Neil
Top achievements
Rank 1
Bill O'Neil
asked on 15 Dec 2009, 09:24 PM
Is there any way to alter RadInputManager's VALIDATION settings on the client side?
I am able to do so on the server side:
radIM.GetSettingByBehaviorID("phone").Validation.IsRequired = False
using behavoir ID - where I can toggle the validation on and off. But I'd like to do it on the client side - and the documentation for radInputManager client-side code seems somewhat liimited.
Thanks,
Bill
I am able to do so on the server side:
radIM.GetSettingByBehaviorID("phone").Validation.IsRequired = False
using behavoir ID - where I can toggle the validation on and off. But I'd like to do it on the client side - and the documentation for radInputManager client-side code seems somewhat liimited.
Thanks,
Bill
4 Answers, 1 is accepted
0
Hello Bill,
I am afraid that you observations are right. You can not toggle the IsRequired property of a RadInputManager setting on the client. However, I have forwarded your request to your developers so they can check if this could be done at all.
Best wishes,
Iana
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.
I am afraid that you observations are right. You can not toggle the IsRequired property of a RadInputManager setting on the client. However, I have forwarded your request to your developers so they can check if this could be done at all.
Best wishes,
Iana
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.
0
Chris Salas
Top achievements
Rank 1
answered on 11 Feb 2010, 08:51 PM
Bill,
Did you ever get this figured out? Did you try something like below:
Did you ever get this figured out? Did you try something like below:
$find(RadInputManager).get_inputSettings().RadInputManager_ACHTextBoxBehavior._isRequired = false; |
0
Tim Harker
Top achievements
Rank 2
answered on 18 Mar 2011, 02:47 PM
Here's what I did... The first line's similar to the other guys comments, the second line allowed me to change it back and forth on the client. I noticed if you hard coded it in the HTML, you couldn't change it on the client. Let me know if you need more details.
$find(
"<%= RadInputManager1.ClientID %>"
).get_targetInput(
"<%= txtCheckNumber.ClientID %>"
).get_owner().set_isRequired(
true
);
document.body.onload =
function
() { setTimeout(
function
() { $find(
"<%= RadInputManager1.ClientID %>"
).get_targetInput(
"<%= txtCheckNumber.ClientID %>"
).get_owner().set_isRequired(
true
); }, 0); };
0
Eric
Top achievements
Rank 1
answered on 20 Oct 2011, 05:20 PM
$find(
"<%= RadInputManager1.ClientID %>"
).get_targetInput(
"<%= txtCheckNumber.ClientID %>"
).get_owner().set_isRequired(
true
);
Worked great for me!