Hi,
Am having 10 RadNumericTextBox to get 10 values am doing the validation on a button _click. When i click on the button it successfully finish the validation and highlights the very first error control and when i move the cursor to the next error value in the RadNumericTextBox was highlighted.
Is there any possibility to show the InvalidStyle-CssClass=classname"?
Dhana
Am having 10 RadNumericTextBox to get 10 values am doing the validation on a button _click. When i click on the button it successfully finish the validation and highlights the very first error control and when i move the cursor to the next error value in the RadNumericTextBox was highlighted.
Is there any possibility to show the InvalidStyle-CssClass=classname"?
Dhana
4 Answers, 1 is accepted
0
Hello lakshmi,
I'm not able to completely understand your request. If you are trying to apply error style for the RadNumericTextBox on ButtonClick event you could use the following approach:
If this is not the required functionality please provide more results on your scenario and the functionality you need to achieve.
Greetings,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I'm not able to completely understand your request. If you are trying to apply error style for the RadNumericTextBox on ButtonClick event you could use the following approach:
<head runat="server"> |
<title>Untitled Page</title> |
<script language="javascript" type="text/javascript"> |
<!-- |
function Button1_onclick() |
{ |
var eventArgs = new Telerik.Web.UI.InputErrorEventArgs( |
null, |
null, |
null, |
null); |
$find("RadNumericTextBox1").raise_error(eventArgs); |
} |
// --> |
</script> |
</head> |
<body> |
<form id="form1" runat="server"> |
<asp:ScriptManager ID="ScriptManager1" runat="server" /> |
<div> |
<telerik:RadNumericTextBox InvalidStyleDuration="3000" ID="RadNumericTextBox1" runat="server"> |
</telerik:RadNumericTextBox><input id="Button1" type="button" value="button" language="javascript" |
onclick="return Button1_onclick()" /> |
</div> |
</form> |
</body> |
If this is not the required functionality please provide more results on your scenario and the functionality you need to achieve.
Greetings,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
![](/forums/images/avatarimages/default.gif)
Roman
Top achievements
Rank 1
answered on 26 Jun 2008, 02:24 PM
Hi.
I have tried to do so... but i got javascript exception:
Telerik.Web.UI is null or not an object.
Could you please explain what should i do ?
0
![](/forums/images/avatarimages/39919b70-532f-465f-8efd-7edb2fc108a71.jpg)
Shinu
Top achievements
Rank 2
answered on 01 Jul 2008, 12:20 PM
Hi Roman,
I have found a forum link which discuss a similar error. Go through it and see whether it is helpful.
Telerik.Web.UI.RadToolTipController is null or not an object
Shinu.
I have found a forum link which discuss a similar error. Go through it and see whether it is helpful.
Telerik.Web.UI.RadToolTipController is null or not an object
Shinu.
0
![](/forums/images/avatarimages/default.gif)
Roman
Top achievements
Rank 1
answered on 03 Jul 2008, 02:22 PM
Thanks for the reply, Shinu.
But seems there is no any control like radtooltipmanager for RadInput.
I think the main reason is coz im using old rad libraries and there is no Telerik.Web.UI namespace.
If that's correct and I should get the last ddl's, let me know.
Roman.
But seems there is no any control like radtooltipmanager for RadInput.
I think the main reason is coz im using old rad libraries and there is no Telerik.Web.UI namespace.
If that's correct and I should get the last ddl's, let me know.
Roman.