Forum Moderators: open
I know how to open a new window using Javascript and remove toolbars. However I need to do this by clicking an ASP:Button is there a way of running some javascripts from a C# command.
Thanks in advance.
OR
2. add an attribute to your button webcontrol (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolswebcontrolclassattributestopic.asp or search the sdk for WebControl.Attributes).
Either way works just fine. IMHO, I think #2 is easier, but you can decide for yourself.
Chris