Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a control to put on some of my web pages. This control needs to execute a subroutine that is on whatever page it is put on.

 

So I press a button on this control to execute a subroutine on the qiven web page that the control is on. The problem is I can't find any way to execute the subroutine. I can't find a way to dereference the path to the subroutime. I am using VB.net 2003. I tried looking at the Page and Application objects but I see nothing to use.

 

I would appreciate any help!

  • Moderators
Posted

What is the circumstance of this? Generaly a user control shouldn't really know what goes on in a given page.

 

Perhaps move the routine into a seperate class, that way you can have access to it from the user control.

Visit...Bassic Software
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...