This is a migrated thread and some comments may be shown as answers.

[Solved] Binding a control to a System.Web.UI.WebControl.Menu

0 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jackie Gleason
Top achievements
Rank 1
Jackie Gleason asked on 14 Mar 2010, 04:32 AM
Hey everyone,

I am a little new to your product, however, I am trying to use one of your controls in place of the above mentioned class. The problem I am having is there is some 3rd party code that looks like this...

public void PopulateStoreMenu(Menu ctrlMenu); 

As you can tell it adds all the information to the Menu object. Now assuming I don't have access to the source code is there a way to...

A.) Use a control that extends the Menu class

or

B.) Bind data to the control some other way

I was thinking maybe I could use Linq on the Menu and bind it to that, however, I am a Linq newbie so advice would need to be given.

Thanks in advance guys!

Jackie

P.S. I posted this here because I wasn't sure which control to post it under :-)


No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Jackie Gleason
Top achievements
Rank 1
Share this question
or