Skip to content

Magenaut

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

ASP.NET

Sitecore: Turning on HTML Caching blocks postback behavior

August 24, 2022 by Magenaut

I have a sitecore page with an ASP dropdownlist, and the data on the form is populated from the selected value of the dropdown. When the selected item of the dropdownlist is changed, a postback is fired. In the postback, the new selected item is added to the querystring and the user is redirected (for linkability).

Categories ASP.NET, Q&A Tags asp.net, caching, postback, sitecore Leave a comment

Implementing javascript confirm box in code behind C#

August 24, 2022 by Magenaut

I want to implement javascript confirm box from code behind.

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

Checking if CheckBoxList has any selected values

August 24, 2022 by Magenaut

I would like to know the fastest/easiest way to check if a CheckBoxList control has any checked items or not, I’m talking about an entire checkbox list as a whole, not a single checkbox.

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

How do you get a User Identity?

August 24, 2022 by Magenaut

Once a user is authenticated and authorized, the application can get information about the user by using the User object’s Identity property. The Identity property returns an object that includes the user name and role information.

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

Setting folder default page in aspnet

August 24, 2022 by Magenaut

My question is really simple. I have a Web application with multiple sub-folders and there’s no Default.aspx page in any of these.

Categories ASP.NET, Q&A Tags asp.net, iis-7, web-config 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

Why is LINQ to SQL entity association creating a new (duplicate) row when inserting a new record?

August 24, 2022 by Magenaut

I am trying to insert a new entity using LINQ-to-SQL, and entity is associated with a User entity. The insert of the new entity is successful, but my existing User entity gets inserted as if it were a new User. The code looks something like the following:

Categories ASP.NET, Q&A Tags .net, asp.net, c#, linq, linq-to-sql Leave a comment

c# Excel skipping first row?

August 24, 2022 by Magenaut

I’m importing an xls file using OleDbCommand to a ds. Problem I’m having is during the foreach on my ds its skipping for first row. I can’t figure out why. Any suggestions?

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

old jquery version is automatically included in asp.net webforms

August 24, 2022 by Magenaut

I have a asp.net c# webforms project. In the output html in the div “aspNetHidden” is a link to

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

How to get the last start time for an ASP.NET app?

August 24, 2022 by Magenaut

How to get the last time the current ASP.NET app was initiated?

Categories ASP.NET, Q&A Tags .net, asp.net, datetime, iis Leave a comment
Older posts
Newer posts
← Previous Page1 … Page853 Page854 Page855 … 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