I have a masterpage right now that displays the weirdest behavior ever in Visual Studio 2012. I have a dropdownlist with an OnSelectedIndexChanged Event that lives on a masterpage. Right now if I compile and run the page it gives me a runtime error telling
me it cannot see the OnSelectedIndexChanged event . It is there.
Making this more weird is if I tweak (say I just add a space, and re-save) the .master html markup, it then finds the event. The runtime error goes away...this is until I make some change to the codebehind, (say I add a comment) then it loses the OnSelectedIndexChanged
event again. Might be the single most aggravating thing ever. Any idea what's going on here? Is it a caching thing ? The mark up and codebehind is below. See the dropdown at around line 50.
--Jason
<%@ Master Language="C#" AutoEventWireup="True" Inherits="SiteMaster" EnableViewStat ...
Go to the complete details ...