Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 10th, 2006, 10:40 AM
Authorized User
 
Join Date: Jul 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disabling combobox

Iam using 2 textboxes in my project in which I have applied RegularExpressionValidator controls in order to get the proper date.
There is also a combobox on the same page.The textboxes validations are working fine but at the same time whenever i will get an error message from validation control, I also want to disable my combo box on that same page so that no one can select the items from that combo box. I have searched for the techniques which i used to do in my windows project but those events are not available in ASP.Net 2.0.

I have searched the events like textbox_leave as in VB.NET but its not there.

Can anyone help me out plz?
Any help will be appreciated as before.

Lalit
"Learning is a life long process!"


 
Old July 11th, 2006, 07:28 AM
Registered User
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

maybe you could use this:

TextBox.Attributes['onBlur'] = "javascript:GetElementByID('" + TextBox1.ClientID + "').visibility = hidden";

I haven't understood what exact you want to know, but maybe this helps you






Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling Combobox with value from other Combobox ayazhoda Access VBA 6 June 5th, 2007 04:58 AM
Disabling Refresh mildge Beginning PHP 1 December 22nd, 2003 01:00 PM
Disabling Tabpage rajustha VB How-To 0 December 9th, 2003 10:11 PM
Is there any way of disabling logging? chrislepingwell SQL Server 2000 1 October 9th, 2003 11:52 AM
Disabling browser farhanzia Javascript How-To 1 July 9th, 2003 02:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.