Welcome Guest Search | Active Topics | Sign In | Register

Slide Menu Options
Brandon
Posted: Friday, March 22, 2013 5:01:59 PM
Rank: Newbie
Groups: Member

Joined: 3/8/2013
Posts: 5
Hi

I want to use the slide menu in the following way.
Each main item of the slide menu will be a question from the db.
when I click on the question it expands to show the answers in a radio button list.

How would i proceed, meaning what would be the structure of my data, or is there a sample i can follow?

On another note, very impressed with your grid, except when using the checkboxcolumn and checking various rows, using the Grid.GetSelectedItems always returns nothing. I have had to go the long way around by iterating through rows to get what is checked....perhaps look into it.

Thanks in advance.
Estimating to complete total evaluation by mid april.
Looking good for purchase so far, And thanks again for the great support.

kind regards,
Brandon
eo_support
Posted: Friday, March 22, 2013 5:29:42 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We support many different data structures. You can take a look the documentation about data binding here:

http://www.essentialobjects.com/doc/1/menucommon/databinding/databinding_overview.aspx

The documentation is for Menu control, however for SlideMenu control it is exactly the same. Once you got all the items populated successfully from the database, you may need to use raw HTML to render the radio. For example, instead of setting a menu item's HTML to "Red", you will need to set it to

Code: HTML/ASPX
<input type="radio" name="colors">Red</input>


Since the radio button are rendered as raw HTML, you will also need to write JavaScript to collect user selection. Also note that each group of radio button needs to have a different value for their "name" attribute.

As for the Grid, the CheckedItems only rely on the first CheckBoxColumn. So if you have multiple CheckBoxColumns, then you must look through all rows to check value for that cell.

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.