Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > My big dilemma

Reply
Thread Tools

My big dilemma

 
 
randy shepardson randy shepardson is offline
Junior Member
Join Date: Sep 2006
Posts: 1
 
      09-08-2006
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIDS 2009 .Net:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf ASP .Net 0 12-26-2008 09:29 AM
GIDS 2009 .Net:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf ASP .Net Web Controls 0 12-26-2008 06:11 AM
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Python 0 12-24-2008 07:35 AM
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Ruby 0 12-24-2008 05:07 AM
Tube train dilemma, big tummies etc. Brian H¹© Computer Support 12 10-16-2003 10:17 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57