c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android

How to find screen resolution using javascript?

| | Category: JavaScript

We can find out the screen resolution by using the property screen.width and screen.height. The following javascript code will alert the screen resolution.

How to create confirm button dialog using jQuery UI?

| | Category: JQuery

In this article we will discuss how to create confirm button dialog using JQuery UI. We created dialog box with two buttons (ok & cancel), radio button and title. We are going to display the result of selected radio button, based on the user selection it callback functions to execute and return a response message appending it to the page.

How to set width for jQuery UI dialog?

| | Category: JQuery

We can set width to the jQuery dialog by using dialog method. The property supports number (pixels) and string, the only supported string is “auto”. In this below example I will show you how to set width for JQuery dialog.

How to get date duration (years, month, and days) between dates in javascript?

| | Category: JavaScript

In this article we will discuss how to get date duration between dates in javascript. Here we are passing new date object with parameter as date string from using datepicker. Using our own logic and date functions we find out exact date difference.

How to create a chart in jQuery?

| | Category: JQuery

In this article we will discuss how to create a chart using jQuery. The first step we should download chart.js or use the jQuery cdn, just reference the file in the script tag of the page.

How to drag and drop image in to the widget using jquery?

| | Category: JQuery

In this article we will discuss to drag and drop image in the widget using dragable and droppable properties in jQuery ui. While drag is in process, a function is used to call it will nofiy the status of the dragged image. We have set opacity by using css() method. Run the page and drag and drop image on to droppable panel

A potentially dangerous Request.Form value was detected from the client.

| | Category: asp.net MVC

I have created a table “article” with columns articleId and article_content. I am also using html editor for “article_content” column. When I am trying to save I got the following error. It was resolved by adding [AllowHtml] to Description property in class.

How to read text file using fileupload control in asp.net MVC?

| | Category: asp.net MVC

In this step by step article describes how to read text file using fileupload control in asp.net MVC.create a post form method with html controls file, button and create a folder name with Document in the project. When user choose the text file and click the submit button the controller will receive file type, name etc. we will save the file in our project document folder.

[Solved] The relationship model was not loaded because the type model is not available.The following information may be useful in resolving the previous error: The required property does not exist on the type model class

| | Category: asp.net MVC

When I created new table “post” and give foreign key relation to another “category” table after that run the custom tool by right click on edmx file. While running the application I got the following error. It was cleared by including post table foreign key relation to the category class.

How to create a bounce effect for object in jQuery?

| | Category: JQuery

In this article we will see how the JQuery UI effect can be combined to create an object that will travel across the page for a particular distance using position method after that it will return to the starting place by bouncing.

Page 58 of 82