More in this section
Forums / 3.x Pre-release forums (retired) / User controls in Template fails

User controls in Template fails

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    30 Dec 2006
    Link to this post
    This may have been addressed already. However, if you add a user control to a template and then try to edit the page it fails with:

    This overload cannot be used when loading User Control (.ascx file). Use LoadControl(Page page) instead.

    This occurs regardless of the form tag.

    Sincerely,

    Ben

  2. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    30 Dec 2006
    Link to this post
    Just to clarify. A UserControl from the toolbox added to a Template using the "Pages/Templates" section of SF v3.
  3. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    03 Jan 2007
    Link to this post
    Hi Ben,

    Thank you very much for the requested issue. It has already been fixed and should work fine in the next Sitefinity release.

    Sincerely yours,
    Vassil Daskalov
    the telerik team
Register for webinar
3 posts, 0 answered