I need some loop mechanism if possible.
structure of wizardstep is something like this
[code]
Street | 1 ReplyKnow the answer? Post it — somebody with the same question will find it here. Sign in to answer this question It is the same account you read, post and publish with — and you will come straight back to this page. |
karthik vPosted Nov 16, 2011, 9:48 AM
As far as my understanding you want to loop through all the textbox controls in the wizardstep
i can you an idea of how this can be achieved.
foreach (Control control in Form.FindControl(wizardname).Controls)
{
switch (control.GetType().ToString())
{
case "System.Web.UI.WebControls.TextBox":
//your operations to be performed
break;
}
Hope this helps