Is there a way that i can clear all controls from radwizard at once???
0
Rumen
Telerik team
answered on 13 Feb 2019, 02:53 PM
Hello,
There is no such direct method to get the RadTextBox collection, but you can try the following approach to meet your scenario:
function GetRadTextBoxes()
{
var allRadTextBoxes = [];
var allRadControls = $telerik.radControls;
for (var i = 0; i < allRadControls.length; i++)
{
var element = allRadControls[i];
var isRadTextBox = element instanceof Telerik.Web.UI.RadTextBox;
if (isRadTextBox)
{
Array.add(allRadTextBoxes, element);
}
}
alert(allRadTextBoxes.length);
}
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.