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: 8/16/2007 6:04:39 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 7 Views: 158 Favorited: 0 Favorite
9 Items, 1 Pages 1 |< << Go >> >|
"eelises" <>
NewsGroup User
Designer files are not updated with new controls8/16/2007 6:04:39 AM

0

Hi,

We have a web application project that we open through SourceSafe. The project
is developed locally on each developer's machine, and later will be
merged on the testing server machine. All the machines run WinXP Pro SP2 and
VS 2005 SP1.

When we make changes in HTML source mode or Design mode (.aspx file)
the designer file is not updated with the new controls, thus causing
an error on the VB page (since the control is not defined). We have
tried changing between source and design mode, saving, compiling,
rewriting the <html> tag, closing the project and restarting VS with no avail.
The compiler does not update the designer file.
One exception: this problem occurs only on pages that were not created
locally but copied from the server when the project was first opened
and deployed on local machine. New pages that are created locally
works just fine.

Thanks in advance for sharing your ideas and experience.

Eyal
Mansoft tietotekniikka Oy
"guitboxgeek" <
NewsGroup User
Re: Designer files are not updated with new controls8/21/2007 2:40:11 PM

0

I have seen this exact behavior in a large 2003 web project that I converted to 2005. The only solution I could come up with was to totally rebuild the page that wouldn't update the designer file. I searched and searched and didn't come up with much that explains or solves this issue. My company has several large projects that are being converted and I have a distinct feeling I'll be creating new pages for a lot of these problem-pages.

"eelises" <>
NewsGroup User
Re: Designer files are not updated with new controls8/22/2007 5:18:23 AM

0

Thanks for your reply.
Actually, I forgot to mention that our web-project was converted from 2003. We'll take it into consideration in future projects' conversion.

Currently everything works fine at least on my machine. Unfortunately, I can't recall a single action that fixed the strange behavior.

 I'll update with any new findings.

 
Eyal
 


 

"ericsb" <>
NewsGroup User
Re: Designer files are not updated with new controls8/30/2007 1:42:17 PM

0

We're having the very same issue, however, this was an original 2k5 solution and was not converted from 2k3.  Also we're using TFS.  Our issue seems to be sporatic and I'm having a heck of a time trying to figure out how to reproduce it.  We even change properties, I.e. the controls' Id property and the update is not being refelcted in the designer file.

I've been doing some digging and there doesn't seem to be a lot of information on this, I'm wondering what set of steps got us to this point?  The biggest issue is the size of some of our pages and the work it's going to take to manually add all the controls across all pages to the designer files.  What a PITA!  Am hoping we can find a cause/solution for this issue.  In the mean time I'll keep checking back here to see if anyone else has any suggestions.

Thanks!

-E

"Surfandswim" <
NewsGroup User
Re: Designer files are not updated with new controls9/3/2007 6:55:50 PM

0

I am having the same problem too, it doesn't matter whether the project was converted from .NET 2003 or if it is a new one from 2005. 

One thing that I have noticed is that if VS 2005 thinks there is an error in parsing the page, then changes to controls are not updated in the designer file.  Fixing the HTML problems I think helps, but I am not sure if that's the solution or not. 

 Another thing I noticed was that the my intellisense wasn't working when this problem occurs as well. 

What I did do to get this to work correctly was to fix any HTML problems on the form.  Try to close the form and re-open it, if intellisense is working, do a test with a simple text box.  If that works you're good to go.  If none of these work, go back and see if your HTML code is valid and your front page code is valid and try to close all of your files in your solution, then shut down VS 2005 and re-open it.  That seems to have worked for me.

Hope this helps.

 

"mediademon" <>
NewsGroup User
Re: Designer files are not updated with new controls9/25/2007 4:53:18 PM

0

Count me in on this problem too... it's driving me crazy!



 

"codered" <>
NewsGroup User
Re: Designer files are not updated with new controls10/9/2007 7:20:53 PM

0

I'm running vs2008 and have the same problem.  Since this was the only place I could find that addressed the problem I decided to add each line of code line by line until I discovered the problem.  After the long grueling process of copying and pasting and checking the designer file I discovered the problem.  In my ascx file I had a custom control reference <myasp:statusdropdownlist></myasp:statusdropdownlist>  This custom control however had not yet been build by the compiler.  So I built the project.  Then I went back and copy and pasted my entire code into the ascx file and checked the designer.  Sure enough all of the controls are now defined.  I looks like the designer wouldn't update while the unbuilt custom control was present.  Hope this helps.

"ijoxley" <>
NewsGroup User
Re: Designer files are not updated with new controls11/22/2007 9:43:44 AM

0

I have been having this same problem on a VS 2005 Web Application Project.  After reading the above posts I checked the errors and warnings on the page where this problem was occurring and luckily on the Warnings tab I found the cause of the problem: "Designer file could not be rebuilt as the field USERNAME conflicts with a control username".

So, while the code would compile without any problems, the designer did not like to *instance variables* of the same name but different case.

 
Hope this helps anyone with similar problems.
 


Please mark helpful posts as "Answer"
"Chris Domino"
NewsGroup User
Re: Designer files are not updated with new controls9/20/2009 7:58:26 AM

0

My issue was that I was copy-and-pasting HTML that contained a user control.  So, FIRST add the @Register directive to the top of the page, THEN copy-and-paste your HTML.  Good luck!

Domino

http://chrisdomino.com/blog

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


Free Download:













vs2005 is renaming my usercontrol classes!

create code-behind in visual studio 2005

help????????

sharing classes

sharepoint webparts with visual studio 2005?

visual studio or vss 2005

publish website: web.config question

unmanaged debugging with asp.net 2

incorrect date-time while checkin visual sourcesafe

problems with sitemap controller

how to convert vb.net project to asp.net project?

make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class

msdn library and visual studio pro

attributes on new line

debugging scripts in a database project

java style inline coding or mix inline code with code behind

recommended plugins for on-the-fly highlighting?

srever error when using localhost

how can i make my application run on iis instead of "asp.net development web server"

need a lunch break...

web deployment project and non aspx/asmx/ashx pages

vc++ 2005 express edition: show in textbox on button click

unit testing core classes in web application

website will build and words fine but will not publish due to build errors

mobile asp.net applications, where are they in vs 2005?

databindings property?

asp.net 2.0 project file

property pane not changing to display properties of selected control

what are the folders app_code,app_data etc..

cannot add a reference - undefined types

start web server without start vs 2005

problem with web application projects and code-behind

writing/debugging class libraries from website is vs2005

visual studio could not copy a support file to this location

strange debugging behavior - skipping lines of code

code behing not working

asp.net web configuration utility in december ctp

expand items in solution explorer.

creating website with subprojects

visual studio & css files

entire application rebuilds each time run from ide

why can't i run programming samples

november ctp freezes during default installation

problem publlish project and include xml-files

xml documentation?

copy to website with ftp-authssl:

"unable to connect to visual studio's localhost web server"

breakpoint will not currently be hit

web services: missing template

help - can't create http web sites

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT