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

Grid question - newbie

2 Answers 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bjørn-Tore
Top achievements
Rank 1
Bjørn-Tore asked on 24 Apr 2011, 09:18 PM
Hi -

Im new to telerik controls.
Im working with the Grid control and have a question regarding master/detail.

There is a black arrow > in each master record line when running the Grid.
Clicking on master records with no details in database displays the "no record" message.
If there was a detail record in the database, it would have been displayed. Working ok.

But is is possible to hide the > arrow on master records that dont have any detail records present?

Second, Hiow do I enable images to replace "edit" and "Delete" text. ?

Please advice.

kind r

Bjørn.

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 25 Apr 2011, 05:36 AM
Hello.

Check the following documentation. It will give you a clear idea of hiding the ExpandCollapse image when there is no record.
Hiding expand/collapse images when no records.

In order to replace "edit" and "delete" text with image you can set the ButtonType as ImageButton .

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

Thanks,
Princy.
0
Bjørn-Tore
Top achievements
Rank 1
answered on 25 Apr 2011, 12:08 PM
Hi -

Thank you very much!

Kind r

Bjørn.
Tags
Grid
Asked by
Bjørn-Tore
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Bjørn-Tore
Top achievements
Rank 1
Share this question
or