Author: korssane | Posted on: 3/9/2010 10:50:57 PM | Views : 366

hi all i am using this code to reset all my textboxes and Dropdowmlists after the button is clicked:
void resetField(object myObj)
    {
        //RadioButton rl;
        string temp = myObj.GetType().ToString();
        switch (myObj.GetType().ToString())
        {
            case "System.Web.UI.WebControls.TextBox":
                ((TextBox)myObj).Text = "";
                break;
          
            case "System.Web.UI.WebControls.DropDow ...

Go to the complete details ...