473,320 Members | 1,859 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,320 software developers and data experts.

Function call from ascx

Hi all,

Any help is greatly appreciated.

I have two ascx called MyFirstAscx.ascx and MySecondAscx.ascx. These
two are contained in MyPage.aspx

I have a function in MySecondAscx.ascx called MySecondPageSub that I
would like to call when a button in MyFirstAscx.ascx is clicked.

Please help pointing me to the right directions.

Thanks!
Lily
Jul 19 '05 #1
0 1536

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

Similar topics

0
by: Lily | last post by:
Hi all, Any help is greatly appreciated. I have two ascx called MyFirstAscx.ascx and MySecondAscx.ascx. These two are contained in MyPage.aspx I have a function in MySecondAscx.ascx called...
4
by: George Durzi | last post by:
I created a simple user control which contains a hyperlink to link the user to a topic in a compiled help file. I named all my help topics to have the same name as the aspx they are for. So in...
1
by: Jason Shohet | last post by:
We have some db-search functionality that we need in several asp.net apps. How to get reuse out of this... I was thinking of putting the search criteria, and the datagrid that displays the...
4
by: Simon Harris | last post by:
Hi All, I'm new to ASP.Net, so be gentle! (Plenty of 'classic' ASP experience), just one question... - Am I correct in thinking that global functions are stored in ASCX files? Thanks! ...
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...
2
by: comp | last post by:
I have a user control inside an aspx page. I was able to create a Public property inside the ascx file and call it from the aspx but whatever I do, I can't find the way to cause an event from...
1
by: JB | last post by:
Hello, I want to us a function on some different pages. How do I have to do that. For example, te function is function test(strText as string) response.write(strText) end function
0
by: ahcirlko | last post by:
I am using different user controls in same page. I have a function inside of the .ascx file. How can I call it from another .ascx file Language C#
3
by: Bert | last post by:
Hi How can you call a function on a user control(.ascx) ? what is the syntax for this? thanks Bert
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.