Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Taking control over a button
Message
From
12/05/2006 09:26:48
 
 
To
11/05/2006 22:43:28
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01120906
Message ID:
01121287
Views:
8
>However, since last night, I finally figured out the proper way of posting these pages and have resolved the issue.

Could you tell the rest of us how you resolved the problem?

~~Bonnie




>>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.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform