473,395 Members | 1,986 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,395 software developers and data experts.

Data-Based User Controls

I'm new to C# and ASP.NET, and wondered if anyone could give me some
pointers on this.

I want a serious of boxes on the left side of my master page. Each box will
display a graphic image followed by any number of links. Each box needs to
correspond to a category in a database. So the number of boxes is not known
in advance.

In addition, the links displayed in each box will be the items in that
category. So the number of links is not known in advance. I'd also like to
display a little message when there are no links for that category.

Does this seem a reasonably efficient way to approach this?

Any tips or code snippets?

Thanks!

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
Oct 11 '06 #1
4 1090
i suggest downloading and stealing the code from the asp.net starter kits
http://asp.net/downloads/starterkits....aspx?tabid=62
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:el**************@TK2MSFTNGP02.phx.gbl...
| I'm new to C# and ASP.NET, and wondered if anyone could give me some
| pointers on this.
|
| I want a serious of boxes on the left side of my master page. Each box
will
| display a graphic image followed by any number of links. Each box needs to
| correspond to a category in a database. So the number of boxes is not
known
| in advance.
|
| In addition, the links displayed in each box will be the items in that
| category. So the number of links is not known in advance. I'd also like to
| display a little message when there are no links for that category.
|
| Does this seem a reasonably efficient way to approach this?
|
| Any tips or code snippets?
|
| Thanks!
|
| --
| Jonathan Wood
| SoftCircuits Programming
| http://www.softcircuits.com
|
|
Oct 11 '06 #2
That's probably a good suggestion at a general level.

But what about my question? Are you saying one of the starter kits displays
blocks like that in the navigation menu? And, if so, which one?

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"Abraham Andres Luna" <br******@hotmail.comwrote in message
news:uo**************@TK2MSFTNGP02.phx.gbl...
>i suggest downloading and stealing the code from the asp.net starter kits
http://asp.net/downloads/starterkits....aspx?tabid=62
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:el**************@TK2MSFTNGP02.phx.gbl...
| I'm new to C# and ASP.NET, and wondered if anyone could give me some
| pointers on this.
|
| I want a serious of boxes on the left side of my master page. Each box
will
| display a graphic image followed by any number of links. Each box needs
to
| correspond to a category in a database. So the number of boxes is not
known
| in advance.
|
| In addition, the links displayed in each box will be the items in that
| category. So the number of links is not known in advance. I'd also like
to
| display a little message when there are no links for that category.
|
| Does this seem a reasonably efficient way to approach this?
|
| Any tips or code snippets?
|
| Thanks!
|
| --
| Jonathan Wood
| SoftCircuits Programming
| http://www.softcircuits.com
|
|


Oct 11 '06 #3

If you're using 1.1 then look at
skmMenu.com

http://skmmenu.com/menu/Download/doc...u.AddMenu.html
It allows you to code up menu items.

...
If you're in 2.0, then the StarterKits are good.


"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:el**************@TK2MSFTNGP02.phx.gbl...
I'm new to C# and ASP.NET, and wondered if anyone could give me some
pointers on this.

I want a serious of boxes on the left side of my master page. Each box
will
display a graphic image followed by any number of links. Each box needs to
correspond to a category in a database. So the number of boxes is not
known
in advance.

In addition, the links displayed in each box will be the items in that
category. So the number of links is not known in advance. I'd also like to
display a little message when there are no links for that category.

Does this seem a reasonably efficient way to approach this?

Any tips or code snippets?

Thanks!

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com


Oct 11 '06 #4
I'm using 2.0. Again, are you saying one of the StarterKits has this sort of
menu?

I've looked at them and downloaded the personal starter kit. But I didn't
see anything like this.

Are you guys just giving me general advice, or does one of the starter kits
relate to my question? And, if so, which one?

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"sloan" <sl***@ipass.netwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>
If you're using 1.1 then look at
skmMenu.com

http://skmmenu.com/menu/Download/doc...u.AddMenu.html
It allows you to code up menu items.

..
If you're in 2.0, then the StarterKits are good.


"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:el**************@TK2MSFTNGP02.phx.gbl...
>I'm new to C# and ASP.NET, and wondered if anyone could give me some
pointers on this.

I want a serious of boxes on the left side of my master page. Each box
will
>display a graphic image followed by any number of links. Each box needs
to
correspond to a category in a database. So the number of boxes is not
known
>in advance.

In addition, the links displayed in each box will be the items in that
category. So the number of links is not known in advance. I'd also like
to
display a little message when there are no links for that category.

Does this seem a reasonably efficient way to approach this?

Any tips or code snippets?

Thanks!

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com



Oct 11 '06 #5

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

Similar topics

3
by: Chris | last post by:
Could someone please provide me an effective means of exporting data from a data set (or data grid) to Excel?
1
by: djozy | last post by:
Please, I want to insert data into SQL Server database. I know for this commmand: SqlCommand myCommand= new SqlCommand("INSERT INTO table (Column1, Column2) " + "Values ('string', 1)",...
1
by: T8 | last post by:
I have a asp.net (framework 1.1) site interfacing against SQL 2000. It runs like a charm 99% of the time but once in a while I get the following "unspecified error". Sometimes it would resolve by...
5
by: DC Gringo | last post by:
I am having a problem reading a simple update to the database. Basically I'm testing a small change to the pubs database -- changing the price of the Busy Executive's Database Guide from 19.99 to...
0
by: pd123 | last post by:
I'm new to C# and .net and I'm trying to create a form that will register users in a sql server database. I have the following code but when I run the code I get an error " The name 'Peter' is...
18
by: Joel Hedlund | last post by:
Hi! The question of type checking/enforcing has bothered me for a while, and since this newsgroup has a wealth of competence subscribed to it, I figured this would be a great way of learning...
18
by: robert | last post by:
Is there a ready made function in numpy/scipy to compute the correlation y=mx+o of an X and Y fast: m, m-err, o, o-err, r-coef,r-coef-err ? Or a formula to to compute the 3 error ranges? ...
8
MMcCarthy
by: MMcCarthy | last post by:
Type MemSize RetVal of VarType() Declaration Char Conversion Boolean 2b vbBoolean(11) CBool() Byte 1b vbByte(17) ...
1
by: Carmine [www.thetotalsite.it] | last post by:
Hi, I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2. I added these lines to the web.config to make the connector.net able to handle the SqlConnection object (and so to bind it to a...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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...

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.