Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# check control type

foreach(Control c in List)
{
  if (c is TextBox)
  {
    ((TextBox)c).Text = "This should be the new text";
  }
}
 
PREVIOUS NEXT
Tagged: #check #control #type
ADD COMMENT
Topic
Name
3+6 =