Clearing Texbox text in ASP.Net MVC
-
Dear All, How can i clear the textboxes ofter a postback. I tried it with code below, but it doesn't work:
ViewData.ModelState.Remove("txtPassword");
Thanks in advance.ViewData.ModelState.Clear();
? Sorry I can't test this, I'm in the middle of and installation at the mo'.Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^] -
ViewData.ModelState.Clear();
? Sorry I can't test this, I'm in the middle of and installation at the mo'.Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^] -
Oh well, worth a punt.
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^] -
Oh well, worth a punt.
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^]