You can set the button’s UseSubmitBehavior = false
btnCategory.UseSubmitBehavior = false;
More Related Contents:
- aspx.cs need explain to me [closed]
- IIS AppPoolIdentity and file system write access permissions
- Using different Web.config in development and production environment
- Losing Session State
- Asp.Net UpdatePanel in Gridview Jquery DatePicker
- ASP.NET dynamically created controls and Postback
- Best way to stream files in ASP.NET
- Application vs Session vs Cache
- Getting RAW Soap Data from a Web Reference Client running in ASP.net
- Sys is undefined
- Reading web.config from JavaScript
- Why does the javascript onchange event not fire if autocomplete is on?
- How to emulate cron jobs on a Windows Server?
- What’s the best method for forcing cache expiration in ASP.NET?
- How is ASP.NET multithreaded?
- Web Api Parameter always null
- What do I need to change to allow my IIS7 ASP.Net 3.5 application to create an event source and log events to Windows EventLog?
- EF 4.1 exception “The provider did not return a ProviderManifestToken string”
- Serving favicon.ico in ASP.NET MVC
- How to bind a MemoryStream to asp:image control?
- How to make user controls know about css classes in ASP.NET
- ASP.NET MVC Performance
- Can I use commas in a URL?
- What is the difference between AntiXss.HtmlEncode and HttpUtility.HtmlEncode?
- Any way to clear/flush/remove OutputCache?
- IFrame: This content cannot be displayed in a frame
- How do you use Excel server-side?
- HTTP handler vs HTTP module
- Can not find runtime target for framework .NETCoreApp=v1 compatible with one of the target runtimes
- ASP.NET core JWT authentication always throwing 401 unauthorized