Skip to content

Magenaut

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

c#

Detect if a page is within a iframe – serverside

August 26, 2022 by Magenaut

How can I detect server-side (c#, asp.net mvc) if the loaded page is within a iframe? Thanks

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

How to add custom table in ASP.NET IDENTITY?

August 26, 2022 by Magenaut

I’m using ASP.NET Identity on my web form application.
Below is my current identity tables:

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

Populate a UserControl Gridview with a List of Objects

August 26, 2022 by Magenaut

I have a List of an object called “Reasons” that contains two properties “Code” & “Text”. I want to use this to fill a UserControl of a Gridview. However, I don’t understand how to link the gridview to the List of Reasons and actually set which data to use from the object.

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

How to change http/https Protocol while using relative URL

August 26, 2022 by Magenaut

Protocol-relative URLs aren’t what I’m looking for. I’m looking for a way of absolutely specifying a protocol (http vs https) while keeping the host name of the url relative.

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

ASP.NET MVC NonAction meaning

August 26, 2022 by Magenaut

Can anybody please tell me why should I use the NonAction attribute? I mean say I have a form with several submit values: Update, Delete or Insert. Since all the submit buttons have the same form in common I’m switching the submit value inside the controller and act accordingly.

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

How to download memoryStream file

August 26, 2022 by Magenaut

i’m Beginner in asp.net, i create pdf file with PdfRpt. i write this code in class

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

How to sort list type generic if more than one property?

August 26, 2022 by Magenaut

I have a list-generic that has a property (class type). I need a sort method for Z parameters (TrainingSet):

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

how can i get the button’s command argument?

August 26, 2022 by Magenaut

Is it possible to get a button’s command argument in javascript. I don’t want to manipulate it, i just want to read it.

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

empty gridview although the sqldatasource has values

August 26, 2022 by Magenaut

I have really weird situation.
I’ve created new aspx page, and without using ANY custom logic objects (everything created with visual studios wizards) tried to create grid view from sqldatasource.

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

consume .net web service using jquery

August 26, 2022 by Magenaut

I made this web service that returns a datatable from sql server db. Can someone help me with the jquery to display it?

Categories ASP.NET, Q&A Tags asp.net, c#, jquery Leave a comment
Older posts
Newer posts
← Previous Page1 … Page344 Page345 Page346 … 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