alaa ezzat
Top achievements
Rank 1
alaa ezzat
asked on 25 Nov 2009, 12:33 PM
Hi All ,
I need to customize the caption of the rad grid , but can find any way , to do it , the best thing i was Able to reach was customizing the header , is there any way to handle this matter and customize the caption or this is a limitation in the tool
I need to customize the caption of the rad grid , but can find any way , to do it , the best thing i was Able to reach was customizing the header , is there any way to handle this matter and customize the caption or this is a limitation in the tool
8 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 25 Nov 2009, 12:47 PM
Hi,
You can try out the following css settings to achieve the required:
css:
Hope this helps..
Princy.
You can try out the following css settings to achieve the required:
css:
.rgCaption |
{ |
color:Blue; |
background-color:Yellow; |
font:bold 20pt Arial Narrow; |
} |
Hope this helps..
Princy.
0
alaa ezzat
Top achievements
Rank 1
answered on 25 Nov 2009, 04:40 PM
Dear Princy ,
thats great and it did what i need ,
but there is a little problem with this way , i want to assign a different style to detail view in master detail grid , with this way i will not be able to do this , can u help me with a work around please ???
thanks
thats great and it did what i need ,
but there is a little problem with this way , i want to assign a different style to detail view in master detail grid , with this way i will not be able to do this , can u help me with a work around please ???
thanks
0
Princy
Top achievements
Rank 2
answered on 26 Nov 2009, 06:22 AM
Hello,
You can try out the following code to set a different style for the detailtableview caption:
aspx:
css:
Regards
Princy.
You can try out the following code to set a different style for the detailtableview caption:
aspx:
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server"> |
<MasterTableView CssClass="MasterClass" Caption="Master Caption Text" DataSourceID="SqlDataSource1" Name="Master"> |
<DetailTables> |
<telerik:GridTableView CssClass="DetailClass" Caption="Detail Caption Text" DataSourceID="SqlDataSource1" Name="Detail" runat="server"> |
.... |
css:
.MasterClass .rgCaption |
{ |
color: Blue; |
background-color:Yellow; |
font:bold 24pt Arial Narrow; |
} |
.DetailClass .rgCaption |
{ |
color: Yellow; |
background-color:Violet; |
font:bold 18pt Arial Narrow; |
} |
Regards
Princy.
0
alaa ezzat
Top achievements
Rank 1
answered on 30 Nov 2009, 01:07 PM
Princy The Prince
Thanks alot my friend
yes it did the job
Thanks alot my friend
yes it did the job
0
Chummy
Top achievements
Rank 1
answered on 23 Nov 2011, 12:58 PM
Hi Princy, we are using the RAD Grid to display information in SharePoint. Is there a way to customize the Grid "Title" or "Caption" and add an icon to it? Similar to a SharePoint Web Part Header.
Many thanks
Gary
gary@sharepoint360.com
Many thanks
Gary
gary@sharepoint360.com
0
Hello Chummy,
There is nothing SP specific in this case. You could use the previously provided by Princy approach to achieve the required functionality.
All the best,
Maria Ilieva
the Telerik team
There is nothing SP specific in this case. You could use the previously provided by Princy approach to achieve the required functionality.
All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Kulveer
Top achievements
Rank 1
answered on 04 Nov 2016, 05:43 AM
Princy didn't mention how to add image to caption.
Can you let me know how to add an image after the radgrid caption text and also display tooltip on the image
Thanks,
SS
0
Hello,
I've already replied to your query in your ticket with ID: 1072526. I suggest that we continue our conversation on the mentioned thread.
Regards,
Eyup
Telerik by Progress
I've already replied to your query in your ticket with ID: 1072526. I suggest that we continue our conversation on the mentioned thread.
Regards,
Eyup
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.