Refreshing using code behind on web page

Refreshing using code behind on web page

am 08.05.2007 20:24:10 von Doogie

Hi,
I'm trying to set up a refresh of some of the data on a page and am
using this:




This works great with one exception. I only want to refresh one grid
on the page, not the entire page. I have the values I don't want to
refresh in the "is not page.postback" if statement, but because that
line is apparently doing an entire refresh of the page, the if
statement doesn't behave like I'd like and all my other data gets
refreshed too.


How do I set it up so a page is "refreshed" but does not act like a
post back so I can refresh just what I want? I would prefer to avoid
doing this in javascript if I could.

Re: Refreshing using code behind on web page

am 08.05.2007 21:55:57 von Dave Anderson

Doogie wrote:
>
>
> This works great with one exception. I only want to refresh one
> grid on the page, not the entire page. I have the values I don't
> want to refresh in the "is not page.postback" if statement, but
> because that line is apparently doing an entire refresh of the
> page, the if statement doesn't behave like I'd like and all my
> other data gets refreshed too.

One possibility: Use an IFRAME to contain your grid. Put the META refresh in
that document only.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.

Re: Refreshing using code behind on web page

am 08.05.2007 22:21:53 von Doogie

I'll give that a try...that sounds like a great idea. Thanks!