Wrox Programmer Forums
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 23rd, 2003, 07:37 AM
Authorized User
Join Date: Jun 2003
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing variables

Hi i have a folowing problem
I have a textbox and a link.
When i click a link i would like to pass and value of the txtDeadLine, but i do not know sintax.
Here is what i have:

<asp:TextBox id="txtDeadLine" runat="server" Width="100px" CssClass="DDiText"></asp:TextBox>

<A onclick="window.open('Kalendar.aspx?textbox=txtDea dLine','cal','width=250,height=300,left=270,top=18 0')"
                                                href="javascript:;"><IMG src="Slike\cal.gif" border="0"></A>

I know that what i need is something like this.

<A onclick="window.open('Kalendar.aspx?textbox=txtDea dLine&Value='Here i do not know, ...

Old December 23rd, 2003, 09:40 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik

Dear Friend: If u wanna send a info from a page-to-page, there r many ways but 1 of them is <form> tag. so look for it, u'll find many things about...

HTH, keep in touch.

Hovik Melkomian.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing Variables silve1999 Pro Java 1 June 15th, 2006 12:54 PM
Passing Variables CMOS Classic ASP Basics 2 January 22nd, 2006 07:38 PM
Passing variables karlirvin PHP How-To 4 December 2nd, 2005 08:02 PM
Passing variables jesseleon Access VBA 4 October 24th, 2003 01:45 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.