473,396 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to call a function in another aspx page?

I want to provide date selection in a page. Basically I want to have similar
effect as DTPicker in Visual Basic.

My idea is to create a calendar control in mycalendar.aspx. Then I create a
button in main.aspx. When the user clicks the button, it should call
mycalendar.aspx and pop up a calendar control.

The problem is I don't know how to call a function in another aspx page? Or
I shouldn't do in this approach?

Please advise. Thanks!

Nov 18 '05 #1
2 2597

Why not try hiding and showing the calendar on the same page?

-den

On Thu, 20 Nov 2003 11:25:16 -0800, "Matthew Louden"
<ma*******@hotmail.com> wrote:
I want to provide date selection in a page. Basically I want to have similar
effect as DTPicker in Visual Basic.

My idea is to create a calendar control in mycalendar.aspx. Then I create a
button in main.aspx. When the user clicks the button, it should call
mycalendar.aspx and pop up a calendar control.

The problem is I don't know how to call a function in another aspx page? Or
I shouldn't do in this approach?

Please advise. Thanks!


Nov 18 '05 #2
Matthew,

Check out this article:

http://aspnet.4guysfromrolla.com/articles/030202-1.aspx

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Matthew Louden" <ma*******@hotmail.com> wrote in message
news:Or*************@tk2msftngp13.phx.gbl...
I want to provide date selection in a page. Basically I want to have similar effect as DTPicker in Visual Basic.

My idea is to create a calendar control in mycalendar.aspx. Then I create a button in main.aspx. When the user clicks the button, it should call
mycalendar.aspx and pop up a calendar control.

The problem is I don't know how to call a function in another aspx page? Or I shouldn't do in this approach?

Please advise. Thanks!


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: cheezebeetle | last post by:
ok, so I am having problems passing in an ASPX function into the Javascript in the codebehind page. I am simply using a confirm call which when they press "OK" they call this ASPX function, when...
3
by: guy | last post by:
Hi, I need to make a call from my C# application to an ASP.NET web page and pass some parameters to it and receive back a return value. Anybody know what the class/function name is in C# to do...
2
by: moondaddy | last post by:
I'm using vb.net and have an aspx page where I want to call a function in the code behind to do something on the backend and I want to call this function from a jscript function in the aspx page. ...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
10
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal...
4
by: ruca | last post by:
Hi, Can anyone tell me how can I call a function of my Web Page from javascritp???? I have a grid that when I click in a cell I want to call another function present in that same page? It is...
1
by: momo | last post by:
Okay guys, I have this one problem and I admitted I am a novice at this. This is a Code Behind in an aspx page. You will see where I have the plus signs below in SecureQueryString2.vb where I am...
3
by: KaNos | last post by:
Hi, "robot script pages" are html+javascript pages, can be played in aspx player. So in this tech, robot call aspx player's function (an interface is sheared) and wait a result synchronously with...
1
by: Mike | last post by:
I have an web page (page1.aspx) that has a method in the code behind that I want to call from another page. Is this possible to do? The method resides in the page1.aspx.cs file, its a public...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.