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

Custom skin is not applied proper in 2009.1.527.35 telerik version

6 Answers 79 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Jignesh
Top achievements
Rank 1
Jignesh asked on 20 Jul 2010, 01:48 PM
Hello Friends,


I created one new custom skin for grid from http://stylebuilder.telerik.com/New.aspx.Currently i am using telerik dll version is  2009.1.527.35 and dll size is 12.9 MB.When i apply custom skin in my application than pager and column filter icon is not display proper.
when i add  2010.1.519.35 (size is 15.4 MB) version dll in my application than pager and column filter issue is solved.
but i don't need to apply 2010.1.519.35 version dll and i need custom skin changes with proper layout.

What i will do?

Pls help me.
Thanks & Regards
Jignesh Patel


6 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 23 Jul 2010, 09:18 AM
Hi Jignesh,

Please post a sample that demonstrates the problem -- containing at least the skin that you created in a working condition.

Greetings,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jignesh
Top achievements
Rank 1
answered on 23 Jul 2010, 04:31 PM
Hello Alex

Thanks for reply.
 Please find the attached 2 screen shot with(Current Version.) and without issue(New Version).
Same version issue i have for other telerik control like calendar,FormDecorator,FileUpload,Grid.
This is the sample for grid.In that i created "sampletest" custom skin.
My sample aspx page code is :
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="App_Themes/Theme/sampletest/Calendar.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/ComboBox.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Filter.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/grid.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Input.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Menu.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Slider.sampletest.css"   rel="stylesheet" type="text/css" />

</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="ScriptManager1">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadGrid ID="dg" runat="server" AllowSorting="True" Skin="sampletest"
            AllowFilteringByColumn="true" PageSize="5"  AllowPaging="true" AutoGenerateColumns="false">
            <MasterTableView GroupLoadMode="Client" TableLayout="Fixed" ClientDataKeyNames="Name" DataKeyNames="Name">
                <Columns>
                    <telerik:GridBoundColumn DataField="Name" SortExpression="Name" HeaderText="Name" >
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
--------------------------------------------------------------------------------
aspx.vb code is

Imports System.Data
Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            BindData(True)
        End If
    End Sub
    Private Sub BindData(ByVal bind As Boolean)
        Dim dt As New DataTable
        dt.Columns.Add("Name")
        Dim dr As DataRow
        Dim i As Integer
        For i = 0 To 20
            dr = dt.NewRow()
            dr("Name") = "Jignesh Patel" & i
            dt.Rows.Add(dr)
        Next
        dg.DataSource = dt
        If bind Then
            dg.DataBind()
        End If
    End Sub

    Protected Sub dg_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles dg.NeedDataSource
        BindData(False)
    End Sub

   
End Class


Pls help me i need custom skin and i don't want to upgrade new version dll.
or any alternate solution according to my current version i will create custom skin?

Thanks in advance.
Jignesh Patel



0
Jignesh
Top achievements
Rank 1
answered on 23 Jul 2010, 04:31 PM
Hello Alex

Thanks for reply.
 Please find the attached 2 screen shot with(Current Version.) and without issue(New Version).
Same version issue i have for other telerik control like calendar,FormDecorator,FileUpload,Grid.
This is the sample for grid.In that i created "sampletest" custom skin.
My sample aspx page code is :
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="App_Themes/Theme/sampletest/Calendar.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/ComboBox.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Filter.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/grid.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Input.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Menu.sampletest.css"   rel="stylesheet" type="text/css" />
    <link href="App_Themes/Theme/sampletest/Slider.sampletest.css"   rel="stylesheet" type="text/css" />

</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="ScriptManager1">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadGrid ID="dg" runat="server" AllowSorting="True" Skin="sampletest"
            AllowFilteringByColumn="true" PageSize="5"  AllowPaging="true" AutoGenerateColumns="false">
            <MasterTableView GroupLoadMode="Client" TableLayout="Fixed" ClientDataKeyNames="Name" DataKeyNames="Name">
                <Columns>
                    <telerik:GridBoundColumn DataField="Name" SortExpression="Name" HeaderText="Name" >
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
--------------------------------------------------------------------------------
aspx.vb code is

Imports System.Data
Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            BindData(True)
        End If
    End Sub
    Private Sub BindData(ByVal bind As Boolean)
        Dim dt As New DataTable
        dt.Columns.Add("Name")
        Dim dr As DataRow
        Dim i As Integer
        For i = 0 To 20
            dr = dt.NewRow()
            dr("Name") = "Jignesh Patel" & i
            dt.Rows.Add(dr)
        Next
        dg.DataSource = dt
        If bind Then
            dg.DataBind()
        End If
    End Sub

    Protected Sub dg_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles dg.NeedDataSource
        BindData(False)
    End Sub

   
End Class


Pls help me i need custom skin and i don't want to upgrade new version dll.
or any alternate solution according to my current version i will create custom skin?

Thanks in advance.
Jignesh Patel


0
Kamen Bundev
Telerik team
answered on 27 Jul 2010, 09:33 AM
Hi Jignesh,

Can you somehow send a sample project with this issue isolated so that we can take a look at it. You keep your CSS files in a theme folder but it doesn't look like you use any themes (unless you've set the theme in your web.config). We also want to look at the CSS you've got out of Visual Style Builder, so it seems a sample project is the best option.

Best wishes,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Julianna Bielawski
Top achievements
Rank 1
answered on 27 Jul 2010, 10:20 AM
Hello Kamen,
 
Thanks for reply. Due to not able to upload my project from this blog here i am providing you the link of site where i had uploaded my sample project file (DemoProject.rar) with skin and all which i m using. Kindly request you to download it from link. Or provide me specific email where i can send my sample project.

http://www.filefactory.com/file/b2bead0/n/DemoProject.rar

Thank you again for your prompt reply. I am happy to have prompt reply for demo project too...
`
You Have A Nice Day...!!!!

Thanks,
Jignesh Patel

0
Kamen Bundev
Telerik team
answered on 30 Jul 2010, 11:18 AM
Hi Julianna,

The problem is that from Q1 2010 RadGrid has a base stylesheet which doesn't get included in the generated by Visual Style Builder skins. The fix is to use the base stylesheet from Q1 2010 together with your generated skin. I've attached your project with the included said base stylesheet in the theme folder and in the aspx.

All the best,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Visual Style Builder
Asked by
Jignesh
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Jignesh
Top achievements
Rank 1
Kamen Bundev
Telerik team
Julianna Bielawski
Top achievements
Rank 1
Share this question
or