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 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 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
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
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
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
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
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
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,466