Forum  General Visual ...  Let's Chat Abou...  VWG and IFrames
Previous Previous
 
Next Next
New Post 2/4/2009 5:53 AM
Unresolved
  portiz
2 posts
No Ranking


VWG and IFrames 

 Hi. I have some questions about vwg and iframes. If I have a page, I can show my vwg project in an iframe, but I would like to know if there is possilble that:

  1. I pass some parameters for my vwg page that is in the iframe (when first load)
  2. Can I communicate with it? If something occurs in my parent page I would like send a message to the vwg page in the iframe.
  3. Can I do the opossite? In something happens in my vwg iframe, communicate it to my "normal" parent page?

I would appreciate your response, thanks to everyone!

 

 
New Post 2/4/2009 8:51 AM
  rdhatch
635 posts
1st Level Poster




Re: VWG and IFrames 

Hi Portiz,

You bet!  Please view this video, which should help you get started with the FormBox control & passing arguments back & forth.

Hope this helps!

Ryan

 


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
New Post 2/5/2009 5:07 AM
  portiz
2 posts
No Ranking


Re: VWG and IFrames 

Hi:

Just for full integration,  Can I communicate with javascript? Let's talk about two scenarios:

  1. My "normal" parent aspx  page makes clicks a button (just javascript) ... to see the change in my vwg page in the FormBox should I always make a postback? I would like to avoid it.
  2. I make something in my vwg page (let's say a tab change)... I would like to "say" to my normal aspx page that something happend (but I don't want a postback)

As you can see, another problem that I have to integrate an normal aspx an vwg is to communicate without postbacks and when I do a callback... to know the context of the FormBox.

Please, help me with that.

Bytheway, Your sample is great !!!  thanks a lot, It helped me too much.

 
New Post 2/12/2009 7:21 AM
  ori.cohen
4390 posts
1st Level Poster




Re: VWG and IFrames 
Modified By ori.cohen  on 2/12/2009 11:22:14 AM)

Hello,

Welcome to Visual WebGui.

The FormBox control is used as a way to place a VWG application inside an ASP.NET application. As the two would still be separate applications streamlined communication between them without postsback wil not be very natural and will come at a cost.

We have a very powerful mechanism we internally call "obscuring". To sum up it's purpose into a few words: this mechanism compresses the size of client resources significantly by modifying their text before loading them to the client. As that is the case, if obscuring is trurned on (the default), it would be tricky to call JavaScript functions of external applications, such as a hosting ASP.NET application.
Turning obscuring off would cause a first call by a client take a bit more time, but will allow for this behavior to be implemented.

If this is an option for you, I would gladly explain to you how to communicate using JavaScript between the two applications in this scenario.

Regards,

Ori Cohen
Manager of support, the Visual WebGui team

 
New Post 12/20/2011 8:59 AM
  VinathaK
4 posts
No Ranking


Re: VWG and IFrames 

Hi,

I have the same requirement mentioned above.

we need to integrate visual webgui application with the asp.net application. I saw the video about using "FormBox" control.

we need to communicate between two applications using javascript. if something happened in wgx page need to inform the aspx page and vise versa.

can we able to integrate, if the asp.net application is developed using vs2008 and webgui application developed using vs2010 and webgui 6.4?

Thanks,

Vinatha

 

 

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  VWG and IFrames
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS