Hi,
Well, in tere you are "hacking the html" in certain way cause it's theonly
way to do that :), using the Attributes what you are setting are the
attributes of the HTML tag that is generated at render of the server side
control.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Daniel Gustafsson" <da****@phosworks.se> wrote in message
news:eu**************@TK2MSFTNGP10.phx.gbl...
Solved it...
http://aspnet.4guysfromrolla.com/art...90402-1.2.aspx
"Daniel Gustafsson" <da****@phosworks.se> wrote in message
news:Ot*************@TK2MSFTNGP10.phx.gbl... Hmm, when a user presses a button in my web-form I want a javascript
alert to popup and asking the user to confirm if he wants to perform the
action or not... I want to be able to do this via C# code (the proper way) instead if hacking the html-code.
I'm guessing this is really simple but I'm all new to this so I could
need a quick pointer.