GridEditCommandColumn: the OK button's image is missing...

4 posts, 0 answers
  1. dstj
    dstj avatar
    82 posts
    Member since:
    Oct 2006

    Posted 12 May 2008 Link to this post

    Hi,

    I got a problem using RadGrid v2008.1.415.20: the GridEditCommandColumn OK button's image is missing when adding a new row. It's there when editing an existing row. The cancel image is always present.

    This is both in IE6 and Firefox 2, with all the different skins I tried (Default2006, Default, Web20).

    I'm using the following code to create the RadGrid on a bare page:

    <telerik:RadGrid ID="rgrdTransits" runat="server" OnNeedDataSource="rgrdTransits_NeedDataSource" AutoGenerateColumns="false" Skin="Default2006"
       <MasterTableView DataKeyNames="Id" CommandItemDisplay="Top" EditMode="InPlace"
          <Columns> 
             <telerik:GridBoundColumn DataField="Id" DataType="System.Int32" HeaderText="Id" SortExpression="Id" UniqueName="Id" > 
             </telerik:GridBoundColumn> 
             <telerik:GridBoundColumn DataField="Nom" HeaderText="Nom" SortExpression="Nom" UniqueName="Nom"
             </telerik:GridBoundColumn> 
             <telerik:GridEditCommandColumn ButtonType="ImageButton"
             </telerik:GridEditCommandColumn> 
          </Columns> 
       </MasterTableView> 
    </telerik:RadGrid> 

    Any ideas how to solve this issue ?

    Thanks,

    Dominic.
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 13 May 2008 Link to this post

    Hi dstj,

    Do you get that if you set ButtonType="ImageButton" as below?

        <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
        </telerik:GridEditCommandColumn> 

    I checked that on the following demo but it looks correct there:

    http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/AllEditableColumns/DefaultCS.aspx

    Best wishes,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. dstj
    dstj avatar
    82 posts
    Member since:
    Oct 2006

    Posted 13 May 2008 Link to this post

    Thanks for the reply, but no, it didn't change anything.

    Here's some new info though. I have both v2007.3.1425.20 (Q3 2007) and v2008.1.415.20 (Q1 2008) installed on my machine. The exact same code works perfectly with v2007.3.1425.20 but the OK button`s image is missing in v2008.1.415.20 on add new row.

    Thanks for your help,

    Dominic.
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 16 May 2008 Link to this post

    Hello Dominic,

    This is a know issue which has been addressed in the Q1 2008 SP1 release (2008.1.515) of RadControls for ASP.NET AJAX announced yesterday. Please migrate to this version of our controls and let us know whether everything is OK.

    Best regards,
    Stephen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top