How can I use custom controls in template.ascx file?
We have storefront8.1 version.
Has anybody done this before , please help.
Thanks.
How can I use custom controls in template.ascx file?
We have storefront8.1 version.
Has anybody done this before , please help.
Thanks.
That depends, if you're control depends on an <form> instance i wouldn't advise putting it on the template.ascx.
By default there's no form on the template file as there are skinned pages that require no default form tags(showproduct page for example, running under product xmlpackages, as each addtocart button is hosted on it's own <form>) others like the checkout pages has their own form tags.
This is already addressed on the next major release of ML as with support for masterpages and asp.net ajax.