Connecting Tech Pros Worldwide Forums | Help | Site Map

ASCX design mode glitches

balabaster's Avatar
Moderator
 
Join Date: Mar 2007
Location: Canada
Posts: 757
#1: Sep 29 '08
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's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,745
#2: Sep 30 '08

re: ASCX design mode glitches


Its just you ;). Why do you need to embed a stylesheet inside an ASCX?
balabaster's Avatar
Moderator
 
Join Date: Mar 2007
Location: Canada
Posts: 757
#3: Sep 30 '08

re: ASCX design mode glitches


Quote:

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...
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#4: Sep 30 '08

re: ASCX design mode glitches


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
balabaster's Avatar
Moderator
 
Join Date: Mar 2007
Location: Canada
Posts: 757
#5: Sep 30 '08

re: ASCX design mode glitches


Quote:

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.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#6: Oct 1 '08

re: ASCX design mode glitches


Just hit F5 in the browser?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,133
#7: Oct 1 '08

re: ASCX design mode glitches


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....
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#8: Oct 1 '08

re: ASCX design mode glitches


You don't have to hit F5 in your browser?
How does the browser know to refresh the page?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,133
#9: Oct 1 '08

re: ASCX design mode glitches


Quote:

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....
Reply