Solved

View aspx file in design mode

Posted on 2014-01-29
6
669 Views
Last Modified: 2014-02-03
Experts:

I'm trying to view an .aspx page in design mode so I can see the layout of the page in VS 2010. It keeps giving me the view in code. I've modified the tools>options>HTML Design View to Design  View and restarted VS but still can't seem to get the design view. When I right click the file in solution explore the only view options I see are view code and view markup.

Anyone know what I'm doing wrong here?

Thanks in advance for the help,
0
Comment
Question by:telliot79
  • 4
  • 2
6 Comments
 
LVL 18

Assisted Solution

by:UnifiedIS
UnifiedIS earned 300 total points
ID: 39818969
Is there a designer file nested under your aspx?
filename.aspx.designer.vb?

When you are viewing the HTML, do you have the design, split, source options at the bottom of the code window?

I don't think you should have to adjust any options so I would revert the setting you changed. If you start a new web solution can you see the design mode?  That would tell you if it is a problem with the file/project or Visual Studio/OS.
0
 

Author Comment

by:telliot79
ID: 39819013
yes there is a ....designer.vb file nested under my aspx page. The nesting is as follows though:
filename.aspx
      filename.aspx.vb
           filename.aspx.desgner.vb

no, I don't have the design, split, source options at the bottom of the code window.

starting a new web solution I can see the design options at the bottom of the code window.

I should have mentioned this in the original post, but this is a sharepoint web page I'm trying to work with. not sure if that makes things any different.
0
 
LVL 18

Assisted Solution

by:UnifiedIS
UnifiedIS earned 300 total points
ID: 39819085
Sharepoint or not, it sure seems like seeing the designer would still be needed...
Sounds like VS is not the culprit if the new solution looks right.

Are you able to add a new page to the sharepoint project and see the designer?

Did you try right-clicking the designer file to see if there is a "view designer" option?
right-clicking the code "should" give you a "view designer" option also.

Are there any unusual icons next to the files in Solution Explorer?

Can you attach the files?
I'm pretty much guessing here.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:telliot79
ID: 39819134
I've tried adding a new SP application page to the project and can't see the page.

I've added a new application page to the project and am not getting the options to see the designer.

I've tried right clicking the designer file, and the code file and there's no "view designer" option. all I get is "view markup" or "view code"

there are no unusual icons next to the files in solution explore. only the padlock as they're checked into TFS. I've checked them out to see if this helped, but it didn't (yes, I'm getting desperate now.)

I've attached a snapshot of the new file I've created. I can't upload the original files due to the nature of them.
SP.png
0
 

Accepted Solution

by:
telliot79 earned 0 total points
ID: 39819156
just found this and wanted to punch myself in the face:

http://msdn.microsoft.com/en-us/library/ee231581(v=vs.100).aspx (go to the designing and debugging section.)
0
 

Author Closing Comment

by:telliot79
ID: 39829088
thanks for the help
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

776 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