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

[Solved] SkinsPath?

15 Answers 461 Views
Grid
This is a migrated thread and some comments may be shown as answers.
LFA
Top achievements
Rank 1
LFA asked on 19 Dec 2007, 09:26 AM
Hi. Is there a new way to set the SkinsPath? The grid does not have it anymore but the summary for the Skin property still says "The folder that holds the skins can be changed using the SkinsPath Property".

15 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 19 Dec 2007, 12:59 PM
Hi LFA,

Thank you for contacting us.

You need to refer the .css of the respective skin within the head tag as demonstrated for example here:

http://www.telerik.com/demos/aspnet/prometheus/Calendar/Examples/Design/CustomHeaderAndFooter/DefaultCS.aspx

More details can be found in Prometheus documentation here.

Indeed, you are right -- the wrong description will be fixed immediately. I have also updated your Telerik points for bringing that to us, thank you!

Best wishes,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
LFA
Top achievements
Rank 1
answered on 22 Dec 2007, 11:49 AM
Thanks I got the css working but I can't make it use the images inside my my folder. It always uses the ones in WebResource.axd.

I followed these instructions:
http://www.telerik.com/help/radcontrols/prometheus/HowSkinsWork.html
I set EnableEmbeddedSkins=false. I created a skin named Default. I placed the css in /Skins/Default/Grid.Default.css
I copied the images from one of the default skins and placed them in /Skins/Default/Grid
In my master page head I added
<link href="/Skins/Default/Grid.Default.css" rel="stylesheet" type="text/css" />

When I view the html source all the grid images still use WebResource.axd. In the previous rad controls all I did was set the skins path and it automatically used those images. In your calendar example I see you set each image manually in the aspx.

Another problem I see is that the images are not loaded from WebResource.axd if the skin is not named like one of the default skins. For example with my skin named "Default" the images are loaded correctly. If I rename that skin to "MySkin" they don't show anymore. I view the html source and copied the url from the image tag and pasted it in my browser. I got an error saying the resource was not found.
0
Vladimir
Top achievements
Rank 1
answered on 22 Dec 2007, 04:59 PM
Hi LFA,

These problems are fixed and the fix will be available in the middle of January 2008. With the new version of the grid you will be able to set ImagesPath property for images rendered directly as <img> elements (sorting, pager images, filter, etc).

Vlad
0
LFA
Top achievements
Rank 1
answered on 02 Jan 2008, 04:18 AM
Hi Konstantin. Can you update my points? I don't see any points added for this. I only see one on 12/28/2007 from another bug report I submitted.
0
Konstantin Petkov
Telerik team
answered on 02 Jan 2008, 06:10 AM
Hello LFA,

Your Telerik points are already updated. Thanks for your feedback!

Best wishes,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Blaine
Top achievements
Rank 1
answered on 20 May 2008, 05:22 AM
Hi Konstantin

Have the same issue with graphics not rendering , including the fact that my grid only sorts on the first column and not any of the others ??
0
Sebastian
Telerik team
answered on 20 May 2008, 07:09 AM
Hi Blaine,

Do you use advanced binding through the NeedDataSource event or data source control as shown in these demos:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/NeedDataSource/DefaultCS.aspx
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/AllEditableColumns/DefaultCS.aspx

This should ensure that operations like sorting/paging/data editing/etc. will function as expected without any additional coding.

In case you disabled the embedded skin for the control (EnableEmbeddedSkins = false), set the ImagesPath property to point to your custom images that should be displayed in the grid table. More info on the matter you can gather from this resource.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Blaine
Top achievements
Rank 1
answered on 20 May 2008, 08:18 AM
Standard binding with Sqldatasource

it filters the first column but thats about it ??

the table has 4 columns which should be filtered (they all do show as headers)

The rendering of the filter icon is absent and so is the paging arrows

Im using the Office 2007 skin
0
Sebastian
Telerik team
answered on 20 May 2008, 08:25 AM
Hi Blaine,

Can you please verify that you are using the latest hotfix Q1 2008 SP1 of RadControls for ASP.NET AJAX (2008.1.515)? In addition, if you use the NET 3.5 build of the assembly, can you please check whether the issue with the filtering feature is eliminated when you set EnableLinqExpressions = false for the grid?

If the source of the problems seems to be elsewhere, please isolate a stripped working version of your project and send it enclosed to a formal support ticket. I will test it locally and will get back to you with more info on the subject.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Blaine
Top achievements
Rank 1
answered on 20 May 2008, 08:40 AM
Hi

My grid does not have the linq property at all??

I purchased the complete download from www.componentsource.com 2 days ago

How do I check the version?

0
Blaine
Top achievements
Rank 1
answered on 20 May 2008, 09:33 AM
Hi Stephen

Herewith code ;



<%@ Control Language="VB" ClassName="Domestic" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<script runat="server">
  
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

    End Sub

    Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs)

    End Sub

    Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
   
       
       
       
    End Sub
</script>
<table>
    <tr>
        <td style="width: 133px; height: 3px;">
            <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Office2007" />
            <asp:RadioButton ID="rbd2d" runat="server" Text="Door to Door" Width="224px" Height="32px" Checked="True" /></td>
    </tr>
</table>
<div style="text-align: left">
    <table>
        <tr>
            <td style="width: 367px">
                <telerik:RadGrid ID="grdPostal" runat="server" DataSourceID="SqlDataSource1" GridLines="None" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" OnNeedDataSource="RadGrid1_NeedDataSource" Skin="Office2007" OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged">
                    <MasterTableView DataSourceID="SqlDataSource1">
                        <RowIndicatorColumn Visible="False">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn Resizable="False" Visible="False">
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <EditFormSettings>
                            <PopUpSettings ScrollBars="None" />
                        </EditFormSettings>
                    </MasterTableView>
                    <ClientSettings>
                        <Selecting AllowRowSelect="True" />
                        <ClientEvents OnRowSelected="RowSelected" />
                    </ClientSettings>
                </telerik:RadGrid></td>
        </tr>
    </table>
</div>
<table border="0" style="border-right: thin solid; border-top: thin solid; font-weight: normal; font-size: 10px; text-transform: uppercase; border-left: thin solid; color: white; border-bottom: thin solid; font-family: Tahoma; background-color: #2461bf" width="480">
    <tr>
        <td style="width: 100px; height: 22px;">
            &nbsp;<asp:Label ID="lblTown" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="XX-Small"></asp:Label></td>
        <td style="width: 100px; height: 22px;">
            <asp:Label ID="lblSuburb" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="XX-Small"></asp:Label></td>
        <td style="width: 210px; height: 22px;">
            <asp:Label ID="lblPostal" runat="server" Font-Bold="True" Font-Names="Tahoma"
                Font-Size="XX-Small"></asp:Label></td>
    </tr>
</table>
<p>
    &nbsp;</p>
<p>
    &nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SiteSqlServer %>"
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT Suburb, PostalCode, StreetCode, Town FROM ParcelPal_PCodes">
    </asp:SqlDataSource>
    &nbsp; &nbsp; &nbsp;&nbsp;
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
</p>
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;











---> The above code only filters the first column and is not derived from a fixed stored procedure but a standard query

0
Blaine
Top achievements
Rank 1
answered on 20 May 2008, 09:34 AM
I have the latest 515 build
0
Sebastian
Telerik team
answered on 20 May 2008, 10:56 AM
Hello Blaine,

Since the information provided so far is not sufficient to locate the cause of the issue and address it, I suggest you prepare a stripped working version of your project (including the grid database or a backup of it) and send it enclosed to a formal support ticket. I will examine it in detail and will advice you further.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Blaine
Top achievements
Rank 1
answered on 20 May 2008, 11:34 AM
Ive narrowed the problem down to letting the telerik control add the data source instead adding it to the page manually. This puts the sqldatasource into the same table tag as the grid (if this makes a difference?)

Ive also noticed that the accuracy on the filter re numbers isnt good ie search for 2100 Equals To doesnt work but Contains does . (If this has something to do with field spaces am not sure.

Also the actual icons for the filter buttons and change page buttons only render when one changes the page by "guessing" where the change button "might" appear... briefly then disappear.

The grid is a default layout that ive inserted without any bells and whistles so not sure what the rendering issue is.

Have tested with IE7 and Firefox ... Same issue.

I might have to email you the ascx and you can drop it into any page you want?? ( oh yeah the grid is on an ascx control page)


0
Sebastian
Telerik team
answered on 20 May 2008, 12:25 PM
Hi Blaine,

To progress in our investigation, I would have to kindly ask you prepare a working subset of your project (including the grid database or a backup of it) and send it enclosed to a formal support ticket (which you can start from your Client.NET account). I will familiarize with your complete code logic and will get around to you with my findings.

Regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
LFA
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
LFA
Top achievements
Rank 1
Vladimir
Top achievements
Rank 1
Blaine
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or