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.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 2/13/2008 11:39:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 37 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"NewWorldMan" <
NewsGroup User
Inconsistency in Resource Files in Web Site and Web Application Projects2/13/2008 11:39:09 AM

0

When I add a resource file to the App_GlobalResources folder in a Web Site and Web Application Project I get this difference in behaviour.

  1. In a Web Application Project I get a resx file and a designer.cs file.
  2. I get intellisense displayed for the localization strings, e.g., "Looks up a localized string similar to Invalid login, please try again."

In a Web Site Project

  1. I get just a resx file.
  2. I get no intellisense (because there's no designer file).

Why is there a difference in behaviour? Is there a way of getting the same behaviour for a Web Site Project.

Kevin
 

"Benson Yu - MS
NewsGroup User
Re: Inconsistency in Resource Files in Web Site and Web Application Projects2/19/2008 3:02:27 AM

0

Hi Kevin,

It is by design that there is no .designer file in website project. Anyway, I tried to reproduce this issue on my machine with the following steps:

    1. Create an ASP.NET website project.
    2. Add a new resource file (Resource1.resx) in the ?App_GlobalResources? folder.
    3. Add ?String1? and ?String2? in the new added resource file.
    4. Click the ?Save All? button, and then open the .aspx.cs file.
    5. After inputting ?Resources?, the ?Resource1? displays properly. Then ?String1? and ?String2? display properly after selecting ?Resource1?.
    6. I also try to add another new resource file (Resource2.resx) and the intellisense still works very well.

My Visual Studio is 2005 Team Suite edition with SP1 applied. If you can create web applicaton due to the ?Visual Studio 2005 Web Application Projects? addin, please remove it and install Visual Stuido 2005 SP1 instead. Otherwise, please click the ?Save All? button after modifying the resource file or before you want to get intellisense in the code behind editor. I hope the above information is helpful to you.


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
"NewWorldMan" <
NewsGroup User
Re: Inconsistency in Resource Files in Web Site and Web Application Projects2/19/2008 9:07:26 AM

0

 I am using VS 2005 Pro SP1. It's not the Resources.Resource1.String1 that I'm referring to. It is the descriptive XML comment that tells you what's in the Value column. E.g., suppose I have

Name                                                         Value

JobManagementPageDescription                  Create and manage print jobs

 

Then when I type Resources.WebResources.JobManagementPageDescription if I hover the mouse over JobManagementPageDescription I get an intellisense comment - "Looks up a localized resource similar to Create and Mange Print Jobs."

In a Web Application Project, this is picked up from the XML comment header in the designer.cs file. As a Web Site project does not have this then you don't get the very helpful comment.

 Anyway, I've switched back to a Web Application Project for this reason among others.
 

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


Free Download:













newbie question - can't edit new tab

anonymous posting

dnn menu question

dnn 3.0.6 host skin

module?

master/detail module

popup or tooltip on the headertext of datagrid boundcolumn

java applet in dnn 2? possible? how?

create referral link

3.0.6 issue - problem with actions on default page

gotdotnet workspace source

ms enterprise library in dnn

development workflow - anyone know if this is possible/sensible...

need to put some custom content on dnn site

urgent help needed - cannot upload skin

dnn3 (beta 3) v 3..0.6 is out...

smtp settings = no, receiving email = yes

object model for dnn.

datagrid image link broken

1.1.0 roadmap

dnn membership - "lazy loading" question.

always auto logged out

search bugs

module widths probelm

file manager upload maxsize on dnn 3?

hosting dotnetnuke

javascript error

change in code behind files wouldnt react

error

need help with a general exception error

how many users can dnn handle?

3.0.6 - modifying default skin

server error in '/' application.

host/module definitions upload failure

2.1.2 multiple text editors

attention.. 2.2 and legacy issues...

vendor module?

forcing uninstall of old version of module

terms of use page - capitalize site name

after success update from 3.1.1 to 3.2, i test my site to update from 3.2 to 4.0, and i got this error - parser error, please help me!

dnn 3.1 upgrade trouble

need dnn developers for project

help: i want the ability to have 2 menu areas, possible?

problems downloading dnn 1.0.9

dnn file question

issue deleting module that is giving errors

what do you guys see when going to dnnrocks?

new portal bombs after trying to add child portal

looking for dnn 2.0 alpha version

upgrade

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT