WebForm_DoCallback is not defined

B

Bernhard Wurm

Hello!
I try to programm a webcontrol, which uses remote-scripting.
Therefore I implemented the ICallbackEventHandler interface.
I Registered the JavaScript-File as embeded Resource in the OnPreRender
method.
When I view the HTML source, my JavaScript File is included as
<script src="/Web/WebResource.axd?d=YcesD2cjPq0eGGd...."
type="text/javascript">also the automatic generated code where the ASP.NET
2.0 Call-Back functionsare written is included and also as
WebResource-Script tag.But, I don't know why, I get the Error:
WebForm_DoCallback is not definedat the line, where I call the function
WebForm_DoCallback. (whichis defined at the auto-generated js file of
asp.net, which is includeded.Does anyone what is wrong here?thank
you!Bernhard Wurm
 

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,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top