View Complete Post
MSDN Magazine December 2003
Does a project exist for grouping user controls? Visual Studio 2005 had this template but it does not appear to exist in 2008.
We will be creating several User Controls and would like them grouped accordingly.
Thanks in advance for any responses.
Visual Studio 2010
Working on a content page (.aspx page with associated master page)
Not all of the content place holders from the master page are represented on the content page (have been deleted)
Can go to the master page, find the place holder I want, return to content page and type out the "content" tag.
Is there an easier way? Can I drag a content tag in from a toolbox somewhere? Can I "re-apply" a master page to a content page and have it restore missing place holders? Looking for the lazy way out.
I'm getting a problem with a VS 2008 application when I use the WebBrowser control's .ShowPrintPreviewDialog method and either print or close the dialog box. I'm working on a 64-bit Windows 7 computer and using Visual Studio's default Debug option
settings. The problem happens both when running from the IDE in debug mode and after compiling in x86 mode as a stand-alone.
The control is central to as an otherwise effective report management system, so on btnPrint_Click I assign HTML code to .DocumentText and then call .ShowPrintPreviewDialog, which works fine, other than it does need 2 clicks so it seems both stages have to
happen as separate events?
Although when I go to print, the document prints okay, the print preview dialog form closes itself and whole program crashes with the above message. I've also tried separating those stages to avoid the 2-click issue, but I still get the crash.
If I turn Project>Properties>Debug>"Enable unmanaged code debugging" ON, I get this message instead "Unhandled exception at 0x752c77df (urlmon.dll) in PMPos.exe: 0xC0000005: Access violation reading location 0x00000001."
The control's other print dialog methods work fine. Is there a solution that I can rely on when distributing the application or am I best abondoning this particular
I am using Visual Studio 2010. I was debugging a web application and an exception happened and VS 2010 froze. I ended the VS 2010 in the task manager and when I went back to developing, I found on every form for every ASP.net control I get:
Error Creating Control -
Error HRESULT E_FAIL has been returned from a call to a COM component.
Also I am unable to edit the form or add anything from the toolbox.
Any help on this matter will be appreciated.
New user to Visual Studio 2008 - one of the reasons for upgrading from 2005 was because I wanted to use the AJAX Toolbox Control for combobox in my web forms.
Have started a new project, have told it to use .net 3.5 for the project, but when I go to the ajax tooklkit in the toolbox panel there is no combobox. Could someone please tell me why it isn't there?
Environment - Visual Studio 2008 SP1
Many thanks - OfficeWonk
I have developed a composite control in framework 2.0. I want when I add reference assembly(.dll) of composite control in any other project, it should automatically be added into visual studio toolbox so that I can drag-n-drop it any time. Currently I need
to manually add control from Visual Studio > Toolbox > Choose Items.
After I imported a VS 2008 web project to VS 2010, I can't view aspx pages that have master pages in design mode. The page design mode displays "error creating control - contentplacehoder1 object reference not set to an instance of an object." The project builds and runs fine though. I have only one master page that all other aspx pages reference and I don't have any nested master pages. Can anybody help me with this? Thanks in advance.
I can't get to the Object Libraries using Help Search in VS 2008. This seems to be a common problem. I have Windows 7 Professional, 64-bit machine.
Is there a fix for this?
I have a very simple Oracle (11g) Stored Procedure that is declared like so:
CREATE OR REPLACE PROCEDURE pr_myproc(L_CURSOR out SYS_REFCURSOR)is BEGIN OPEN L_CURSOR FOR SELECT * FROM MyTable; END;
This compiles correctly. The cursor contains col1, col2 and col3.
In SSRS, i have a Shared Data Source that uses Oracle OLEDB Provider for Oracle 11g:
I'm having a problem opening XAML files in Visual Studio 2010. When I open a XAML file, Visual Studio become very slow and the XAML file never produces an outline or a rendered version of the XAML. When I click in the text of the XAML, it can
take several minutes for the cursor to appear where I clicked. The XAML file is rather small - just a grid with some basic controls on it (a grid, stack panel, radio buttons, date pickers, etc). The problem occurs if I open any XAML file in the
When I watch devenv.exe in the task manager, as soon as I open a XAML file, the process is consuming 100% of one of the CPUs and begins eating chunks of memory at the rate of about 5MB/second and creating a new thread about every two seconds.
The memory use grows until it's about 700MB and the number of threads climbs to between 450-470 before it levels off. Even after it stops producing new threads and consuming more memory, the XAML file is still unresponsive and it's still using 100% of
one of the CPUs. Even after a half hour, the CPU is still at 100% with 452 threads.
I have completely uninstalled and reinstalled Visual Studio but I'm still having the same problem.
I'm running XP sp3 32-bit with VS 2010 Ultimate on a dual core machine with 4GB RAM. At this point I simply can't edit XAML
How does one go about getting the AjaxControlToolkit working in VS 2010 RC1 ??
What version of the tool kit (and or source) should i use??
I downloaded the latest (tool kit only) source and tried to build in VS 2010 RC1 build went fine but when trying to add the tool kit to the Toolbox in VS 2010 RC1 i get the following error:
There was an error loading types from assembly AjaxControlToolkit\bin\debug\Ajaxcontroltoolkit.dll
Inheritance security rules violated by type:
Ajaxcontroltoolkit.TabContainerDesigner Derived types must either match the security accessibility of the base type or be less accessible.