|
Rank: Newbie Groups: Member
Joined: 4/23/2009 Posts: 9
|
Hi, I am currently using iframe with your navigator control to display the page content on the right panel but I want to change that and replace iframe with a callback panel that will show a progress indicator and load the aspx page asynchronously. Is there any way to do this? I tried to post the page using eo_callback function but it does not work.
Thanks Avneesh
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can take a look of our sample project. Our sample project has a TreeView on the left and dynamically loads all the samples on the right side with a CallbackPanel. The most important difference between a CallbackPanel solution and an iframe solution is with iframe, the right side is in a separate page. With CallbackPanel, the right side is a portion within the same page.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/11/2007 Posts: 8
|
<%@ Master Language="VB" CodeFile="test.master.vb" Inherits="Support_test" %> <%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %> <% Response.Buffer = True%>
<!-- Splash Screen --> <!-- end Splash Screen -->
<% Response.Flush()%>
LOTS OF DATA HERE
<JAVA Script to kill Splash Image>
I had a Splash screen on a page with a lot of data it took me a while to figure this out but the (Response.Flush) as killing the CallbackPanel
so if any one else is have a problem with the CallbackPanel make sure to remove any <% Response.Flush()%> lines from your code
|
|
Rank: Newbie Groups: Member
Joined: 4/23/2009 Posts: 9
|
I looked at the demo and it is using user controls and not pages. I want to load aspx page and not the seperate user controls. Is there any way to do that with calback? I tried to get the data using xmlhttp object and then add it to the div but innerHTML does not like it.
Thanks Avneesh
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
avneesh wrote:I want to load aspx page and not the seperate user controls. That's actually exactly what we mentioned in our first reply. CallbackPanel always work on the same page. If you want to load a different page, you use iframe. If you want to update a portion of the same page, you use CallbackPanel. As such you would never replace an iframe with a CallbackPanel.
|
|