ASP.NET: Web User Control calling functions in page?
- From: "planetthoughtful" <planetthoughtful@xxxxxxxxx>
- Date: 6 Aug 2006 18:51:20 -0700
Hi All,
I have a Web User Control that I would like to use in several pages in
my ASP.NET application.
I'm wondering, however, if it's possible to call a function contained
in the page from within the Web User Control?
To give a little more detail:
The Web User Control itself adds and displays notes associated with an
order. When the submit button in the control is clicked, I need to call
a function that refreshes the overall data being displayed for the
order on the page. This function is called by other events as well, so
it doesn't make sense to include it within the Web User Control itself.
So, I'm wondering a) if it's possible to call a function defined in the
page in which the Web User Control is included, and b) if it is
possible, what the syntax for that would be?
Any help would be much appreciated!
Much warmth,
planetthoughtful
---
"Lost in thought"
http://www.planetthoughtful.org
.
- Follow-Ups:
- Re: ASP.NET: Web User Control calling functions in page?
- From: Nicholas Paldino [.NET/C# MVP]
- Re: ASP.NET: Web User Control calling functions in page?
- Prev by Date: Re: dataTable problem?
- Next by Date: Re: Scope within do{} ?
- Previous by thread: How do I encrypt a number from 1 to 1000 to a 4 digit hex code?
- Next by thread: Re: ASP.NET: Web User Control calling functions in page?
- Index(es):