?
Solved

Code Help wth .SKIN files

Posted on 2010-01-12
16
Medium Priority
?
209 Views
Last Modified: 2013-11-26
When editing a .aspx file, and defining, say, an ASP:Label, it gives you all sorts of help and formatting to make it look good (source wise).

Why isn't this same help provided when creating a .SKIN file?  Is there any way to make the IDE behave with a .SKIN file the same as with a .ASPX file, at least from an editing poin of view?

Visual Studio 2008
0
Comment
Question by:jglazer63
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 8
16 Comments
 
LVL 6

Expert Comment

by:hehdaddy
ID: 26297068
For some reason Microsoft doesn't have intellisense in skin files. I had to style my controls in a regular page and then put them into the skin file.
0
 

Author Comment

by:jglazer63
ID: 26297261
But there should be some way (registry hack or something) to trick it into thinking a .SKIN file is a .ASPX file (or some equiv) at least for editing purposes.
0
 
LVL 6

Expert Comment

by:hehdaddy
ID: 26297822
I don't know of anything like that. Good luck in your search.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 6

Expert Comment

by:hehdaddy
ID: 26297856
0
 

Author Comment

by:jglazer63
ID: 26297986
Kinda what  was looking for except it doesn't work in 2008
0
 
LVL 6

Expert Comment

by:hehdaddy
ID: 26298168
I tried it using "Web Form Editor" and it worked in VS 2008.
0
 

Author Comment

by:jglazer63
ID: 26299076
How'd you do that?
0
 
LVL 6

Expert Comment

by:hehdaddy
ID: 26299202
Tools > Options > Text Editor > File Extension

Use skin as the extension and select Web Form Editor as the editor, then click Add. If your skin file is open make sure to close it and then reopen it.
0
 

Author Comment

by:jglazer63
ID: 26299235
You mean in Visual Studio 2008?  I cannot find that choice under Options.  There is no "Text Editor"
0
 
LVL 6

Accepted Solution

by:
hehdaddy earned 2000 total points
ID: 26299264
Make sure the "Show all settings" check box is checked at the bottom.
0
 

Author Comment

by:jglazer63
ID: 26299754
AHA, Getting close.  But it still doesn't give me intellisense.  I closed and re-opened the skin file.  When I hit space next to ASP:LABEL nothing pops up.

Any other ideas?
0
 
LVL 6

Expert Comment

by:hehdaddy
ID: 26301431
Make sure that your controls are registered at the top of the skin file. Like you would on an ASPX page.
0
 

Author Comment

by:jglazer63
ID: 26303163
The only thing that makes it seem to work is adding <body></body> tags.  I think...
0
 

Author Closing Comment

by:jglazer63
ID: 31676302
Aha, if I use USER CONTROL EDITOR as the experience, it works!  Thanks!
0
 
LVL 6

Expert Comment

by:hehdaddy
ID: 26305667
I am sorry that you are still having problems. I am out of ideas at the moment. :(
0
 

Author Comment

by:jglazer63
ID: 26306105
No no, you got it.  I figured it out and accepted your answer :-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question