Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Taking control over a button
Message
From
11/05/2006 22:43:28
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01120906
Message ID:
01121204
Views:
7
>Instead of an asp:Button control you could use a regular input button, like this:
>
>
><input id="Button1" type="button" value="button" />
>
If I do that, I loose all the ability to control that button from the code behind.

>If, on the other hand, you want to have programatic control over this button server-side you can simply add the runat="server" attribute on the element and it will become available in your code-behind:

The syntax you showed is an option to have it visible in the code behind. This is great.

However, since last night, I finally figured out the proper way of posting these pages and have resolved the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform