[CLOSED] Gridcommand doesn't show icon

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Gridcommand doesn't show icon

    I build a gridpanel in code behind and when I add some imagecommand and command columns with gridcommands, some icons are displayed correctly but other doesn't:

    Dim colBol As New CommandColumn
    colBol.ID = "Boletinar" & solicitud.Trim
    colBol.Text = "Boletinar"
    colBol.AutoHeight = True
    colBol.DataIndex = "Boletinar"
    colBol.Align = Alignment.Center
    
    Dim BolCom As New GridCommand
    BolCom.CommandName = "Boletinar"
    BolCom.Icon = Icon.Rosette 'Does not display this icon
    BolCom.Text = "Boletinar"
    colBol.Commands.Add(BolCom)
    
    ModelSeg.Fields.Add("Boletinar")
    GridPanelSeg.ColumnModel.Columns.Add(colBol)
    As an example, Rosette icon is not displayed but Accept icon is displayed correctly, I was testing and most of the icons are not displayed, only a few, wich may be the cause of this behavior??
    Last edited by geoffrey.mcgill; Oct 02, 2012 at 12:35 AM. Reason: [CLOSED]
  2. #2
    I am not sure, but you could try this in your page_load

    ResourceManager1.RegisterIcon(Icon.Rosette )
  3. #3
    Hi @Antonio09,

    I am unable to reproduce it with the last sources. Could you update from the 2.1 branch and retest?

    Hi @blueworld,

    Yes, your suggestion can help. Thank you for your attention!
  4. #4

    Solved!

    Thank you! It seems like @blueworld solution works fine
  5. #5
    I think it should not be required.

    If you have a chance to provide a sample to reproduce, we would investigate.

Similar Threads

  1. [CLOSED] FieldTrigger Icon doesn t show
    By xeo4.it in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 01, 2012, 4:12 PM
  2. [CLOSED] GridCommand icon doesn't display
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 06, 2012, 8:48 AM
  3. [CLOSED] GridPanel GridCommand Icon
    By Timothy in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 09, 2012, 8:01 PM
  4. how to align the Icon in GridCommand to center
    By harshad.jadhav in forum 1.x Help
    Replies: 0
    Last Post: Dec 30, 2010, 10:24 AM
  5. StatusBarStatusConfig doesn't show icon
    By apre in forum 1.x Help
    Replies: 2
    Last Post: Oct 22, 2009, 9:15 AM

Posting Permissions