Register | Login

ZettaCube Forum and Knowledge Base

Welcome to ZettaCube forum. Here you can discuss various issues regarding our ZeeControls product. If you want to contact our developers directly, please email to support@zettacube.com.

Please register to post a message. Registration is immediate and free. Return users please login here.

 
  Forum  Discussions  WebDock  Interaction Between Panels and Container
Previous Previous
 
Next Next
New Post 7/27/2010 2:35 AM
  Aslam
10 posts
No Ranking


Interaction Between Panels and Container 

I have implemented webdock Control  for the existing application by using Iframe as informed by you in the earlier post  and now I want to display the content in Left and Right Panels based on the User Logged in the  existing Application(which is in Iframe).Here whether I can Pass UserID as Query String or Session . In future which there may be a chance to pass some more  Parameters from Iframe to the Left and Right panels based on the Requiremnt.Can you please Clarify  this Query.

 
New Post 7/27/2010 4:11 AM
  Super User Account
1 posts
No Ranking


Re: Interaction Between Panels and Container 

If the page holding the WebDock is in the same ASP.NET application as the page in the IFrame, then it will be best for them to share info with session variables.

 
Let's call the page holding the WebDock 'Page A', and the exsiting app 'Page B'.
 
We'd suggest you to move the user login to 'Page A'.  Upon successful login, login info as well as other info to share will be saved in session variables.  And then the main content panel will load 'Page B' in an IFrame.  'Page B' should be able to share the same session as 'Page A'.
 
Note that the above way could only share info when the pages refresh themselves from the server.  But I think you can have client-side JavaScript to fire a trigger from Page A to refresh Page B and vice versa.
 
Hope this could answer your query.
 
Regards
 
Technical Support
ZettaCube Limited
 
New Post 7/27/2010 6:16 AM
  Aslam
10 posts
No Ranking


Re: Interaction Between Panels and Container 

                                                                            

                                                         Here My Requirement differs from what you have said ,Existing Application is located on another Server and I'm calling it through Iframe in the Current Application.Initially I want to load the existing Application i.e; Iframe in the Main-Content in Web-Dock Control. I'm able to access the Login Page and by  providing Login details  the Application is Launched.So based on the User Logged-in,(I have to track the User Session Details in Iframe and need to transfer them to Left and Right Panels. 

                                                                     After that similarly when End-User selects a specific Task in the main content,I supppose to show the details related to that specific Task-Id .Here I want to pass Task-Id to Left and Right panels which enables me to show the details of Specific Task Accordingly.

     So,this is actual requirement of mines.Can you please consider the above Scenario and provide me what are the changes to be adopted

 

 

                                                                   

 

 
New Post 7/27/2010 1:13 PM
  ZettaCube Support
64 posts
No Ranking


Re: Interaction Between Panels and Container 

Then I guess the problem could be boiled down to the communications between an IFrame and its parent HTML document.  In this case, the existing app is in the IFrame, and the new app maintains the WebDock control.

So the communications will occur at client side with JavaScript.  IFrame can access its parent with the 'parent' keyword.  Please kindly take a look at http://www.dyn-web.com/tutorials/iframes/ for a detailed description of the two-way communications.  (Beware of the cross-domain access issue BTW)

Hope this helps.

 

Regards,

Technical Support

ZettaCube Limited

 
Previous Previous
 
Next Next
  Forum  Discussions  WebDock  Interaction Between Panels and Container
Copyright 2009 by ZettaCube Limited