CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/14/2007 2:39:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 15 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
stuohy
Asp.Net User
Qualifying Masterpage in Desinger file12/14/2007 2:39:06 PM

0/0

Hi all,

I have several pages that all use the same masterpage. Every time that I change the markup code and rebuild, I get a failure message and two errors. Both are: "Type 'Masterpagename.Masterpagename' is not defined.". To rectify this, I have to manually edit the designer file and add the namespace "Global" to the declaration of the masterpage.

Below is the generated code: 

 

Public Shadows ReadOnly Property Master() As Masterpagename.Masterpagename
Get
Return CType
(MyBase.Master, Masterpagename.Masterpagename)
End Get
End Property
  
This is how it is once I have changed it:
 
Public Shadows ReadOnly Property Master() As Global.MasterpageName.MasterpageName
Get
Return CType
(MyBase.Master, Global.MasterpageName.MasterpageName)
End Get
End Property
  
Does anyone have any idea how I can rectify this?
Many thanks,
Simon 
rikishipabst
Asp.Net User
Re: Qualifying Masterpage in Desinger file12/15/2007 3:20:02 AM

0/0

Are you using Visual Studio or Visual Web Developer?

Try using just Build instead of Rebuild.

Hope it helps

Happy Holidays!

Brent


Brent

http://www.brentpabst.com
http://www.pabstproductions.com
Johnson2007
Asp.Net User
Re: Qualifying Masterpage in Desinger file12/18/2007 7:44:19 AM

0/0

 Where is your code above placed into? Is it in the content pages or somewhere else? And how about your class/page structure?


Johnson
stuohy
Asp.Net User
Re: Qualifying Masterpage in Desinger file12/19/2007 12:42:34 PM

0/0

 Thanks for your replies guys. I am using VS2005 (latterly VS2008); the error occurs in both. Unfortunately, trying to "Build" rather than "Rebuild" did not solve the problem.

The code above is in the generated designer file (pagename.aspx.vb). Just to clarify, this occurs after I have made a change to the markup and the designer file is regenerated.

Many thanks,

Simon
 

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Qualifying Masterpage in Desinger file - ASP.NET Forums Re: Qualifying Masterpage in Desinger file. 12-14-2007, 10:20 PM ... Re: Qualifying Masterpage in Desinger file. 12-18-2007, 2:44 AM ...
Amazon.com: Microsoft Office SharePoint Designer 2007 Version ... Flexible and easy to use, SharePoint Designer 2007 lets you integrate business data ... unused pages, cascading style sheets usage, and master page usage. ...
Microsoft Office SharePoint Designer 2007 SharePoint Designer 2007 is specifically designed to help you create and customise Web .... Pricing is provided for use by qualifying establishments only . ...
Marco Bellinaso's Blog - Wednesday, 29 March 2006 Mar 29, 2006 ... When you edit a content page in Visual Studio, it properly renders both the master page and the content page in the form designer, ...
TheMSsForum.com >> Portal Server >> "File not found" error after ... DK Tag: "File not found" error after creating site collection Tag: 97776 ..... Sharepoint Designer sees it. I can open the master page in SPD. ...
Office SharePoint Designr 2007 Win32 English Version Upgrade CD ... 最低系统配置: Qualifying products for upgrade: Microsoft FrontPage 2000 to ... Microsoft Office SharePoint Designer 2007 provides you with powerful tools to ...
Applying 2007 Advanced Features What is SharePoint Designer 2007? What is it for? What are Master Pages? What Master Page designs are available out-of-the-box? ...
Ryan McCutchen Nov 3, 2007 ... SharePoint Designer or perhaps better yet Studio can be the primary .... but that will deploy a copy of the master page file to every site ...
Robin Curry NET 2.0 and was really looking forward to the designer support since the solution I ... master page file explicitly - which I wanted to avoid if possible . ...
ASP.NET 2.0 Web Controls,Themes, and Master Pages *.aspx content file may plug into, not the content defined by the master page itself. If you flip to the. designer surface of the *.master page, ...




Search This Site:










asp.net and windows applications

collapsing menu in left pane to get larger content pane

skin automated install tool?

getting correct eventtarget for postback

is the data provider model usable in complex, business applications?

great way to figure out what caused the app to recycle

dnn3 on a mac?

visual studio 2008 registration problem

how to have master page and content page in different projects

code for the placing a link to a textfile which exists in my project.

"type abstract" error when i try to open default.aspx (dnn3.1.1)

dnn security with other files within the same virtual directory

make personalization with iis windows authentication

commerce started kit problem

how to make page content under menu move down, when a menu item is chosen?

is this possible?

how to hide a button on a asp page from a call from an aspx page?

aspnet menu control

grayed out controls

change master page controls from content page

visual studio 2005 missing items in toolbox

dnn 3.0 localization enh/bug

creating a side menu

debugging the club website locally?

what is the best way to to preserve data between postback

remote degugging using vpn

is there a way to put imagebuttons in the treeview?

location of web control(s) in whidbey

registration benefit portal link

3.0.8 issue: missing modules

 
All Times Are GMT