In this article I will show you to clear cookie in ajax post method call to a controller by setting the cookie expiration date to the past date.
The mvc html begin form link to the action method of the controller that renders the form. The Html helper BeginForm has several overrides.
If Application contains a large number of controllers it is difficult to manage. The asp.net area simplifies large mvc web application in to smaller groupings.
I got the following error while running the application. This json problem is due to the newtonsoft json dll could not be added to the project reference.
The user logs in to the website account; you can encrypt and store cookie in client browser using asp.net token based authentication.
In this article, I will show you error handling in JavaScript with example. The JavaScript try catch block catches the error throw an exception. Here I used to show JavaScript errors using alert message.
In this article, I will show you how to use onmouseover and onmouseout in html using JavaScript. Change the image on mouse over/out using Javascript mouse events in html.
In this article, I will show you to calculate how many words have I typed in a textbox using javaScript. With the help of below code, when the user enters some text in a textbox it calculate word count on a JavaScript keyup event.
In this article, I will show to how to return a string result using ActionResult in mvc 4. You can achieve this by ContentResult to return a string. It will create content result object by using a string.
I got the following error while I needed to show the relative time to post using jQuery timeago js. In my case it is due to multiple JQuery registered on the page.