Adding an Image to the Menu

Last post 11-14-2011, 6:33 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  11-10-2011, 6:48 PM 71325

    Adding an Image to the Menu

    I need to have an 'open' button in the menu.  Ive edited the configeration file but the inage 'open.gif' does not display.  Where do I specify this in the configeration file.  At the moment there is a 'blank' where the image should be.
  •  11-11-2011, 6:18 AM 71340 in reply to 71325

    Re: Adding an Image to the Menu

    Hi Allender,
     
    Can you show me how you add the button in the mean? And what menu you are working on? Is the right click context menu?
     
    Keep me posted.
     
    Regards,
     
    Ken
  •  11-11-2011, 3:16 PM 71348 in reply to 71340

    Re: Adding an Image to the Menu

    Thanks.  Ive edited the Compact.config file ans added the two lines -
    <codeviewToolbars>
    <
    item type="g_start" />
    <
    item type="image" name="Open" imagename="~/images/Open" />
    <
    item type="image" name="Save" postback="True" />
    etc....

    and
    <toolbars>
     
    <item type="g_start" />
    <
    item type="image" name="Open" imagename="~/images/Open" />
    <
    item type="image" name="Save" postback="True" />
    etc...
     
    The menu appears as follows
     
  •  11-14-2011, 6:33 AM 71367 in reply to 71348

    Re: Adding an Image to the Menu

    Hi Allender,
     
    Please refer to  http://cutesoft.net/forums/thread/26724.aspx, it should help.
     
    I suggest you add the custom button by code.
     
    Custom button refer http://www.cutesoft.net/asp/document/scr/Add_your_own_custom_button.htm
     
    Regards,
     
    Ken
     
View as RSS news feed in XML