Skip to content

Magenaut

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

javascript

ClientScript.RegisterStartupScript not working

August 24, 2022 by Magenaut

I have searched SO & google, but I can’t seem to get this to work.
The code is in the codebehind click event of a “Cancel” button in my asp.net application but does not seem to close the popup window. Any ideas?

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

Regular expression to match dollar amounts

August 24, 2022 by Magenaut

Could anybody provide me the regular expression for the following patterns?

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

c# Asp.net getting Cookie expiration time set in javascript always returns 01.01.0001

August 24, 2022 by Magenaut

I use a javascript function to store the cookie:

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

Passing value from code-behind to Javascript

August 24, 2022 by Magenaut

I am using a jQueryUI ProgressBar to show users how much allowed file storage they have used. The percentage is calculated in code-behind and should be passed to Javascript.

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

Is there a way to set a asp.net button’s CommandArgument in javascript?

August 24, 2022 by Magenaut

I have a GridView that lists a bunch of items and one of the columns has a link that displays a modal (AjaxToolkit ModalPopupExtender). Let’s call that link “Show”. In that modal, I have a asp:button for saving the data entered in that modal. Let’s call that button “Save”

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

Setting ASP.NET Button attributes client side and read attribute value server side

August 24, 2022 by Magenaut

How can I retrieve a Button custom attribute after the attribute value has been changed using javascript?

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

javascript loop only applying to every other element

August 24, 2022 by Magenaut

i have the following javascript below after i finish an ajax query

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

Call masterpage function from contentpage in asp.net?

August 24, 2022 by Magenaut

I have a function on masterpage and i want to call it from content page from codebehind.

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

OnClientClick is stopping postback

August 24, 2022 by Magenaut

I have a set of ASP.NET controls:

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

Want to make the visibility true from client side of the control which made invisible from server side

August 24, 2022 by Magenaut

I have a text box in a page. Whose visibility is set false from the server side. Now I want to make it visible from client side by using java-script. (Any post back or partial post back can not be implemented in this case.)

Categories ASP.NET, Q&A Tags asp.net, c#, css, html, javascript Leave a comment
Older posts
Newer posts
← Previous Page1 … Page56 Page57 Page58 … 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