Visual Studio designer event problem

I have a small issue that I'm sure others have experienced - but haven't yet found a solution / workaround for this.

When adding controls to Visual Studio in designer you normally get a event button (the yellow flash light) in the properties window.

But when you nest a button inside a placeholder (for example) you cannot mark the button from the designer - only the placeholder! When trying to go into "split-view" on the designer you'll be able to mark the button in the bottom of the designer - but only properties and not the event button appers in the properties window!

I know that you can go into codebehind and manually add the event but I thiink it is really tiresome to do so if I don't have to...

I had a small hope that VS2010 the issue would be gone but sadly it isn't...

More Related Resource Links

On the 13th of August 2010 i installed a Windows update on my vista sp2 pc. For this date my Visual Studio 2008 sp 1 always has closed itself by opening an aspx-page in designer view. There is no error message just closing the window. I restored a backup of my windows from the time before updating it and it helped, i could open aspx pages in the design view till the update has been installed again automatically after rebooting the pc. I can't disable windows updates, cause it's my pc at work and safety is very important. I hope you could help me out of this disaster.

Windows Forms 2.0 components expose smart tags by utilizing Designer Actions. By taking advantage of this feature, you can add smart tags to your own custom components to make setting their properties and other actions much easier and developer-friendly.

Good day all.
I have the following question:
WPF designer in both VS 2008 and VS 2010 crashes with Visual Studio when I try to edit UI form. Moreover, it crashes even when I try to save .xaml.cs file. Meanwhile, Winforms and Dataset UI editors work as usual. Are there other people met this issue? And
how could I fix up this problem?
Deleting the .suo file, uninstalling silverlight, repairing visual studio, and further googling did not help me.
Thanks in advance.

I have a problem where I can get an MVC2.0 application using .NET3.5 running in IIS, but when I upgrade it to .NET4.0, the browser just reports error 500 Internal Server Error.
The problem is easy to replicate as follows. Firstly, to show it works with .NET3.5:
Create a new MVC2.0 application in Visual Studio 2010, using the inbuilt starter template.
Run the application using the development server, and the Home & About pages display fine.
Publish the application to a directory.
Copy the directory to a subdirectory under inetpub/wwwroot on my Vista computer, running IIS7
Create a new application in IIS Manager & select the DefaultAppPool (integrated pipeline)
Browse the application and Home & About pages are displayed.
Then the problem I have is after upgrading to .NET4.0:
Change to .NET4.0 for the project in Visual Studio
Build & this runs fine with the development server.
Publish the application & set up IIS as before, except choosing the application pool ASP.NET v4.0 (integrated pipeline)
Browse the application, and I get the 500 Internal Server Error
I'm guessing there is some extra configuration required - can anyone help?
I've deliberately used the default MVC installation to eliminate any variables caused by my programming ..
Thanks in advance,
Steve

I've encountered a situation with my current project where, when I add a new control, VS2008 is not adding it into the associated Designer file. This is occurring with both a Web Page (ASPX) and a User Control (ASCX).At first I thought it was because I was going into the layout page and manually adding a control that way. But then when I went back to dragging the controls right from the ToolBox the problem persisted.Why is this happening and how can I fix it?Robert

Hello,
I am trying to use SSIS Designer with BI Development Studio. I downloaded MS Visual Studio 2010 Beta and do not find an option to get into either the SSIS Designer or BI Development Studio.
Can someone please help?
Thanks,
Chela

I'm having a problem with Visual Studio 2010 that is proving to be extremely difficult to find a solution for. Any help is appreciated.
I have a custom library that handles regular expression validation for me. This library sits plainly on our server for everyone to access. In my most recent WPF application I've been learning about ValidationRules. I created my own custom rule that would
simply test the input against a supplied regex pattern. Here's an example of the XAML.
<TextBox Grid.Column="2"
VerticalAlignment="Center"
Style="{StaticResource sTextBox}"
Validation.ErrorTemplate="{StaticResource TextBox}"
SourceUpdated="ProductQuantity_TargetUpdated">
<TextBox.Text>
<Binding Path="Quantity"
Mode="TwoWay"
NotifyOnValidationError="True"
NotifyOnSourceUpdated="True"
NotifyOnTargetUpdated="True"
ValidatesOnDataErrors="True"
UpdateSourceTrigger="PropertyChanged"
ValidatesOnExceptions="True">
<Binding.ValidationRules>
<vr:RequiredField Label="Quantity" />
<vr:RegularExpression Label="Quantity" ValidationPattern="NumberAbsoluteNoDecimals" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</

Hi,
Could someone tell me if it is possible to intercept a design time drop event coming from a custom Visual Studio tool window onto the cider design surface?
I am hoping to use the same API's as those used by the Visual Studio 2010 'Data Sources' tool window, which provides drag & drop data-binding between classes and WPF/Silverlight controls. My requirement is to pass a DataObject (used with the
WPF DragDrop API) from my custom Visual Studio WPF tool window treeview to my custom WPF control at design time, read the data and do some binding/XAML manipulation of my own. The drag aspect is simple enough but I can't work out how to accept a drop
event from anything other than the toolbox. At the moment, when I drag my treenode over the design surface it shows the 'cannot drop here' cursor.
If someone could give me some insight into how the 'Data Sources' tool window allows dragging of treenodes to controls I would really appreciate it. It is obviously possible but which API's are used and are they public?
Thanks in advance,
Paul

Hi,
i have a custom workflow(sequential),developed using visual studio 2010.
Now, i want to make it available to sharepoiint designer 2010,as an action.Has anyone done something like dis before? I have tried creating an actions file and changes in web. config ,but when i open my designer it says it cannot find the assembly(my custom
worklow).
What does it mean,i have tried this method by watching solutions on internet.
If anyone has done this task, kindly guide me
thanks a lot :)

I'm getting an error when i connect the form(which has a chart object in it) to a database...
I've another project where it is already to the database. There i couldn't find the chart object in the toolbox...
please help me...
PS: i'm using VISUAL STUDIO 2010

Hi, I'm new to VS 2008. And as a uni project, we had to create a doctor surgery databases as a group. However, when one of my group member sent me part of her work and when I tried to open it in my VS 2008, I failed to open the database she created. The error was : " [the database] cannot be opened because it is version 655. This server supports version 612 and
earlier. A downgrade path is not supported." I did some research on the Internet and found out that I have SQL server 2005 installed and my friend is probably using SQL server 2008. So I download the SQL server 2008 from the Internet and it was successfully installed in my computer. So now I have both SQL server 2005 and 2008. However when I tried to open the database again, another error occured saying : "This server version is not supported. Only server up to MS sql server 2005 are supported." again I did some research on the Internet and people are saying I have to install the SQL server 2008 SP1 for it to work. But when I'm about to proceed to the installing process, an error appear saying: "there are no sql server instances or shared features that can be updated on this computer". Now I really have no idea what to do... I've been trying to open that database for like 10 hours, and it still won't work. Can anyone please help.

Warning1There is a circular reference involving the import of file "C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.EM.ShoppingCart

"There is a circular reference involving the import of file "C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored."

I got this error after my VS 2008 crashed three times and after every crash it got restarted and made backup. So three back ups are made in my solution folder... when I got the above mentioned error I moved all the backups from solution but i cant get rid of it....

NOTE: The Release Candidate and RTM builds of Visual Studio 2010 does not need this configuration change

This post is to let you know about a configuration change (registry switch) which you can use to improve the startup performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2.

Important:
1. Since this was a late-breaking change, you may experience some instability or increased Virtual Memory usage in some Visual Studio scenarios when using it. If you see such instabilities, please try removing the configuration change, and let us
know about the problem you saw (you can do this by replying to this posting or by raising a bug on Connect).

2. You should only make this configuration change if you are a regular user of the WPF and Silverlight Designer, and are experiencing poor performance with it.

i seted up visual studio 2010 to my pc before 2 mounts and i did not have any problem. after i formated my pc vs2010 not running web site projects. sortly when i run it on internet explorer open but its cant open project. its like there is no any websites, what is problem.

I was using VS2008 everything ws going well but one day because of some problem i have to reload the windows and VS2008 and since then i am unable to open the designer.It does not give me any error message but i am unable to use any of the feature after clicking design or view designer from solution explorer.I have tried reinstalling the VS2008 but it does not solve my problem.Can you please help me.??