Search
 Search
GET THE HOTEST NEWS ABOUT VISUAL WEBGUI.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 

 

SAP has chosen Visual WebGui for strategic web application, Mr. Saar of SAP explains why in an interview with with Jeremy Geelan at AJAX World.

Click on the video image to watch

SAP chosen VWG for strategic web application

SearchForum Home
  General Visual WebGui® Forums  How do I...?  javascript Invo...
 javascript InvokeMethod asp.net
 
 8/28/2008 1:56:56 PM
fevans
2 posts


javascript InvokeMethod asp.net
 Modified By host  on 9/4/2008 5:05:36 AM)
To invoke javascript, I've downloaded and studied the example at the following url:
URL

It works, but I haven't been able to make it work in my own applications. No errors. InvokeMethod just quietly executes, but nothing happens. I also tried running  "RegisterSelf" and "InvokeMethodWithId".

QUESTIONS:

1. Are there any sample projects which demonstrate javascript invocations within an asp.net application (which uses a "vwg:FormBox")?

2.All the examples show a c# component class, and a class.js file by the same name. Is this naming convention required to allow InvokeMethod?

3. If the javascript functions must be stored in a file with a specific name, how would that apply in an asp.net application? Would the javascript file need to be in the same location as the formcontrol.dll file, or in the directory of the asp.net page which is using the formcontrol?

I'm using version 6.1. Thanks in advance, and if I can provide more detail please let me know.
 8/29/2008 3:45:59 PM
andreas.boos
3 posts


Re: javascript InvokeMethod asp.net
 Modified By host  on 9/4/2008 5:03:46 AM)
Hi.

You can try
this link

Works for me toguether VWGScripting example.
 8/29/2008 11:00:48 PM
fevans
2 posts


Re: javascript InvokeMethod asp.net
 Modified By host  on 9/4/2008 5:04:30 AM)
Right. Seems to work fine in WGX applications, but doesn't seem to work if the application is embedded in an asp.net application.  Hopefully I'm wrong though.


 andreas.boos wrote
Hi.

You can try
this link

Works for me toguether VWGScripting example.
 9/4/2008 5:20:34 PM
ori.cohen
737 posts
1st


Re: javascript InvokeMethod asp.net
Hello,

I sent you an e-mail with a sample application, demonstrating how do use client invocation from a VWG application that is displayed inside a FormBox in an APS.NET page.

Regards,

Ori Cohen
The Visual WebGui team
 9/5/2008 2:20:01 AM
mkvillalobos
28 posts


Re: javascript InvokeMethod asp.net
Hi, Ori...

Do you think you could post this sample application as a code snippet or article to share for the community.  I'm very interested on it too.

Keep the good work !!!  Have a nice day...

Best regards,

Mk

  General Visual WebGui® Forums  How do I...?  javascript Invo...

Visual Studop Partners

Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement
Visual WebGui is copyright 2005-2008 by Gizmox