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

Grid decoration is missing

6 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 22 Sep 2008, 02:39 PM
 Hi,

I have used Rad Grid with ajax on one of my aspx page and deployed onto the web server.  It works fine on my development / server boxes.

The above page is called from another website, which is sitting on different domain, and they use JSP. Grid is displayed without any decoration. Add, Update and delete options are displayed as just a link. All the header decoration is missing, header names are displayed. Grid functionality seems to be working fine. I believe the stylesheets links are missing to the Radgrid.

Could you please help to resolve this issue ASAP.
Thanks,
John

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Sep 2008, 02:46 PM
Hello John,

Most probably WebResource.axd are not executed. Can you verify if rendered WebResource.axd urls are accessible?

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
John
Top achievements
Rank 1
answered on 22 Sep 2008, 03:30 PM
Hi Vlad,

I can see this line is added in the web.confg

<

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

Could you please let me know how to verify or access WebResource.axd. This is my fist Telerik aspx page.

Thanks.

0
Vlad
Telerik team
answered on 22 Sep 2008, 03:36 PM
Hello John,

Please check rendered page HTML for <link> tags with WebResource.axd and if these are accesible.

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
John
Top achievements
Rank 1
answered on 22 Sep 2008, 04:44 PM
----------------------URGENT PLEASE--------------------
Hi Vlad,

Looks there is an issue rendering webResource.axd.

1. Is there any other way that I can link the css files directly into the aspx page instead of using webResource. or
2. Is there any way to set path for the below link instead generating automatically.

I was able to rendering webResource.axd when I add href="/MyCompanyName/WebResource.axd. This is because, the other domain website is adding our company name, but when the HTML page rendered got the below path.

<link href="/WebResource.axd?d=1ZpTjbpphmcXeRutlgrpPhxJmRQaqDCL9wQXb0Y2dlegkRv4NfWjCUIYFHew4wXncqotIDgnmHYc40j6zMrOOQ2&amp;t=633523044580000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" /><link href="/WebResource.axd?d=1ZpTjbpphmcXeRutlgrpPhxJmRQaqDCL9wQXb0Y2dleW5VHOy8teGyM2nv21tL_Rs-sxCWwlCITT99csmsa0I6P0roBq3Zgm9yUbZ9u-dxE1&amp;t=633523044580000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

Is it possible to directly link Telerik_stylesheet" to my aspx page.  Where can  I find the Telerik_stylesheet".css files.

Thanks.
John
0
Accepted
Sebastian
Telerik team
answered on 23 Sep 2008, 07:53 AM
Hi John,

How to troubleshoot issues with the embedded web resources you can learn from this topic in the documentation. Alternatively, in case you prefer to disable the embedded resources and register the client scripts/skins manually, consider the approach presented here.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
John
Top achievements
Rank 1
answered on 23 Sep 2008, 11:12 AM
Hi Stephen ,

Thanks for the solution. It resolved my issue.

 <appSettings>
  <!-- Disables the embedded scripts and skins for all RadControls -->
  <add key="Telerik.EnableEmbeddedSkins" value="false"/>
  <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false"/>
  <add key="Telerik.EnableEmbeddedScripts" value="false"/>
 </appSettings>


     <link rel="stylesheet" href="./Skins/Vista/Grid.Vista.css"/>

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="/Scripts/Common/Core.js" />
<asp:ScriptReference Path="/Scripts/Grid/RadGridScripts.js" />
</Scripts>
</asp:ScriptManager>

Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Vlad
Telerik team
John
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or