Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Load control template from 14 hive in SharePoint 2013

$
0
0

Hello. I've a problem with Solution migration to SP2013.

My solution instaled in сompatibility mode (hive 14). 
Solution creates a Custom Content Type.
Template locates in \14\TEMPLATE\CONTROLTEMPLATES\MyField.ascx

When I try to get Control from TemplateContainer, I've got Nothing.

If I copy temlate to "\15\TEMPLATE\CONTROLTEMPLATES\MyField.ascx" TemplateContainer.FindControl() works fine.

So, question is - how can I load template from 14 hive?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>