Ajax

No action was found on the controller that matches the request

How to post the data from json, in Angularjs $http.post we get this error. why we get this error only when we try to post the json object rather than query string. When we pass the parameter in query string same action method works as it should be. It's a very simple article so we are going to check everything by opening every nut and shell. We will use Web API 2 route to customize the URL as... By Ali Adravi   On 12 Jul 2015  Viewed: 17,430
  • ajax
  • angularjs
  • webapi
  • post-method

Ajax Roundedcornersextender padding and margin problem

Ajax Rounded corners extender is used to give corner to any elements like panel and div etc. Most of the time you will need to give the padding to give some space between the border and content, same is used for margin to give some vertical and horizontal space between different controls, but if you will check the properties available with Roundedcornersextender, it is very limited. Here is the... By Alicia Gonzalez   On 15 Jun 2013  Viewed: 840
  • ajax
  • roundedcornersextender
  • css

Ajax AsyncFileUpload control example in asp.net to upload only images

Ajax introduced two new controls AsyncFileUpload and SeaDragon, in this article we will see about Asynchronous file upload control, with its different properties and usage. 1. [AsyncFileUpload][1]: by using this control we can upload a file asynchronously (without postback). The file uploading results can be checked both in the server and client sides. 1. [SeaDrago][2]: The Seadragon... By Ali Adravi   On 20 May 2013  Viewed: 6,637
  • ajax
  • asp.net

Ajax fill country state and city without postback in asp.net

Country will be filled on page load and once user will select any country we will fill states from that country and again when user will change state we will fill city for that state without postback ( asynchronously) with the help of update panel in asp.net. Create three methods to fetch country, state by country and city by state CountryRepository.FetchCountries(); to fetch country... By Hamden   On 04 May 2013  Viewed: 6,137
  • ajax
  • updatepanel

Ajax Modalpopupextender show hide from code behind and by javascript

In this article we will discuss different way of show and hide (open and close) modal popup by using Ajax ModalPopupExtender, how to open/close a modal popup from code behind in asp.net or by using JavaScript, how to use multiple buttons to hide the modal popup in asp.net etc. Suppose we have a grid view to show the record in tabular format and give functionality to edit a record from grid... By Jonathan King   On 08 Apr 2013  Viewed: 28,543
  • ajax
  • javascript
  • asp.net

Watemark to disappear only when user start input in field

Watermark with ajax disappears when field gets focus, which is quite difficult to understand what should I enter in this field if I have not noticed before moving to that field. It's nice to show the water mark until user start entering something into field. If you have ever used Facebook they are using the same functionality, so let's see how can we do it for our applications. Easiest way... By Hamden   On 13 Jan 2013  Viewed: 954
  • ajax
  • html

Ajax progress at mouse pointer with the help of CSS and JavaScript

There are many situations when we need our progress icon at mouse pointer, if page is quite big then we can not show the progress icon either on top or at bottom, in that case if user is doing something in middle of the page then he can not see the progress or wait icon. Suppose we have a grid which shows 100 records per page with some edit functionality, it is useless to show the progress... By Flower   On 31 Dec 2012  Viewed: 1,243
  • ajax
  • css
  • javascript

Upload multiple image in multiple size with progress bar in asp.net

In asp.net there is not control to select multiple files and upload them once with progress bar, so we will use a small third party DLL to achieve this functionality. We will use Flajaxian FileUploader, you can download it from [http://www.flajaxian.com][1] We will create three different images of size 100X100, 400X400 and original file, you can say thumbnail, medium size image and original... By Hamden   On 12 Jul 2012  Viewed: 6,546
  • asp.net
  • flajaxian
  • image

Disable dates in Ajax CalendarExtender

Ajax CalendarExtendar: I found many questions on different sites regarding date range selection in Ajax CalendarExtender, while it is quite simple to bound the range to select from, you can allow all the dates, disable past dates, disable date greater than current date, date should be greater than current date + 1 month, current date to 1 month etc. So let me explain one by one: **For all... By Jonathan King   On 23 Jun 2012  Viewed: 28,465
  • ajax
  • asp.net
  • datepicker
  • jquery