[Sample Of May 25th] How to cross domains using JSONP, jQuery and RESTful WCF Service provider in JavaScript

  Sample Download : http://code.msdn.microsoft.com/How-to-cross-domain-with-8174e773 JSONP is a convention used to invoke cross-domain scripts by generating script tags in the current script. The result is returned in a specified callback function. JSONP is based on the idea that tags such as <script src=”http://…” > can evaluate scripts from any domain and the script retrieved by…

0

[Sample Of May 19th] How to export Chart to an Image or a PDF file in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/Export-Chart-to-Image-or-7adcd978 This sample demonstrates how to export Chart to an Image or a PDF file in ASP.NET.    You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search…

0

[Sample Of May 18th] How to remove registered scripts in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/Remove-registered-4d1a313f Users can register scripts by RegisterStartupScript or RegisterClientScriptBlock. But sometimes, after these scripts run successfully, users may want to remove these scripts as they don’t need to use them again. This sample code will demonstrate how to remove scripts registered by RegisterStartupScript and RegisterClientScriptBlock.    You can find more code samples that demonstrate…

0

[Sample Of Mar 16th] How to dynamically bind an event handler on an aspx page to a control on an ascx page

  Sample Download : http://code.msdn.microsoft.com/How-to-dynamically-bind-an-d1c4ba64 This sample will demonstrate how to dynamically bind an event handler on an aspx page to a control on an ascx page. You can find answers to all the following questions in this code sample: How to get handler string and use reflection to bind click event to specific method. How to…

0

[Sample Of Mar 12th] Add new DropDownList option in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/Add-new-DropDownList-option-d114683b This project uses three popular methods to display a popup message for asking user whether or not to add a new item to a DropDownList. They all happen at client side, and do not postback. They are javascript’s native confirm() function,  AJAX control toolkit’s ModalPopupExtender, and jQuery UI’s Dialog.   You…

0

[Sample Of Mar 5th] How to construct data to Json string before posting to pagemethod using jQuery

  Sample Download : http://code.msdn.microsoft.com/how-to-construct-complex-333db061 Transfer data by using Json is a common scenario. When you use ASP.NET MVC, you usually need to use Jquery grid view control, then you need to transfer the data to this grid view control and get the data back using Json. You can find the answers to all the…

0

[Sample Of Feb 26th] How to use DropDownList with ASP.NET MVC

  Sample Download : http://code.msdn.microsoft.com/How-to-use-DropDownList-1961c60e ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework. This article and the attached code samples demonstrate demonstrates how to use cascading dropdown list with ASP.NET MVC 4.  You can find the answers for…

0

[Sample Of Feb 1st] How to create Cascading DropDownList in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/CSASPNETCascadingDropDownLi-0a3f1ecf This code sample will show you how to create cascading DropDownList in ASP.NET. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples…

0

[Sample Of Jan 28th] How to upload/edit images in ASP.NET application

  Sample Download : http://code.msdn.microsoft.com/Uploadedit-image-in-ASPNET-b96367a9 The ASP.NET code sample illustrates how to upload, read, display, update and delete images stored in a database.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the…

0

[Sample Of Jan 23rd] How to import/export Excel worksheet in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/CSASPNETExcelImportExport-71cf1101 This code sample will show you how to import data from an Excel spreadsheet to SQL Server and how to generate an Excel spreadsheet with data from SQL Server.  You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser…

0