Skip to content

Magenaut

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

ASP.NET

C# ASP.NET User control How to handle a div click server side?

August 25, 2022 by Magenaut

I am creating an user control. The user control is a div and I want to add a click event to it.

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

jQuery Ajax to asp.net asmx web service throws Request format is invalid: application/json

August 25, 2022 by Magenaut

I have jquery call an asp.net webservice with an integer.
On our legaacy application which was ported to .net 4.0 I cannot get this call to work.
I can call a method which has no parameters but sending data to the web method returns the following error:

Categories ASP.NET, Q&A Tags asp.net, jquery, web-services Leave a comment

Slow page refresh times during development

August 25, 2022 by Magenaut

We have a reasonably large ASP.NET MVC app that I work on in Visual Studio 2012 on Win 8. I have a strange issue with slow page load times after recompilation. Usually, the actual build time is about 5 seconds, then the browser opens up and it takes 1-2 minutes to load the page.

Categories ASP.NET, Q&A Tags asp.net, iis-express, visual-studio Leave a comment

IIS 8.5 single worker process vs Web Garden performance

August 25, 2022 by Magenaut

I have simple ASP.NET application which just resizes images with ImageResizer and does nothing else. For testing purposes I disabled disk caching, so images are resized on every request.

Categories ASP.NET, Q&A Tags asp.net, iis, multithreading, performance Leave a comment

Global Error Logging in ASP.Net MVC 6

August 25, 2022 by Magenaut

I’m testing out an MVC 6 Web Api and wanted to implement logging into a global error handler. Just guaranteeing no errors get out of the system without being logged. I created an ExceptionFilterAttribute and added it globally in the startup:

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

C# Adding style to a control

August 25, 2022 by Magenaut

I have a Panel and I am adding controls inside this panel. But there is a specific control that I would like to float. How would I go about doing that?

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

How do I concatenate 2 resource strings together in an aspx page

August 25, 2022 by Magenaut

I have a localised ASP.net application (.net 2.0). I wish to concatenate 2 strings retrieved from the resource file together into one element, something like this.

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

DropdownList autoposback after client confirmation

August 25, 2022 by Magenaut

I have a dropdownlist with the autopostback set to true. I want the
user to confirm if they really want to change the value,
which on post back fires a server side event (selectedindexchanged).

Categories ASP.NET, Q&A Tags asp.net, autopostback, drop-down-menu, onchange Leave a comment

what is the equivalent of the “literal” tag in asp.net mvc

August 25, 2022 by Magenaut

i am migrating a website from asp.net to asp.net mvc

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

New asp “showat” attribute required inconsistently in VS2010. Why?

August 25, 2022 by Magenaut

When I generate code using T4 templates in Visual Studio 2010, I get the following error for each of my asp controls when I try to compile:

Categories ASP.NET, Q&A Tags .net, asp.net, vb.net, visual-studio-2010 Leave a comment
Older posts
Newer posts
← Previous Page1 … Page742 Page743 Page744 … Page944 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