473,405 Members | 2,272 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,405 software developers and data experts.

VB-NET, ASP.NET2.0: Making two textboxes with mirror text content

Steve Kiss
I have a site in which there are two asp textboxes as follows:

<asp:TextBox runat="server" ID="UserName" />
<asp:TextBox id="Email" runat="server" Visible="false" Text="<%UserName.text%>" />

What I want is for the second textbox to be invisible, but have it's text value be the same as the first text-box. Is it possible to do this? What I have above does not work.
Jul 5 '07 #1
1 1690
kenobewan
4,871 Expert 4TB
I would normally assign them the same value in the code but I believe that if you give the full reference it will work, .net 2 is more particular about referencing.
Jul 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Michi Henning | last post by:
Hi, I'm generating both VB and C# code from language-independent interface definitions, which is why I'm raising this issue. (The problem apppears to be somewhat esoteric, but it is real in my...
1
by: vinuta | last post by:
I have three vb classes. First one has a variable whose value i want to use in a function in third vb class which is called by the second vb class. e:g; first.aspx.vb second.aspx.vb third.vb...
5
by: thomas | last post by:
Hello, I wonder if it is possible to include visual basic class to a C++ project within a solution. Thanks Thomas
3
by: Kaypee | last post by:
Howdy all am trying to convert c# app to VB so change alter parts of it. But am getting confused by a couple of bits... at least ;-) a) private point path1(point p1, point p2) { int minX...
6
by: Ryan | last post by:
I have 2 forms, Form1.vb and Form2.vb. In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the option to open Form2.vb in the main explorer window where usually I have the...
2
by: Pon | last post by:
Hi everybody, I posted that on the Avalon ng but it seems there is not so much wpf developpers which use VB. Is there more VB developpers which work with WPF ? I'm trying to do a very simple...
196
by: Don | last post by:
I realize that this may sound like a troll but it is not intended to be. I haven't been reading this group but I've seen a number of vociferious postings lately saying that "vb dotnet doesn't...
8
by: =?Utf-8?B?Umlja0Q=?= | last post by:
Suddenly I find myself unable to open Winforms files in designer mode. I get the message quoted below. I can open other types of vb files like modules, classes and code behind files, but simply...
25
by: Andy B | last post by:
How hard/easy is it to use/learn VB compared to c#?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.