Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

problem with place of controls event handler!!!

$
0
0

hi all.one of my visual studio web pages has encountrated with an error! when i add a control like button and double click on it too write its code,instead of open in code behind it opens in markup as following:

<script runat="server">

         protected void Button3_Click(object sender, EventArgs e)
         {

         }
</script>

how can i fix it to open in code behind?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>