My big dilemma

Discussion in '.NET' started by randy shepardson, Sep 8, 2006.

  1. randy shepardson

    randy shepardson

    Joined:
    Sep 8, 2006
    Messages:
    1
    Hi,

    What is the best way to change properties of one or two controls at regular intervals without reloading the whole page in ASP.NET 2.0?

    My inclination has been to create a small (invisible even) IFRAME whose page would be very simple, with a meta refresh set to, say, 3 seconds. That IFRAME would, upon loading, check the database and determine what changes were needed to the very complex page the IFRAME is residing on, and if changes are warranted, apply them. I must not reload the whole bigger page of course! I can't find anywhere the syntax to do this, I'm hoping its easy and I'm missing something obvious.

    If that is the wrong approach, I'd like to hear ideas, although this model has served me very well pre-ASP.NET. If its the right approach, I can simplify the question as follows: how do you access an object on the page containing the iframe that your code is running in (or in another iframe on the that original page for that matter)?

    For example, in the appropriate function in the partial class in the codefile, I'd love to be able to change the text of a label "lblText" on the original page by saying something like MainPage.lblText.Text = NewText

    Thanks for any help.
    randy shepardson, Sep 8, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kk_oop@yahoo.com

    Big JARs = Big Problems?

    kk_oop@yahoo.com, Sep 16, 2005, in forum: Java
    Replies:
    11
    Views:
    694
    Roedy Green
    Sep 18, 2005
  2. Shaguf
    Replies:
    0
    Views:
    324
    Shaguf
    Dec 24, 2008
  3. Shaguf
    Replies:
    0
    Views:
    430
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    216
    Shaguf
    Dec 26, 2008
  5. Shaguf
    Replies:
    0
    Views:
    199
    Shaguf
    Dec 24, 2008
Loading...

Share This Page