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

rad menu blank when populated from a object collection

0 Answers 39 Views
Menu
This is a migrated thread and some comments may be shown as answers.
vikas
Top achievements
Rank 1
vikas asked on 12 Feb 2009, 11:31 PM

Requirements

RadControls version

Q3 2008        

.NET version

3.5

Visual Studio version

2008

programming language

vb.net

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION

I have written a small code to test loding of menu from an object collection (Entity spaces)

RadMenu1.DataFieldID =

"MenID"

 

RadMenu1.DataFieldParentID =

"MenMenIDParent"

 

RadMenu1.DataNavigateUrlField =

"MenNavigateUrl"

 

RadMenu1.DataTextField =

"MenName"

 

 

Dim sp As MenuCollection = New MenuCollection

 

sp.GetMenuForUser(1)

RadMenu1.DataSource = sp

RadMenu1.DataBind()

the code runs but the menu is blank. any suggestion???
I checked my collection it is returning 16 entities/objects.

No answers yet. Maybe you can help?

Tags
Menu
Asked by
vikas
Top achievements
Rank 1
Share this question
or