+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Remove telerik.web.ui.webresource.axd

Remove telerik.web.ui.webresource.axd

8 posts, 1 answered
  1. Luke
    Luke avatar
    56 posts
    Registered:
    18 Mar 2013
    19 Apr 2013
    Link to this post
    Thanks for your time.

    I am trying to create a custom theme, but the styles hard-coded into this file telerik.web.ui.webresource.axd are fighting me and being new to ASP.NET and SiteFinity I can't figure out how to escape them. My master file is very rudimentary (ignore the placeholders for my custom resource pathnames.) Any concise suggestions on how I can go about defeating WebResource.axd will be greatly appreciated.

    <%@ Master Language="C#" AutoEventWireup="true" %>
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
    <head runat="server">
        <title></title>
        <!-- test --->
        <link rel="stylesheet" href="some valid pathname to my CSS" />
    </head>
    <body>
        <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
      
            <div id="Header">
                <asp:contentplaceholder id="Header" runat="server" />
            </div>
            <div id="Content">
                <asp:contentplaceholder id="Content" runat="server" />
            </div>
            <div id="Footer">
                <asp:contentplaceholder id="Footer" runat="server" />
            </div>
        </form>
    <script src="(links to my other scripts)"></script>
    </body>
    </html>



  2. Arno
    Arno avatar
    249 posts
    Registered:
    08 Sep 2010
    19 Apr 2013
    Link to this post
    Hi Luke,

    I'm not entirely sure of your scenario, but this link may be of interest to you.
  3. Luke
    Luke avatar
    56 posts
    Registered:
    18 Mar 2013
    22 Apr 2013 in reply to Arno
    Link to this post
    Thanks for the reply Arno. Can you suggest how I'd put the information in that link to use in the context of the scenario I described? Specifically I'm trying to knock out the default styling which SiteFinity applies (even in the absence of any page template at all.)
  4. Luke
    Luke avatar
    56 posts
    Registered:
    18 Mar 2013
    22 Apr 2013
    Link to this post
    Problem partly solved, at least for creating page templates via point-and-click.

    By default, any new page template is built on top of "Basic." Even if when you are creating the page template you select "Don't use template (start from scratch)" the platform still has "Basic" as the default.

    This may be on the assumption that most users creating new page templates will want a minimum boilerplate layout to work from.

    Anyway I think (knock on wood) I've managed to escape WebResource.axd's styles without having to touch a line of code.
    Answered
  5. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    23 Apr 2013 in reply to Luke
    Link to this post
    "Basic" is such a turd, I wish the default theme was actually something nice and awesome so when you fire up a new instance\demo everything looked great.

    Nobody is building their site off of "Basic" as a starting point :)
  6. Luke
    Luke avatar
    56 posts
    Registered:
    18 Mar 2013
    23 Apr 2013 in reply to Steve
    Link to this post
    I wish the default theme was something nice and awesome but also responsive out of the box. I'm still trying to figure out how to get a 3rd party front end framework like Bootstrap CSS, etc. to play nice with SiteFinity, because even with "Basic" turned off I'm still playing whack-a-mole.
  7. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    24 Apr 2013
    Link to this post
    Hello guys,

     Have you checked our template and theme builder? It can help you create themes and templates fast and easy.

    Greetings,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Luke
    Luke avatar
    56 posts
    Registered:
    18 Mar 2013
    24 Apr 2013 in reply to Jen Peleva
    Link to this post
    Thanks for the reply Jen. It might be more appropriate if we were starting a site design from scratch to work from that tool. What I am doing is basically transferring a complete rendered design (static markup, CSS, Javascript libraries) into the SiteFinity framework, so for that I find it easier to work with a master file directly.
8 posts, 1 answered