ImageCommand Icon not showing up

  1. #1

    ImageCommand Icon not showing up

    Hello,

    I've added a ImageCommand column to a GridPanel, but its icons are not showing up.


    Here is the code (just like in the example page):




    <ext:CommandColumn Width="100" Header="Toolbar Cmds">
    <Commands>
    <ext:GridCommand Icon="Delete" CommandName="Delete">
    <ToolTip Text="Delete" />
    </ext:GridCommand>
    <ext:CommandSeparator />
    <ext:GridCommand Icon="NoteEdit" CommandName="Edit">
    <ToolTip Text="Edit" />
    </ext:GridCommand>
    </Commands>
    </ext:CommandColumn>








    If I download the example page ("Prepare Commands") it runs fine in my machine. But in my page, the column it's not working. Actually nothing is being rendered in the html of the grid cell.


    One possibly reason is that I'm adding store fields dynamically in the code behind. Not sure if that can be the reason, and if it is, how can I work it? Data is being retrieved from a SQL database (stored procedure).


    I've already tried ResourceManager.RegisterIcon in the Page_Load, but still no success.


    Any help would be appreciated, thanks!


  2. #2

    RE: ImageCommand Icon not showing up

    Anyone, please??
  3. #3

    RE: ImageCommand Icon not showing up

    Hi, Rpipes!

    It sounds strange...

    Can I look at your code? At least we will know it runs fine on my machine or not.
  4. #4

    RE: ImageCommand Icon not showing up

    Hi!

    Tks for your attention.


    Please see code files attached.
  5. #5

    RE: ImageCommand Icon not showing up

    Hi,

    I spent a few minutes trying to get your sample to work, but was unable. I was also unable to reproduce the issue with the column image.


    Please simplify your sample and repost.


    Geoffrey McGill
    Founder
  6. #6

    RE: ImageCommand Icon not showing up

    Hello, RPIRES!

    I have the similar situation with your code.

Similar Threads

  1. Replies: 5
    Last Post: Jul 29, 2016, 7:54 AM
  2. ImageCommand Icon
    By AlexMaslakov in forum 1.x Help
    Replies: 2
    Last Post: Aug 26, 2011, 9:54 AM
  3. Set Icon ImageCommand
    By Maia in forum 1.x Help
    Replies: 1
    Last Post: Sep 06, 2010, 2:03 PM
  4. Replies: 3
    Last Post: Jul 20, 2010, 7:48 PM
  5. [CLOSED] [1.0] ImageCommand Icon
    By state in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 01, 2010, 6:36 PM

Posting Permissions