Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1035
WebDataMenu with only image buttons (no text)?
posted

I am having trouble trying to use WebDataMenu as a toolbar. I just want a simple toolbar with ONLY image buttons (with no text on the buttons). Anyone have a sample of how to do this? It was possible with the old WebToolbar. This should be simple, correct? What am I doing wrong? Please help!!!

I can not even find an example of how to do this on the on the Samples page (http://samples.infragistics.com/aspnet/Samples/WebDataMenu/Display/VerticalMenu/Default.aspx?cn=data-menu&sid=1b19ba76-eb5b-41e7-b757-716fdb9fbc35).

The control will not let you set Text="" on it.  You must have at least a space.

Here is my attempt:

 <ig:WebDataMenu ID="UWTB_Legend" runat="server" Height="22px"
            EnableScrolling="False">
            <Items>
                <ig:DataMenuItem ImageToolTip="MoveUp" ImageUrl="~/images/Up.gif" Text=" "
                    ToolTip="Move Up" Key="MoveUp">
                </ig:DataMenuItem>
                <ig:DataMenuItem ImageToolTip="MoveDown" ImageUrl="~/images/Down.gif" Text=" "
                    ToolTip="Move Down" Key="MoveDown">
                </ig:DataMenuItem>
            </Items>
            <ClientEvents ItemClick="onUpDownButton" />
        </ig:WebDataMenu>