Skip to content

Magenaut

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

c#

override error message (The value ‘xxx’ is not valid for Age) when input incorrect data type for input field asp.net mvc

August 27, 2022 by Magenaut

I’ve tried to override error message when input incorrect data type in input field on HTML form.
For example I have the model like this.

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

Send mails using EXCHANGE SERVER (Microsoft Outlook web access)in asp.net

August 27, 2022 by Magenaut

I know how to send mails using outlook installed in same machine, where I’m running my code.
Now, the requirement here is to access exchange server (Microsoft OWA) of my organization for sending mails in asp.net code.

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

Dynamically extending features of an application?

August 27, 2022 by Magenaut

I recently came across a way to develop pluggable application modules when using ASP.NET MVC3/4 and I loved the simplicity of the approach. Currently, I have my applications structured as follows:

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

Web API self host – bind on all network interfaces

August 27, 2022 by Magenaut

How do you make a Web API self host bind on all network interfaces?

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api2, c#, self-hosting Leave a comment

asp:RequiredFieldValidator validation based on conditions

August 27, 2022 by Magenaut

I have validation as below but only like to triggered if the checkbox is ticked.

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

FileUpload control working on second click but not first attempt of saving posted file?

August 27, 2022 by Magenaut

My Question

Categories ASP.NET, Q&A Tags asp.net, asyncpostbackerror, c#, file-upload, postback Leave a comment

creating simple cookies in asp.net c#

August 27, 2022 by Magenaut

My application needs to store cookies. When a user logs on I want to make sure that if the cookie does not exist create it and store value, but if it does modify it.

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

ASP.NET web site can’t see .cs file in App_Code folder

August 27, 2022 by Magenaut

So I have an ASP.NET web site (not web application) I’m making in VS2010 with C#. It runs fine on my machine, but when I upload it to the site it’s hosted on, it won’t compile, giving: “CS0246: The type or namespace name ‘DataAccess’ could not be found (are you missing a using directive or an assembly reference?)”

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

Get full query string in C# ASP.NET

August 27, 2022 by Magenaut

As a PHP programmer I’m used to using $_GET to retrieve the HTTP query string… and if I need the whole string, theres loads of ways to do it.

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

ASP.NET: ModalPopupExtender prevents button click event from firing

August 27, 2022 by Magenaut

Here is what I’m trying to do: Click a button on my page, which in turn makes (2) things happen:

Categories ASP.NET, Q&A Tags ajax, asp.net, c#, modalpopupextender Leave a comment
Older posts
Newer posts
← Previous Page1 … Page305 Page306 Page307 … 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