Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sajid Riaz 142 posts 165 karma points
    Dec 13, 2010 @ 14:49
    Sajid Riaz
    0

    User control not showing any asp.net controls in version 4.5.2

    Hi,

    I added a .NET usercontrol to my umbraco site. However umbraco does not seem to render any of the asp:textbox or asp:label controls.

    is there something I have to update in the config.?

     

    I am running on hosting environment and under .net 2.  NOT .net 2 Integrated Pipeline.

      if I change to .net 2 Integrated Pipeline the whole site gets messed up.

     

    thanks

    Sajid

     

  • Dan 1288 posts 3921 karma points c-trib
    Dec 13, 2010 @ 14:57
    Dan
    1

    Hi Sajid,

    It may be a silly question, but do you have a <form runat="server"></form> tag around the macro which renders the usercontrols?

  • Sajid Riaz 142 posts 165 karma points
    Dec 13, 2010 @ 14:59
    Sajid Riaz
    0

    Dan,

    thanks Ithink I may have forgotten the most basic of things.

    will check this in a bit.

    thanks

  • Sascha Wolter 615 posts 1101 karma points
    Dec 14, 2010 @ 01:16
    Sascha Wolter
    0

    Hey Sajid,

    I assume you just made a small mistake when you said that you are running Umbraco 4.5.2 with .Net 2? That should not be possible, just wanted to clarify that bit not that it leads to some confusion.

    Cheers,

    Sascha

  • Sajid Riaz 142 posts 165 karma points
    Dec 14, 2010 @ 11:31
    Sajid Riaz
    0

    Hey Sascha,

    version 4.5.2  and .net 3.5. running under .net 2.....

    yes running under .net2 NOT .net integrated.

    when I installed umbraco i got to registration screen but all the css was messed up.

    After I had config complete ie db setup user set up and got to the backoffice again all css was messed up no icons showing etc etc.

    turning to .net 2 from .net integerated seem to solve the problem.

    This all under a hosting environment.

     

    I have a nother site running under .net 4 which is 4.5.2 .net 4 all is ok, but vb.net usercontrols not rendering at all. 

  • Craig Taylor 29 posts 69 karma points
    Jan 25, 2011 @ 18:02
    Craig Taylor
    0

    Can't "high five" yet, but wanted to say "thanks" to Dan.  I stepped into a project late in the development cycle and I took for granted that the "form runat=server" was already in place.


    Thanks!

    Craig

  • Dan 1288 posts 3921 karma points c-trib
    Jan 25, 2011 @ 18:11
    Dan
    0

    You're most welcome Craig - glad it helped, and welcome to our.umbraco :)

Please Sign in or register to post replies

Write your reply to:

Draft