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

[Solved] SKIN LOST AFTER CLICKING on <DetailTables> of GRid

5 Answers 138 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 2
Ricky asked on 16 Jun 2008, 07:31 AM
Hi All

I have grid which also have the 

<DetailTables>

<telerik:GridTableView runat="server" DataSourceID="Source1"

DataKeyNames="a,b">

<ParentTableRelation>

<telerik:GridRelationFields DetailKeyField="a" MasterKeyField="b" />

</ParentTableRelation>

<Columns>

So on runtime when i click on the detailed table for the drill down. my grids loosing their skins. because i am using a custom skin and is working fine with all the grid on other pages.

any ideas ...

Thanks
Rick

5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Jun 2008, 03:29 PM
Hi Ricky,

Could you please provide more details about your scenario:

1) how and when are you setting the custom skin;
2) how are you registering the custom CSS file;
3) do you update RadGrid with AJAX? Do you update the grid itself or its parent?

If you are using AJAX, please try turning it off and see whether it makes any difference. In addition, please try setting EnableAjaxSkinRendering="true" for RadGrid.

Let us know how it goes.


All the best,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ricky
Top achievements
Rank 2
answered on 16 Jun 2008, 11:07 PM
Hi Dimo

i am setting my skin for the old skins which i have modified earlier

<

asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

<

link href="../../../RadControls/Grid/Skins/Office2007/Styles.css" rel="stylesheet"

type="text/css" />

........ . . .

In the Grid itself i am setting the skin as

<telerik:RadGrid ID="rgrdFUMSummary" runat="server" Skin="Office2007" Width="780px" Height="400px" GridLines="None"

EnableAJAX="False" DataSourceID="sqldsABC"

AutoGenerateColumns="False" AllowSorting="True" EnableAjaxSkinRendering="true" >

<MasterTableView Dat.....................

I have tried EnableAjaxSkinRendering="true" which did not solved my problem.

Thanks
Ricky


0
Dimo
Telerik team
answered on 17 Jun 2008, 05:49 AM
Hello Ricky,

Is the <link> tag for your skin placed inside the <head> section of the web page? If not, please move it there. If yes, then please provide a live URL for us to look at, or even better, a sample working project reproducing the issue (you will need to open a support ticket in order to attach the project).

Regards,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ricky
Top achievements
Rank 2
answered on 17 Jun 2008, 06:23 AM
Hi

I am using the Master and Content pages. So i have placed the link tag in the header of master page. but it does not make any difference either way. i will try make one working project and send to you.

thanks
Ricky
0
Sebastian
Telerik team
answered on 17 Jun 2008, 06:30 AM
Hello Ricky,

Feel free to send us the sample demo attached to a formal support ticket once you are ready with it. Thus we will do our best to advice you further.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Ricky
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Ricky
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or