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

Forums / General Discussions / own master page error

own master page error

4 posts, 0 answered
  1. Millaneli
    Millaneli avatar
    20 posts
    Registered:
    08 Nov 2010
    13 Dec 2010
    Link to this post

    Hi,

    I tried to use my own master page (which also works correctly), I used this link http://www.sitefinity.com/4.0/documentation/designers-guide/creating-a-template/creating-a-template-using-master-pages.aspx, but I had a problem.

    Please find attached a screenshot for the exception.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    13 Dec 2010
    Link to this post
    Hello Millaneli,

    You are getting null reference exception from a method inside RouteHandler. Could you send us the steps you have followed and the HTML of the template that yo use, because it is hard to tell you which object is nully only from the error message.

    Greetings,
    Ivan Dimitrov
    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
  3. Millaneli
    Millaneli avatar
    20 posts
    Registered:
    08 Nov 2010
    13 Dec 2010
    Link to this post

    Hi Ivan,

    In fact, under the folder ~ / App_Data / Sitefinity / I have not found the remains of folders WebsiteTemplates / YourTemplate / App_Master /. So I created on my computer, then with VS2010 I included in my project. For verification, I found them in the menu Administration-> Files

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    13 Dec 2010
    Link to this post
    Hello Millaneli,

    The path should be ~ / App_Data / Sitefinity / PageTemplates / App_Master. Actually there is no restriction to use any other folder of the website when you work in Visual Studio, because you register the template through Sitefinity >> Page Templates which allow you to pick any .master file from your project.

    All the best,
    Ivan Dimitrov
    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
4 posts, 0 answered