Client Callback in ASCX files

G

Guest

I have an ascx file that dynamically loads other ascx files. each of these
ascx files need to perform client callback functions. It seems that when i
try and break out all the javascript code into the individual files things do
not work. However, if i put all the Callback functionality into the "Driver"
ascx page it will work just fine. The only problem is i can not encapsulate
all the specific functionality into the individual ascx files.

so the question is how do I perform client callbacks in all the ascx files?

Note: The driver page builds the UI in code, looping over a record set to
build selections. Client callback functionality tracks items that have been
selected in a session object. User navigates to another section and again
part of the UI is dynamically built. This other section will not perform the
client callback functionality.
The onclick event is fired and javascript is run except it never goes into
the RaiseCallbackEvent(String eventArgument) or GetCallbackResult() methods.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top