Click here to Skip to main content
15,897,891 members
Articles / Web Development / IIS

Transfer arguments between modal page and invoker page in asp.net 1.1

Rate me:
Please Sign up or sign in to vote.
3.47/5 (6 votes)
19 Aug 20053 min read 52.1K   568   29  
Transfer arguments between dialog page and invoker page in asp.net 1.1
<%@ Page language="c#" Codebehind="list.aspx.cs" AutoEventWireup="false" Inherits="Test.list" smartNavigation="True" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>list</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<style>.Grid {
	FONT-SIZE: 12px
}
		</style>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:datagrid id="grd" style="Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 0px" runat="server"
				PageSize="9" AllowPaging="True" AutoGenerateColumns="False" CssClass="Grid" Height="8px" Width="416px">
				<FooterStyle Font-Bold="True"></FooterStyle>
				<SelectedItemStyle ForeColor="#FFFFC0" BackColor="CadetBlue"></SelectedItemStyle>
				<ItemStyle BackColor="White"></ItemStyle>
				<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="Black"></HeaderStyle>
				<Columns>
					<asp:TemplateColumn>
						<HeaderStyle Width="30px"></HeaderStyle>
						<HeaderTemplate>
							<asp:CheckBox ID="CheckAll" Runat="server" AutoPostBack="true" OnCheckedChanged="CheckAll_Checked"></asp:CheckBox>
						</HeaderTemplate>
						<ItemTemplate>
							<asp:CheckBox ID="CheckItem" Runat="server" AutoPostBack="true" OnCheckedChanged="CheckItem_Checked"></asp:CheckBox>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:BoundColumn DataField="OrderID" HeaderText="Order ID">
						<HeaderStyle Width="80px"></HeaderStyle>
					</asp:BoundColumn>
					<asp:BoundColumn DataField="CustomerID" HeaderText="Customer ID"></asp:BoundColumn>
					<asp:BoundColumn DataField="EmployeeID" HeaderText="Employee ID"></asp:BoundColumn>
				</Columns>
				<PagerStyle Visible="False"></PagerStyle>
			</asp:datagrid><asp:label id="Label2" style="Z-INDEX: 109; LEFT: 160px; POSITION: absolute; TOP: 240px" runat="server"
				CssClass="Grid" Height="8px" Width="72px">/pages</asp:label><asp:button id="Button1" style="Z-INDEX: 102; LEFT: 80px; POSITION: absolute; TOP: 280px" runat="server"
				Height="24px" Width="96px" Text="OK"></asp:button><asp:button id="Button2" style="Z-INDEX: 103; LEFT: 216px; POSITION: absolute; TOP: 280px" runat="server"
				Height="24px" Width="96px" Text="Close"></asp:button><asp:imagebutton id="ImageButton4" style="Z-INDEX: 107; LEFT: 80px; POSITION: absolute; TOP: 240px"
				runat="server" Height="16px" Width="16px" ToolTip="last page" ImageUrl="images/last.ico"></asp:imagebutton><asp:imagebutton id="ImageButton3" style="Z-INDEX: 105; LEFT: 56px; POSITION: absolute; TOP: 240px"
				runat="server" Height="16px" Width="16px" ToolTip="next page" ImageUrl="images/next.ico"></asp:imagebutton><asp:imagebutton id="ImageButton1" style="Z-INDEX: 104; LEFT: 8px; POSITION: absolute; TOP: 240px"
				runat="server" Height="16px" Width="16px" ToolTip="first page" ImageUrl="images/first.ico"></asp:imagebutton><asp:imagebutton id="ImageButton2" style="Z-INDEX: 106; LEFT: 32px; POSITION: absolute; TOP: 240px"
				runat="server" Height="16px" Width="16px" ToolTip="previous page" ImageUrl="images/previous.ico"></asp:imagebutton><asp:textbox id="TextBox1" style="Z-INDEX: 108; LEFT: 128px; POSITION: absolute; TOP: 232px"
				runat="server" Height="22px" Width="24px">0</asp:textbox><asp:imagebutton id="ImageButton5" style="Z-INDEX: 110; LEFT: 240px; POSITION: absolute; TOP: 240px"
				runat="server" Height="16px" Width="16px" ToolTip="go to this page" ImageUrl="images/go.ico"></asp:imagebutton>
			<asp:LinkButton id="LinkButton1" style="Z-INDEX: 111; LEFT: 272px; POSITION: absolute; TOP: 240px"
				runat="server" Height="16px" Width="24px"></asp:LinkButton></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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
China China
When I encounter a problem, I am charmed.
When I make it out, I am cordial.

Enjoy your coding !

Comments and Discussions