Welcome Guest Search | Active Topics | Sign In | Register

Databinding menu using asp:ObjectDataSource Options
Johan
Posted: Monday, November 12, 2007 9:39:49 AM
Rank: Newbie
Groups: Member

Joined: 11/12/2007
Posts: 3
Hi

Sorry if this is a stupid question, I've only been using .Net for about a week!
I'm using vb.

Is it possible to populate a menu from a asp:ObjectDataSource?

If so, how would one go about this?
eo_support
Posted: Monday, November 12, 2007 9:44:41 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Johan,

Unfortunately no. However you can use an array of objects to populate the menu. In order to do so, you would need to define one or more DataBinding object to explicitly specify which object property goes to which menu item property. You can find detailed explanation at here:

http://www.essentialobjects.com/ViewDoc.aspx?t=MenuCommon%2fDataBinding%2fpopulate_array.html

Note you won't be able to populate multiple levels using this way since the array is one dimensional.

Thanks
Johan
Posted: Monday, November 12, 2007 11:48:26 AM
Rank: Newbie
Groups: Member

Joined: 11/12/2007
Posts: 3
Sorry, like I said, newbie to .NET

I am trying to create a dataset from a SQL Data connection. I have a .xsd file with a tableadapter with a Fill and GetData() query. For some reason I just can't figure this out tonight.

Can you help?
eo_support
Posted: Monday, November 12, 2007 11:59:11 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Johan,

We won't be able to help you on your .xsd, fill and GetData part. However if you already have the DataSet and is trying to bind the data set to our controls and need some help on that, we would be happy to tell you where to look. Sorry that our support is only limited to our product.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.