-
Disabling button on a webform
Hi Guys,
i have 4 buttons on a webform, and i want to disable one button based on the condition.
can you guys help me with code..?
thanks
-
If you want to disable it from the server (i.e., during a postback), set the button's .Enabled property to False. If you want to disable it on the client (i.e., without a postback), you'll have to use JavaScript: http://www.faqts.com/knowledge_base/view.phtml/aid/1747
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
By James Graham in forum .NET
Replies: 5
Last Post: 06-03-2013, 04:54 AM
-
By miss_jess in forum VB Classic
Replies: 1
Last Post: 05-22-2005, 05:42 PM
-
By DrunkinP in forum Java
Replies: 0
Last Post: 03-31-2005, 09:36 AM
-
Replies: 6
Last Post: 04-09-2001, 02:40 PM
-
By Kristof BONNAST in forum Web
Replies: 0
Last Post: 10-25-2000, 06:55 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks