Thanks.. but if don't want to place under UserControl Director and create my own directory in share path.... is there a way i can configure it to use the path
Hi. I'm not sure completely but you could try to change the default path to user controls by adding <add key="umbracoUsercontrolsPath" value="bla-bla-bla"/> to the <appSettings> section of your web.config file. (Though francly speaking I cannot imagine a practical reason of doing so and changing the default value.)
Custom User Controls
Hello,
I have created a User control. I want to use the same in my Umbraco.
Can I configure the path where i have to place my ascx files.
You'll want to place it in the Usercontrols directory so its discoverable by Umbraco Macros. All subfolders under usercontrols are also fine.
Thanks.. but if don't want to place under UserControl Director and create my own directory in share path.... is there a way i can configure it to use the path
Hi. I'm not sure completely but you could try to change the default path to user controls by adding <add key="umbracoUsercontrolsPath" value="bla-bla-bla"/> to the <appSettings> section of your web.config file. (Though francly speaking I cannot imagine a practical reason of doing so and changing the default value.)
Hi Prashant
As we all know the umbraco template is .net master file, so you can add usercontrol in template like in this way
Thanks
PTamang
is working on a reply...