Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Tue, 8 Jul 2008 13:06:00 -0700,    group: microsoft.public.vstudio.extensibility        back       


Problems dropping controls after updating web.config programmatica   
I have a strange issue to ask about.  We have a product that contains 
packages, wizards, and UI components.  We've run into an issue when 
performing the following steps:

1. Create a new ASP.NET website.
2. Switch to Design view in the open .aspx page.
3. Run a wizard of ours that adds a reference to an assembly (it contains 
our UI components) to the website.  This wizard edits the web.config 
programmatically from a package, adding information to the controls, 
httpHandlers, and assemblies sections.
4. Drop one of our UI components in the designer.

The UI component doesn't show up in the designer at all.  If you refresh the 
view it shows an "Error Creating Control" box.

What could be causing this behavior?  It only happens if the Design view is 
open while we programmatically edit the web.config.  If it's in Source view 
while editing the web.config and then you switch to Design view to drop the 
control, this doesn't happen.

Thanks for any help you can offer.
date: Tue, 8 Jul 2008 13:06:00 -0700   author:   Jessica

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us