User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 401,434 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,867 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 173 | Replies: 3
Reply
Join Date: Jul 2008
Posts: 4
Reputation: raghavan2004 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
raghavan2004 raghavan2004 is offline Offline
Newbie Poster

C# or vb.net for asp

  #1  
Jul 25th, 2008
HI friends i am interested in finding out what will be the code for my problem if any one finds it plz help me out.


whwn i click a component and place it on my webform in the property window it says as component1.text (for example whwn considering a textbox it displays as textbox1.text) after placing it.and whwn i place a textbox again it says as textbox2.text .

do anyone know how it is done.

if you know please mail.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: somewhere in West-Africa
Posts: 196
Reputation: jamello is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 6
jamello's Avatar
jamello jamello is offline Offline
Junior Poster

Re: C# or vb.net for asp

  #2  
Jul 25th, 2008
It is doing what its supposed to do.
if you drag a textbox from the toolbox onto your web page, the property page displays its id as textbox1. If you do not change it and add another textbox it would be named as textbox2.

All you need to do is to change the name in the property page for each of the text boxes.
if the first text box is meant to host "user surnnames" just change the textbox1 to "txtsurname"

I hope it is clear.
peace
Reply With Quote  
Join Date: Jul 2008
Posts: 4
Reputation: raghavan2004 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
raghavan2004 raghavan2004 is offline Offline
Newbie Poster

Re: C# or vb.net for asp

  #3  
Jul 25th, 2008
I understand it but how the name is automatically changed to textbox2.text when i click and place in my form i need the coding can u help me in that
Reply With Quote  
Join Date: Apr 2007
Posts: 251
Reputation: greeny_1984 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 9
greeny_1984's Avatar
greeny_1984 greeny_1984 is offline Offline
Posting Whiz in Training

Re: C# or vb.net for asp

  #4  
Jul 25th, 2008
hi,
The property window is working normally.no need to worry abt that.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 12:48 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC