2578 1
How to validate TinyMCE textarea in ASP.NET MVC?

How can i validate TinyMCE using asp.net MVC and razor? Currently, i was trying to validate it using Model validations but it is not working and not showing any errors even when TinyMCE textarea is blank, so how can i validate it? here is my javascript code

...
Type
Question
2562 3
How to convert dynamic JSON string into C# class?

Hello, I am not able to convert dynamic JSON response string into C# class object, it's a long JSON and i even tried to convert JSON into class using the  website http://json2csharp.com/ but it's doesn't provide me proper JSON class, Here is my sample JSON

...
Type
Question
2556 0
How to read pdf file in C#? (Working example using iTextSharp)
In this article, I will provide you code and working example to read pdf file using itextsharp in C#, using console application example, you can use it in ASP.NET also.
Type
Article
2519 2
How to convert byte[] array to string and Vice versa in C#?

Hello, I would like to know how to convert byte[] array to string and string to byte[] array in C#, using the best possible method, I know there are several links and methods available on the internet but I would like to know best and easy method for this, thanks.

...
Type
Question
2487 1
The UPDATE statement conflicted with the FOREIGN KEY constraint

When I am trying to save Updated data in table using Entity Framework in ASP.NET MVC, I am getting the below error

...
Type
Question


2356 2
C# error "Type 'string' does not contain a definition for 'equals' and no extension method 'equals' of type 'string' could be found."

Hi please I'm converting 12-hour AM/PM format, to military 24-hour time format using C# Console app.

Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock.

My code is that :

...
Type
Question
2329 1
Error "Maximum request length exceeded" in ASP.NET MVC

When I am trying to upload a pdf file(10 MB) using javascript file upload in my ASP.NET MVC application, I am getting this error as below

Maximum request length exceeded

Here is the image of the error

...

Type
Question
2277 0
Creating C# Custom Exception (With Console application example)
To provide clear error details to user and prevent app crashes, sometimes you may need to create custom exception in C#, so in this article I have explained how you can create custom exception in C#.
Type
Article
2273 0
Bundling and Minification in MVC C#
In this article, I will explain how you can implement bundling and minification in your ASP.NET MVC application(step by step) which improves your web-application performance.
Type
Article
2242 1
Redirect users to a view using Switch case in asp.net MVC?

I want to redirect the users to certain pages on the basis of their rating. How can I use a switch case in C# ASP.NET MVC to do this? Please give me suggestions with some code part.

...
Type
Question

Page 5 of 14