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

Forums / Developing with Sitefinity / 3.6 templates.sft or ascx and codebehind

3.6 templates.sft or ascx and codebehind

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    18 Feb 2009
    Link to this post
    Hi,

    Could you explain more about if is necesary to add ".sft" to all templates to be maped by some internal handler or is possible to use ascx. for the new configurator xml for templates.

    mytemplate.sft / mytemplate.cs
    or
    mytemplate.ascx/mytemplate.cs

    Regards

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    18 Feb 2009
    Link to this post
    Hi Pierre,

    If you want to have code behind, your templates should be renamed tomytemplate.ascx / mytemplate.ascx.cs. If you decide to use .ascx extensions you should also add resources files for your templates. We will release a SP in a day or two and an will update our documentation.
    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered