G
Guest
I am coming at the world from the standpoint of a veteran ASP Classic
developer. I am not clear on the advantages of using the ASP.NET control
over standard HTML control.
With the ASP.NET controls the rendered names are changed and I appear to be
limited in what javascript events I can fire. I also can not seem to figure
out how to setup a onsubmit() event.
With standard HTML I can setup any javascript event I want and the names
don't change. I can also use multiple forms and do onsubmit().
To go along with this I haven't figured out the advantage of the validation
controls. It looks to me like it renders a new javascript library file that
is generated dynamically every time the page fires.
In my ASP classic developement I have a set of library files/functions that
handles validation and then displays a nice validation message as well as
changes the label color for input fields.
Many of my forms make use of a great deal of dhtml to hide/show different
elements on the page as needed. I make use of callbacks so I don't ever have
to do a postback because I don't want the redraw and I don't want to have to
try to setup the page (tabs, show/hide elements, expand/collapse parts of
trees) to do validation.
Can I get this kind of flexibility out of asp.net controls? Or should I
stick with HTML controls and using the good old request.form() on post back?
Lastly, the market that I develope for uses browser from IE5 Mac up throught
IE7. So I can't have solutions that don't work on all browsers. (I might be
able to abandon IE5 Mac, but Safari will have to stay).
I would love any input you all have. I am trying to understand this new
world and don't want to sell any part of it short because it doesn't look
like what I am used to.
Thanks,
Shawn Ramirez
www.dynacal.com
developer. I am not clear on the advantages of using the ASP.NET control
over standard HTML control.
With the ASP.NET controls the rendered names are changed and I appear to be
limited in what javascript events I can fire. I also can not seem to figure
out how to setup a onsubmit() event.
With standard HTML I can setup any javascript event I want and the names
don't change. I can also use multiple forms and do onsubmit().
To go along with this I haven't figured out the advantage of the validation
controls. It looks to me like it renders a new javascript library file that
is generated dynamically every time the page fires.
In my ASP classic developement I have a set of library files/functions that
handles validation and then displays a nice validation message as well as
changes the label color for input fields.
Many of my forms make use of a great deal of dhtml to hide/show different
elements on the page as needed. I make use of callbacks so I don't ever have
to do a postback because I don't want the redraw and I don't want to have to
try to setup the page (tabs, show/hide elements, expand/collapse parts of
trees) to do validation.
Can I get this kind of flexibility out of asp.net controls? Or should I
stick with HTML controls and using the good old request.form() on post back?
Lastly, the market that I develope for uses browser from IE5 Mac up throught
IE7. So I can't have solutions that don't work on all browsers. (I might be
able to abandon IE5 Mac, but Safari will have to stay).
I would love any input you all have. I am trying to understand this new
world and don't want to sell any part of it short because it doesn't look
like what I am used to.
Thanks,
Shawn Ramirez
www.dynacal.com