Results 1 to 3 of 3

Thread: IFrame source does not take effect when raised from it's containing page

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    8

    IFrame source does not take effect when raised from it's containing page

    I need to store some values that's applicable to only the user's session.
    When this value's changes, I need to take action on several places in the application.
    So what I did is create a class that publish event's that will be raised when properties change.
    Then I add an instance of this class to the Session Collection.
    I got a main form. In the form is an IFrame, with one of many other forms. All forms can change properties of the class in the Session Collection and the events get raised as necessary. I subscribe to this events in the main form.
    One property is the target property which specify what page to be displayed in the iFrame on the main form.
    Now if you look at the sample app I wrote (SessionVars), you will see that even though the event get caught in the main form, when the target property are set from the page in the IFrame, the IFrame's source does not get updated.

    Please have a look and let me know what I am doing wrong.

    Kind Regards
    Petrol.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width