.NETGURU
Web Custom Control Events and Collections
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Joao.Cardoso
Hi

I'm trying to build a menu Web Custom control.

basically this WCC will be rendering menu items, that can be added in
runtime or design time.

Each item its composed by 3 values. MenuIndex, MenuCaption and
MenuPicture

What I need to do, is to be able to give the option to the developper
to add
new items in design time, as well to be able to add those items in run
time.

My first aproache was to create a Structure with the 3 items, and then
create an array of this structure. But I think I'm not doing things
right...
I would like some advice on how to implement what I described...

Plus, I whant to be able to capture the event of selection on one the
options on the menu to be triggered on the client webform.

How can I do this? I'm kinda lost with this :)

Thanks in advance,

regards
Joao.Cardoso
=============================================
[LusoCoders]- Portuguese Coders
Click here to reveal e-mail address
=============================================

Reply to this message...
 
    
youngm@nationwide.com

Have you checked out the control offerings on ASP.net? They may give you
some ideas (or solutions!)

http://www.asp.net/ControlGallery/default.aspx?Category=32&tabindex=2

"Joao.Cardoso"
<Click here to reveal e-mail address> T
To: "aspngcontrolsvb" <Click here to reveal e-mail address>
cc:

bcc:
06/17/2002 02:24 PM Subject: [aspngcontrolsvb] Web Custom
Please respond to Control Events and Collections
"aspngcontrolsvb"

Hi

I'm trying to build a menu Web Custom control.

basically this WCC will be rendering menu items, that can be added in
runtime or design time.

Each item its composed by 3 values. MenuIndex, MenuCaption and
MenuPicture

What I need to do, is to be able to give the option to the developper
to add
new items in design time, as well to be able to add those items in run
time.

My first aproache was to create a Structure with the 3 items, and then
create an array of this structure. But I think I'm not doing things
right...
I would like some advice on how to implement what I described...

Plus, I whant to be able to capture the event of selection on one the
options on the menu to be triggered on the client webform.

How can I do this? I'm kinda lost with this :)

Thanks in advance,

regards
Joao.Cardoso
=============================================
[LusoCoders]- Portuguese Coders
Click here to reveal e-mail address
=============================================

| [aspngcontrolsvb] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification