AJAX Partial page update problem when displaying a control
Posted
by Jernej Goricki
on Stack Overflow
See other posts from Stack Overflow
or by Jernej Goricki
Published on 2010-03-08T04:11:29Z
Indexed on
2010/03/08
4:21 UTC
Read the original article
Hit count: 528
Hello! I have an interesting problem when using partial page update in asp.net with scriptmanager and a update panel.
My scenario looks like this: I'm using the tab control from the ajax toolkit. I also implemented this control using lazy loading, so that when the page is loaded only the current tab gets loaded all the other tabs don't get rendered, because Im using an UpdatePanel (on a .ascx control) on each of these tabs and when a tab gets selected the updatepanel makes a async postback to load the content for a selected tab.
On one of my tabs Im using a combobox control from obout.com, and it doesn't work. Now I know why it doesn't work. It doesn't work because the control is shown via a partial page refresh, but to correctly display the control it has to do some "magic" that is - register some .css and .js includes on the page (in the head I guess)....but because I load this control via async page refresh...it can't do these stuff.
What kind of workarround do you suggest? Thanks!
© Stack Overflow or respective owner