Board index » Visual Studio » Tring to reset all textbox controls on a web form

Tring to reset all textbox controls on a web form

Visual Studio128
Anybody have any idea how to reset all text boxes on web form to ""?





Thanks,



Jim Ciotuszynski


-
 

Re:Tring to reset all textbox controls on a web form

Hi Jim,



I thought it was quiet easy by using the typeof .



http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=kb;en-us;129942



Some text from it:

Using TypeOf as part of an If statement fails when it is used it on a

control that was passed to a server application.

This behavior is by design.



But maybe you was looking for this and was wondering why this did not work

as described.

http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/vblr7/html/vakeytypeof.asp





Cor.









-

Re:Tring to reset all textbox controls on a web form

Yep, thats what I was looking for,



Thanks,

Jim

"Cor" <non@non.com>wrote in message

Quote
Hi Jim,



I thought it was quiet easy by using the typeof .



http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=kb;en-us;129942



Some text from it:

Using TypeOf as part of an If statement fails when it is used it on a

control that was passed to a server application.

This behavior is by design.



But maybe you was looking for this and was wondering why this did not work

as described.



http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/vblr7/html/vakeytypeof.asp





Cor.













-