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...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com