This is a migrated thread and some comments may be shown as answers.

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

3 Answers 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
dstj
Top achievements
Rank 1
dstj asked on 12 May 2008, 08:36 PM
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.

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 13 May 2008, 01:59 PM
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
0
dstj
Top achievements
Rank 1
answered on 13 May 2008, 03:18 PM
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.
0
Sebastian
Telerik team
answered on 16 May 2008, 12:45 PM
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
Tags
Grid
Asked by
dstj
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
dstj
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or