473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hidden Textbox


I have a textbox that is being used for a CustomValidator control,
however I would like that textbox to be hidden. If I set the visible
property to false, the CustomValidator will not work.

Any thoughts?
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
1 1397
Not sure if this will work, but can you use the HiddenTextBox from the HTML
tab of your toolbox?
Make sure to set it to run as a server control.

Otherwise you might try putting your standard visible textbox into a div
that is hidden.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Brent Burkart" <br**********@hotmail.com> wrote in message
news:eo****************@tk2msftngp13.phx.gbl...

I have a textbox that is being used for a CustomValidator control,
however I would like that textbox to be hidden. If I set the visible
property to false, the CustomValidator will not work.

Any thoughts?
*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Maurice Mertens | last post by:
Hi, having some troubles with a BOUND textbox. The BOUND (text property) textbox is hidden on the form. Just before I update the database I stopped the code in debug and when I use me.C_ID.text...
3
by: Rajesh | last post by:
Hello all, I have a problem here. I have a procedure called FillForm() where I populate values for some hidden asp:textboxes. But after I do a postback, my values in the textboxes are lost and I...
3
by: neverstill | last post by:
hi- I need to have an asp:TextBox that will allow me to set the type attribute to hidden. I can't seem to find a way to do this. Basically, I have a Wizard application that will show/hide...
3
by: simon | last post by:
I have input html control in my dataGrid. When user click some button I would like to get it's value from codeBehind. <ItemTemplate> ....... <input type=hidden runat=server id="txtExists"...
5
by: Rob T | last post by:
I have a user control that need to have a hidden textbox. (I have some JS that needs to get some info out of it) If I make a standard textbox (<asp:TextBox ID="txtTest" Runat="server" />) in my...
2
by: Rodusa | last post by:
I have a hidden field inside one datagrid which I can't get to make it keep its state after a postback event. Look field: <input type="hidden" id="TxtHiddenItem_id" name="TxtHiddenItem_id"...
1
by: Pieter | last post by:
Hi, Is there a way to link the Hidden-property of a Textbox on a Reporting Services Report to it's Value? When the Value is empty (""), then I want the TextBox be Hidden. In case you don't...
1
by: Jeff User | last post by:
hi all Using C#, .NET1.1. I need to pass a string of text to the final html output and then capture it with java script on the client side. I found that I can place my string in and then...
4
by: minchazo | last post by:
Hello, I've been creating some forms recently in Access 2003 and using hidden textboxes quite a bit. As an example, the visible textbox CasesDone uses the DLookup function to sum the records in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.