ASCX design mode glitches

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • balabaster
    Recognized Expert Contributor
    • Mar 2007
    • 798

    ASCX design mode glitches

    Has anyone noticed that if you embed a stylesheet inside an ASCX that the design mode stops displaying anything in Visual Studio 2008? Does this happen to anyone else or is it just me?
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Its just you ;). Why do you need to embed a stylesheet inside an ASCX?

    Comment

    • balabaster
      Recognized Expert Contributor
      • Mar 2007
      • 798

      #3
      Originally posted by kenobewan
      Its just you ;). Why do you need to embed a stylesheet inside an ASCX?
      Because it's easier to debug in design view... I was trying to avoid having to keep skipping back and forth between windows to see what I was doing... so I thought if I embedded a stylesheet right in the ascx file I'd be able to see what I was doing as I was coding...

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        I have had bad luck with the web designer all over.
        Half the time it doesn't show the items and the other half that it DOES show them, you cannot select them.
        I stay purely in the aspnet source side rather then designer side

        Comment

        • balabaster
          Recognized Expert Contributor
          • Mar 2007
          • 798

          #5
          Originally posted by Plater
          I have had bad luck with the web designer all over.
          Half the time it doesn't show the items and the other half that it DOES show them, you cannot select them.
          I stay purely in the aspnet source side rather then designer side
          It would be nice if you could see the result of your tinkering without having to keep running the application though... oh well.

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            Just hit F5 in the browser?

            Comment

            • Frinavale
              Recognized Expert Expert
              • Oct 2006
              • 9749

              #7
              I've experienced the same problem and just figured that it was a bug in VS.

              I rarely use the design mode any more because of it.

              I develop directly on IIS (I moved the project into the web application folder that IIS is pointing to)...that way I don't have to keep hitting F5....

              Comment

              • Plater
                Recognized Expert Expert
                • Apr 2007
                • 7872

                #8
                You don't have to hit F5 in your browser?
                How does the browser know to refresh the page?

                Comment

                • Frinavale
                  Recognized Expert Expert
                  • Oct 2006
                  • 9749

                  #9
                  Originally posted by Plater
                  You don't have to hit F5 in your browser?
                  How does the browser know to refresh the page?
                  I meant hit F5 to run the web application.

                  You have to refresh the page if you want to see any changes you made....

                  Comment

                  Working...