Solved

where to find asp.net control declaration syntax - complete reference

Posted on 2009-05-11
6
423 Views
Last Modified: 2013-11-26
I am learning ASP.NET but am getting frustrated as I can't find anywhere a complete reference on the declarative syntax for the web controls.

Say I want to declare a listbox, for example, in an *.aspx file

I type

<asp:ListBox runat="server" id="listbox1".....

but what attributes am I allowed to use next ?
how do I spell them?
what values can they take?

I know roughly what I want, but if I were using HTML thered be 1001 references on the web that gave me all the possible attributes for every tag.

If I look up ListBox in the VisualStudio documentation, II get all the members, properties, events etc. for the ListBox CLASS in a CODING LANGUAGE (like C# or VB.net).

Fine, but I want the ASP.NET DECLARATIVE syntax, the stuff that goes into the aspx file instead of (X)HTML !!

I'm sure I'm just being dulll and someone will point me the way to the obvious place. That's what i'm hoping anyhow.....
0
Comment
Question by:zorba111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 

Author Comment

by:zorba111
ID: 24359477
When one get angry enough, sometimes one finds a way :-)
ok, this (and its sub-sections) looks like a better attempt than what I've been finding before....

http://msdn.microsoft.com/en-us/library/zfzfkea6.aspx

points awarded for any improvements
ie. better laid out, or more comprehensive version?
0
 
LVL 11

Accepted Solution

by:
Muhammad Ousama Ghazali earned 250 total points
ID: 24359634
I think you have already found the best resource available on the topic as it is from the authors/developers (Microsoft/MSDN) of the ASP.NET itself
0
 
LVL 9

Assisted Solution

by:tillgeffken
tillgeffken earned 250 total points
ID: 24359702
When using Visual Studio it should give you suggestions about the available properties and the type of value they expect (IntelliSense) as you type.

Most of the properties and events of standard ASP.Net controls are rather self-explanatory. For the ones that aren't googling them like "ASP.Net <ControlName> <PropertyName>" will most likely give you some valid results, most of the time MSDN which has good examples.

If you're learning ASP.Net you might want to consider getting a good book that walks you through with example projects.

Good Luck!
0
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 

Author Comment

by:zorba111
ID: 24363408
The book I'm using isn't bad: "Pro ASP.NET 3.5 in C# 2008" (third edition), though I've found a few errors in the text and sample code. But you'd expect that in 1300+ pages the author isn't going to have time to double check everything....
0
 

Author Comment

by:zorba111
ID: 24363419
any advances on the msdn pages ?
0
 

Author Closing Comment

by:zorba111
ID: 31580342
free points basically! I answered the Q. myself but want to award points to say thank you for your interest
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question