|
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="CascadingDropDown.aspx.vb" Inherits="_Default" %>
<%@ Register
Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit"
TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>CascadingDropDown</title>
</head>
<body>
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" ></ajaxToolkit:ToolkitScriptManager>
<div>
<asp:DropDownList ID="ddListCountry" runat="server" Width="170" />
<br />
<asp:DropDownList ID="ddListCity" runat="server" Width="170" /><br />
<ajaxToolkit:CascadingDropDown ID="CascadingCountry" runat="server" TargetControlID="ddListCountry"
Category="Country" PromptText="Please select a Country" LoadingText="[Loading Country...]"
ServicePath="Cascading.asmx" ServiceMethod="GetCountries" ></ajaxToolkit:CascadingDropDown>
<ajaxToolkit:CascadingDropDown ID="CascadingCity" runat="server" TargetControlID="ddListCity"
Category="City" PromptText="Please select a City" LoadingText="[Loading City...]"
servicePath="Cascading.asmx" ServiceMethod="GetCities" ParentControlID="ddListCountry" ></ajaxToolkit:CascadingDropDown>
</div>
</form>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been working with different technologies and data more than 10 years.
I`d like to challenge with complex problem, then make it easy for using everyone. This is the best joy.
ICT Master in Norway 2013
Doctorandin at Technische Universität Berlin in Data Scientist ( currently )
-------------------------------------------------------------
Diamond is nothing except the pieces of the coal which have continued their activities finally they have become Diamond.
http://www.repocomp.com/