Skip to content

Magenaut

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

c#

Full postback triggered by LinkButton inside GridView inside UpdatePanel

September 2, 2022 by Magenaut

I have a GridView inside of a UpdatePanel. In a template field is a button I use for marking items. Functionally, this works fine, but the button always triggers a full page postback instead of a partial postback. How do I get the button to trigger a partial postback?

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

Getting the IP address of server in ASP.NET?

September 2, 2022 by Magenaut

How do I get the IP address of the server that calls my ASP.NET page? I have seen stuff about a Response object, but am very new at c#. Thanks a ton.

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

Server tags cannot contain constructs

September 2, 2022 by Magenaut

I am trying to use CDN for my images on the website.
Problem is, sometimes I have server controls such as ImageButton, and I would like to use a class in order to fully extract the path of the CDN. for that purpose I tried doing:

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

Javascript serialization of DateTime in asp.net is not giving a javascript date object?

September 2, 2022 by Magenaut

When I parse a DateTime to json in .Net it returns a string (i.e. "/Date(1249335194272)/"). How do I make it return a js Date object constructor not wrap in a string?

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

Display string as html in asp.net mvc view

September 2, 2022 by Magenaut

I have a controller which generates a string containing html markup. When it displays on views, it is displayed as a simple string containing all tags.

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

pass jquery json into asp.net httphandler

September 2, 2022 by Magenaut

Just don’t get it what i’m doing wrong..
i’ve been looking for dozens of similar questions, yet still got misunderstandings…
when i call CallHandler function from JS, i always get ‘Request Failed’ alert.
please help me.

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

Attach Debugger to IIS instance

September 2, 2022 by Magenaut

I have IIS 5.1 on a XP machine, and visual studio 2005. How do I go about attaching my debugger to IIS instance.

Categories ASP.NET, Q&A Tags asp.net, c#, debugging, visual-studio-2005 Leave a comment

Detecting Session expiry on ASP.NET MVC

September 2, 2022 by Magenaut

I have built a shopping cart that uses Session State to keep the shopping cart data while the user is browsing the store.

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

Remove columns from DataTable in C#

September 2, 2022 by Magenaut

I have a DataSet which I get a DataTable from that I am being passed back from a function call. It has 15-20 columns, however I only want 10 columns of the data.

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

GeneralLink in Sitecore

September 2, 2022 by Magenaut

I’m new to Sitecore.. I have created a Page template and add a field for a URL of type General Link. I have created another field for the text for the link (this is standard practice in this project).

Categories ASP.NET, Q&A Tags asp.net, c#, sitecore Leave a comment
Older posts
Newer posts
← Previous Page1 … Page117 Page118 Page119 … Page451 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