c# - ASP.NET button not running code behind -


I am working with asp.net I have some pages and many ASP.Net buttons. Everything was working fine the other day and now the ASP buttons are not running code behind it. I put the break point in code, so I know they are not running. I have looked around the Internet and I have found a few things, such as cleaning cleaning, clearing cache and cookies. I also added a new button and it will not run the code It seems that all the buttons on that page Having problems with

These buttons are

  and    

Why return the error to the client

  Lt; ASP: Button ID = "B1" Runat = "Server" Onclic = "B1_Click1" text = "Target" OnClientClick = "ChangeGL (); Return Back;" CssClass = "Button" & gt; & Lt; / ASP: Button & gt; & Lt; ASP: Button ID = "B2" Run = "Server" OnClick = "b2_Click" text = "Habits" OnClientClick = "ChangeBabits (); Return Return;" CssClass = "Button" & gt; & Lt; / ASP: Button & gt; & Lt; ASP: Button ID = "B3" run = "server" OnClick = "b3_Click" text = "diary" OnClientClick = "changed (); return false" CssClass = "button" & gt; & Lt; / Asp: button & gt;   

You have to return true to client clicks.

  & lt; asp: button id = "b3" runat = "server" OnClick = "b3_Click" text = "diary" OnClientClick = "changed (); correct" CssClass = "button" & gt; & Lt; / Asp: button & gt;    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -