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

ASP.NET rookie needs help finding control data

I'm new to ASP.NET and fairly inexperienced with web development in general,
but I've been a professional software dev for over 10 years, C++, Unix and
windows, C# the past 4 years.

I've been working on a personal ASP.NET project, basically as a learning
tool and I have a major issue which is really really getting on my nerves.

I'm creating a web application in ASP.NET 2.0 which dynamically populates a
table with text and text boxes. This table has two columns; in the left colum
are fields labelling the text boxes on the right column.

After post back, I cannot for the life of me find the values that were
entered into the text boxes. When I turn tracing on, I see in the 'Form
Collection' that my values have in fact been kept via ViewState, but when I
go into the Table object, the 'rows' are empty.

I'm sure this is going to be a difficult one to diagnose via this post as it
appears to be pretty vague, bug perhaps if you can explain to me how to find
a control by either the control ID or by the Unique ID? The Unique ID is
shown in the trace output. I've tried using a debugger and examined the
Table object in a watch window, but there are a million nodes on that.

Please help!! This has been keeping me up at night. It seems like such a
simple friggin thing.
--
Jaan
Sep 20 '06 #1
2 1141
Actually, I'm not sure if I'm reading the Trace log correctly. I don't know
if I'm seeing what was on the form, or if I'm seeing the viewstate info.
Anyway, I've been looking around the web and apparently there's a bug in
ASP.NET 2.0 in regards to the text boxes.
If anyone can elaborate on this I'd appreciate it. I'll try to do the same.

--
Jaan
"jrett" wrote:
I'm new to ASP.NET and fairly inexperienced with web development in general,
but I've been a professional software dev for over 10 years, C++, Unix and
windows, C# the past 4 years.

I've been working on a personal ASP.NET project, basically as a learning
tool and I have a major issue which is really really getting on my nerves.

I'm creating a web application in ASP.NET 2.0 which dynamically populates a
table with text and text boxes. This table has two columns; in the left colum
are fields labelling the text boxes on the right column.

After post back, I cannot for the life of me find the values that were
entered into the text boxes. When I turn tracing on, I see in the 'Form
Collection' that my values have in fact been kept via ViewState, but when I
go into the Table object, the 'rows' are empty.

I'm sure this is going to be a difficult one to diagnose via this post as it
appears to be pretty vague, bug perhaps if you can explain to me how to find
a control by either the control ID or by the Unique ID? The Unique ID is
shown in the trace output. I've tried using a debugger and examined the
Table object in a watch window, but there are a million nodes on that.

Please help!! This has been keeping me up at night. It seems like such a
simple friggin thing.
--
Jaan
Sep 20 '06 #2
jrett wrote:
I'm new to ASP.NET
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Sep 20 '06 #3

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

Similar topics

12
by: Don Bruder | last post by:
A week or two ago, I asked here about porting Python to C. Got some good answers (Note 1) but now I've got another question. Actually, more a request for clarification of a topic that both the...
8
by: Foxy Kav | last post by:
Hi everyone, Im currently doing first year UNI, taking a programming course in C++, for one project i have to create a simple array manipulator... that i have done, but i cant figure out how to...
7
by: Sharon | last post by:
Hiya I have a small question, I saw this piece of code somewhere (it's for creating a customized context menu) and I was wondering: Why is it that the STYLE and SCRIPT-tags are broken up into...
3
by: theKirk | last post by:
using Visual Studio 2005 C# ASP.NET I know there has to be a simple way to do this....I want to use C# in a code behind for aspx. Populate a GridView from an xml file Add Fields to the...
0
by: eric | last post by:
I am working on a project that needs to have a scrollable display area. In this area I want to put text and a bar graph. I have looked at all of the tutorials I can find and can "paint" onto a...
3
by: Dst | last post by:
Hi i'm trying to make a very simple web site using visual studio 2005. I'm completely noob at this so i need some pointers to get me started. As i understand frames should not be used in...
191
by: Xah Lee | last post by:
Software Needs Philosophers by Steve Yegge, 2006-04-15. Software needs philosophers. This thought has been nagging at me for a year now, and recently it's been growing like a tumor. One...
4
by: jrett | last post by:
I'm new to ASP.NET and fairly inexperienced with web development in general, but I've been a professional software dev for over 10 years, C++, Unix and windows, C# the past 4 years. I've been...
2
by: asgard0422 | last post by:
i am just starting c++ few weeks ago, and i am facing a matrix problem now. the program has to be built so that the user can select the size of the matrix but it will only be odd numbers.such as...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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.