A
AFN
I want to have a routine in a page base class that will take all the text
fields on a web form, and then HtmlEncode their values.
I'm having trouble figuring out if I want to loop controls or loop through
server.form?
I'm also having trouble figuring out which ones are text fields (versus,
say, pulldowns)?
I'm also having trouble deciding if I need to pass context to my base class
routine or just use HttpContext.Request in the page base class routine and
then not worry about passing the page context?
Can anyone help me get started?
fields on a web form, and then HtmlEncode their values.
I'm having trouble figuring out if I want to loop controls or loop through
server.form?
I'm also having trouble figuring out which ones are text fields (versus,
say, pulldowns)?
I'm also having trouble deciding if I need to pass context to my base class
routine or just use HttpContext.Request in the page base class routine and
then not worry about passing the page context?
Can anyone help me get started?