Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Code Help wth .SKIN files

Posted on 2010-01-12
16
Medium Priority
?
210 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month15 days, 13 hours left to enroll

580 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