Skip to content

Magenaut

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

javascript

OnClick vs OnClientClick for an asp:CheckBox?

August 31, 2022 by Magenaut

Does anyone know why a client-side javascript handler for asp:CheckBox needs to be an OnClick=”” attribute rather than an OnClientClick=”” attribute, as for asp:Button?

Categories ASP.NET, Q&A Tags asp.net, checkbox, javascript, onclick, onclientclick Leave a comment

Handling dates with Asp.Net MVC and KnockoutJS

August 31, 2022 by Magenaut

I recently started working with KnockoutJs and quickly realized using the default Json(myModelWithADate) resulted in the default json encoding of /Date(-62135578800000)/ With a bit of research I located four potential ways to handle the display of my dates in dom elements.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, javascript, json, knockout.js Leave a comment

Unescape JavaScript’s escape() using C#

August 31, 2022 by Magenaut

Are the any functions in C# that handle escape/unescape like JavaScript?

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

Error converting JSON to .Net object in asp.net

August 31, 2022 by Magenaut

I am unable to convert JSON string to .net object in asp.net. I am sending JSON string from client to server using hidden field (by keeping the JSON object.Tostring() in hidden field and reading the hidden field value in code behind file)

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

What is the use of window.external?

August 31, 2022 by Magenaut

What is the use of window.external? Is this used to call the server side functions / methods in C# / VB.NET (ASP.NET) from JavaScript? Can you please point me in right direction?

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

Javascript functions inside ASP.NET User Control

August 31, 2022 by Magenaut

I created ASP.NET user control with javascript function :

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

Generating an action URL in JavaScript for ASP.NET MVC

August 31, 2022 by Magenaut

I’m trying to redirect to another page by calling an action in controller with a specific parameter. I’m trying to use this line:

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

“SCRIPT5 Access is denied” error on IE9 when firing .click() from onchange

August 31, 2022 by Magenaut

We want to reduce the number of steps it takes for a user to upload a file on our website; so we’re using jQuery to open and postback files using the below markup (simplified):

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

Javascript Runtime error: $ is undefined

August 31, 2022 by Magenaut

I have added script in my Default.aspx page. I am getting following error.
Error

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

How to change the date range picker’s date format?

August 30, 2022 by Magenaut

I am using this bootstrap date range picker. I want to change date format date to dd/MMM/yyyy:

Categories ASP.NET, Q&A Tags asp.net, javascript, jquery, twitter-bootstrap Leave a comment
Older posts
Newer posts
← Previous Page1 … Page24 Page25 Page26 … 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