Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

javascript

How to disable postback on an asp Button (System.Web.UI.WebControls.Button)

September 3, 2022 by Magenaut

I have an asp button. It’s server-side so I can only show it for logged in users, but i want it to run a javascript function and it seems when it’s runat=”server” it always calls the postback event.

Categories ASP.NET, Q&A Tags .net, ajax, asp.net, javascript Leave a comment

Export to csv in jQuery

September 3, 2022 by Magenaut

I am dynamically generating a div which is like :

Categories ASP.NET, Q&A Tags asp.net, csv, javascript, jquery Leave a comment

IE9 JavaScript error: SCRIPT5007: Unable to get value of the property ‘ui’: object is null or undefined

September 3, 2022 by Magenaut

My website works well on Chrome, Firefox, and Internet Explorer 8. But on Internet Explorer 9, very weird errors are triggered when just hovering over components.

Categories ASP.NET, Q&A Tags asp.net, internet-explorer-9, javascript Leave a comment

jQuery UI ” $(“#datepicker”).datepicker is not a function”

September 3, 2022 by Magenaut

When i use DatePicker, jQuery’s UI plugin, in an existing .aspx page I get errors that:

Categories ASP.NET, Q&A Tags asp.net, datepicker, javascript, jquery Leave a comment

asp.net: Invalid postback or callback argument

September 3, 2022 by Magenaut

I am getting this error:

Categories ASP.NET, Q&A Tags asp.net, c#, html, javascript Leave a comment

Verify External Script Is Loaded

September 3, 2022 by Magenaut

I’m creating a jquery plugin and I want to verify an external script is loaded. This is for an internal web app and I can keep the script name/location consistent(mysscript.js). This is also an ajaxy plugin that can be called on many times on the page.

Categories ASP.NET, Q&A Tags asp.net, javascript, jquery Leave a comment

jQuery returning “parsererror” for ajax request

September 3, 2022 by Magenaut

Been getting a “parsererror” from jquery for an Ajax request, I have tried changing the POST to a GET, returning the data in a few different ways (creating classes, etc.) but I cant seem to figure out what the problem is.

Categories ASP.NET, Q&A Tags asp.net, c#, javascript, jquery, json Leave a comment

Plus sign in query string

September 3, 2022 by Magenaut

I have a webapp created using C# and asp.net. I placed a parameter value in the querystring with a plus(+) sign. But the plus sign disappear.

Categories ASP.NET, Q&A Tags asp.net, c#, javascript Leave a comment

How to call a C# function from JavaScript?

September 3, 2022 by Magenaut

I want to call CsharpFunction, a C# function in code-behind, from JavaScript. I tried the code below but whether the JavaScript condition is True or False, CsharpFunction was called regardless!

Categories ASP.NET, Q&A Tags asp.net, c#, code-behind, javascript Leave a comment

What is the best way to download file from server

September 3, 2022 by Magenaut

I have interesting task which requires me to download a dynamically generated file from a server (ASP.NET) to the client. On the client side it is just JavaScript (jQuery) and the client is able to generate a lot of parameters to customize how the data is exported.

Categories ASP.NET, Q&A Tags asp.net, javascript, wcf Leave a comment
Older posts
Newer posts
← Previous Page1 … Page11 Page12 Page13 … Page81 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress