Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: using custom controls in template.ascx file

  1. #1
    nroopa is offline Junior Member
    Join Date
    Sep 2009
    Posts
    3

    Default using custom controls in template.ascx file

    How can I use custom controls in template.ascx file?
    We have storefront8.1 version.
    Has anybody done this before , please help.


    Thanks.

  2. #2
    MarkC is offline Developer
    Join Date
    Aug 2006
    Posts
    166

    Default

    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.