Skip to content

Magenaut

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

c#

Passing an array of values in an ASP.NET jQuery AJAX POST

August 30, 2022 by Magenaut

I have a ListBox on my page, and I’d like to make an AJAX post containing all the selected items. Here’s my code:

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

ASP.NET Kill Session By Id

August 30, 2022 by Magenaut

My application has a control of User Permissions, because not all users can access full website. At this moment, all those permissions for an specific user are stored in his session, ’cause It would be a problem for me to search at Database every Post Back.

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

ModelValidationException was unhandled user code

August 30, 2022 by Magenaut

Can you help me on the following error, i checked everything no ID mistakes

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

No authentication handler is configured to authenticate for the scheme: Microsoft.AspNet.Identity.External

August 30, 2022 by Magenaut

I am building an api using asp.net 5 rc2. I am trying to implement openiddict-core, found here for local accounts and i also want to allow for users to use external logins, such as google.

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

How to convert a GridView to DataTable and sort the DataTable?

August 30, 2022 by Magenaut

I want to convert my GridView to a DataTable. Note: The GridView doesn’t have a DataSource!
I want to sort the DataTable and put it back to the GridView, is it possible? Important is that my GridView must be sorted.

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

Generate pdf file after retrieving the information

August 30, 2022 by Magenaut

I need to create a pdf file from data obtained from a database. I have to retrieve the data from database and generate these data as a pdf file. I would like to have pointers (helpful information). Thank you. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers … Read more

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

Conditionally disable ASP.NET MVC Controller

August 30, 2022 by Magenaut

What is the best way to disable ASP.NET MVC controller conditionally?

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

Capturing login event so I can cache other user information

August 30, 2022 by Magenaut

I’ve built a web application. When I built it I ticked ‘Organizational Accounts’

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

asp:placeholder contents to string

August 30, 2022 by Magenaut

Simple question but I can’t find anything on it, is it possible to get the contents of an asp:placeholder to a string? This would be great to do server side if it is possible.

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

SQL Server: Rethrow exception with the original exception number

August 30, 2022 by Magenaut

I am using a TRY CATCH block in a stored procedure where I have two INSERT instructions.

Categories ASP.NET, Q&A Tags asp.net, c#, exception-handling, sql, sql-server-2008 Leave a comment
Older posts
Newer posts
← Previous Page1 … Page209 Page210 Page211 … 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