Hi guys, quick question. When I work with asp.net controllers (so say a TextBox or a Label) if I want to get what's inside them I will use the Text property: for asp.net listboxes instead I use the Value property. If I instead, say, I ditch completely the asp.net controllers and use equivalent HTML elements (input, textarea) I have to use the Value attribute when I use them within a asp.net environment (although for the HTML select tag I can still use the Text property). So, in view of the above, is there some kind of rule that tells me when to use what?
Violet_82 89 Posting Whiz in Training
JorgeM 958 Problem Solver Team Colleague Featured Poster
Violet_82 89 Posting Whiz in Training
JorgeM 958 Problem Solver Team Colleague Featured Poster
Violet_82 89 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.