CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 10/15/2007 5:58:52 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 366 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"dbozman" <>
NewsGroup User
Help with designer.vb files10/15/2007 5:58:52 PM

0

Hello All,
I'm an experienced 1.1 developer, still getting used to 2.0. Recently my company hired a consultant to convert a project from 1.1 to 2.0. Without getting into details, the conversion was not done well and I have had some problems getting the code running on my machine. So, I'm currently taking a page by page basis to getting it set up on my machine.

Here's my question:
When I copy the aspx, vb, and designer.vb files into my project, the designer.vb file does not nest under the page like the vb file. Is this normal? Since it doesn't seem to be associating it with the page, I've been just deleting it. Is there a way to re-create the file? I saw another post which said to right click on the project and say "Convert To Web Project", but that option does not exist for me, as it is already a web project.

Thanks in advance for your help with this newbie question!


 

"stmarti" <>
NewsGroup User
Re: Help with designer.vb files10/16/2007 11:20:49 AM

0

Hi,

First check that you have a wap and not web site. There is not designer files in the web site model. If you open a project or solution you have probably a wap model.

To move existing aspx, vb and designer.vb (aspx, cs and designer.cs for csharp) to your project:

Copy the files to the appropriate folder,

in the solution explorer toggle "show all files",

select all the three files, right click "include in project".

This will do the nesting in the solution explorer.

You can regenerate any missing designer.vb/cs file this way:

Select your aspx file in the solution explorer (not the project), right click "Convert to Web Application". (You can do this only when there is really no designer file for a given aspx)

 

 

 

"dbozman" <>
NewsGroup User
Re: Help with designer.vb files10/16/2007 2:56:28 PM

0

 Thanks stmarti,

I was able to include the designer.vb files, but they still do not show nested within the page. Rather, they display below the page as a separate file. When I create a new page (not importing existing pages) no designer.vb file even gets created. However, the code behind is still defined as a partial class so, where is the autogenerated code?

I understand partial classes, but I'm having a hard time finding any relevant material online to help me better understand what visual studio is doing, and why the consultant would have needed these desinger.vb files, yet it runs fine on my machine with out them.

Anyone know of any good references?

Thanks!
 

"stmarti" <>
NewsGroup User
Re: Help with designer.vb files10/17/2007 7:41:47 AM

0

Are you sure that you have a web application project?

All "issues" which you have are normal in the web site project model!

By default vs 2005 convert an old 1.1 asp.net project to the web site model, maybe the consultant did the same. But you need(?) the wap model.

Start with a fresh conversion from your 1.1 app, forget what the "consultant" done, start here for an overview:

Resource: VS 2005 Web Application Project Tutorials

Please note, if you have vs2005 sp1 installed, the wap option already installed, don't need to download and install anything.

And look this: http://webproject.scottgu.com/VisualBasic/Migration/Migration.aspx 

 

 

 

 

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


Free Download:













well formed asp.net page

what is the best way to publish a website?

addind a user control to the toolbox

reading multiple rows from stored procedure (c#, asp.net)

view in browser doesn't stop @ breakpoints

unknow error occured while copying files

single page assemblies

how do you save the .sln file in the same dir as the web project?

vs 2005 professional support vb 6.0 code?

sample project with business layer and data layer

unable to select items within asp:table

asp.net 2.0 and visual studio 2005. need advice.

page synchronisation with code-behind problem.

open any template in the design view of formview, it takes long time to load all the controls

why does team build get all the sources from a workspace when building?

i said code in a separate file!

when using <identity impersonate="true"> in .net 1.1, and 2.0 is there some differences?

can't see partial class in my class diagram?

procedure of functions has too many arguments.

how do i run a aspx sub after a web service completes?

question on vs 2005 modifing the web.config file

error creating control - textbox1 bad il format

problem: "failed to grant required minimum permissions..."

web deployment projects: copy build output to a network share

reference paths gone?

add new items, templates

smarttags

how to remotely debug on server(urgent)

slow file transfers in vs2005

using vs 2003 projects with vs 2005

contentplaceholder from master page disabled in .aspx page

adding user control (.ascx) display issue

not require framework?

ezy debugging client side scripts in visual studio 2005

schema owned stored procs and data source controls

command-line arguments and debugging

new topics in visual studio.net

vs2005 xslt debugger wont work when i include my extension functions in the xslt

remove project path from relative path?

free .net code managament tool

short cut for..??

finding build warnings

version control and managing updates

add reference in project mode (vs2005)

purchasing visual studio 2003 and 2005

format text as a heading

embedded svg graphic breaks after vs2005 install

page class type access

no silent checkout/prompt for .aspx.vb files

help - vs2005 changes conditional comments

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT