Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: jojoba@xxxxxxxxx
- Date: Tue, 03 Jul 2007 15:16:51 -0700
Hi again
GroupReader said:
Here's what I like best: Create updatePanels anywhere on your
page you want. Make sure they are all "conditional" and make sure you
DO NOT define any triggers. Make sure children as triggers is false.
Then, in the code-behind, call UpdatePanel.Update() method to tell
asp.net to refresh only the proper updatePanel and not the rest of the
page whenever you want. This seems to work really well.
That's sounds like great advice (why update twice, right?).
I implemented those changes.....Still got that darn update problem
(arg!)
GroupReader said:
My question: I don't really understant what you mean by "one of the
updatePanels has a webpage in it"? What, technically speaking, does
that mean? Are you using an IFrame? Are you fetching html from a
page and inserting it into a div for it to be rendered?
Yep, i am using a dynamically generated iframe:
Frame = HtmlGenericControl('iframe')
Then i point the src attribute to whatever url i want:
Frame.Attributes.Add("src", "http://www.google.com")
That works great.
What stinks is that when i overlay a div on the iframe, and then tell
the UpdatePanel containing the div to update, the whole page flashes.
Kinda confusing....especially since if i change the div to an iframe,
i do not get an flash across the entire page....the update works as
expected
any thoughts.
thx again,
jojoba
.
- References:
- why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: jojoba
- Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: GroupReader
- Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: matthew . sibigtroth
- Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: Patrice
- Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: matthew . sibigtroth
- Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: matthew . sibigtroth
- Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- From: GroupReader
- why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- Prev by Date: RowCommand: accessing ObjectDataSource from inside gridview inside a repeater?
- Next by Date: Re: Unbound Access Data Source
- Previous by thread: Re: why does updating a div inside of an updatepanel still refreshes entire page?!?!!
- Next by thread: asp.net page: Javascript not loading
- Index(es):
Relevant Pages
|