I have an intriguing issue. And when I say intriguing, I mean really irritating.
I use Visual Studio 2008 and have started having problems with triggers.
I write my code and put in the triggers I require, such as
Then I hit the Save button, and my file saves and then automatically changes itself to the following:
If I try to debug the code it throws an error that the new bit of code can't be processed inside the triggers section.
Can anyone help me with why this is happening? Google searches are giving me nothing.
~Ben
Occasional sparks in a darkened room
I use Visual Studio 2008 and have started having problems with triggers.
I write my code and put in the triggers I require, such as
Code:
<Triggers>
<asp:PostBackTrigger ControlID="chkExportToExcel" />
</Triggers>
Then I hit the Save button, and my file saves and then automatically changes itself to the following:
Code:
<Triggers>
<asp:PostBackTrigger ControlID="chkExportToExcel" />
<System.Web.UI.PostBackTrigger ControlID="chkExportToExcel"></System.Web.UI.PostBackTrigger>
</Triggers>
If I try to debug the code it throws an error that the new bit of code can't be processed inside the triggers section.
Can anyone help me with why this is happening? Google searches are giving me nothing.
~Ben
Occasional sparks in a darkened room