Welcome Guest Search | Active Topics | Sign In | Register

toolbar with dropdownlist Options
Tim
Posted: Thursday, May 29, 2008 8:39:23 AM
Rank: Newbie
Groups: Member

Joined: 5/27/2008
Posts: 1
Hi,

I found a previous post with this question yet could not find the answer

I have a toolbar a dropdownlist:

<eo:ToolBarItem Type="Custom">
<CustomItem>
<div onclick="eo_CancelBubble(event)">
<asp:DropDownList Runat="server" AutoPostBack="True" ID="DropDownList1">
<asp:ListItem Value="- Select One -"></asp:ListItem>
<asp:ListItem Value="Option 1"></asp:ListItem>
<asp:ListItem Value="Option 2"></asp:ListItem>
<asp:ListItem Value="Option 3"></asp:ListItem>
</asp:DropDownList>
</div>
</CustomItem>
</eo:ToolBarItem>

Selecting a value from the dropdownlist causes a postback which is perfect.

The problem is trying to read what value was selected from the dropdownlist?

Any help would be greatly appreciated.
eo_support
Posted: Thursday, May 29, 2008 11:01:14 AM
Rank: Administration
Groups: Administration

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

Take a look of the sample project. Load the sample project with Visual Studio, then go to Demos -> Tool Bar -> Features -> Custom Item. Check the source code and you will see everything there.

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.