Welcome Guest Search | Active Topics | Sign In | Register

Splash Screen Progessbar Options
adambomb
Posted: Monday, July 14, 2008 8:43:56 AM
Rank: Newbie
Groups: Member

Joined: 7/14/2008
Posts: 2
Hey,

I am trying to figure out how to use your progress bar as a splash screen, or web application loading screen. I am loading alot of datasets into the server memory for faster reference and I am looking for a progress bar that i can trigger on page load and update as it cycles through the datasets. I have tried triggering the the click event of the button using javascript but i haven't had any success.

<script type="text/javascript">
window.onload = function()
{
// document.forms[0].btnStart.value = "true";
document.all("btnStart").click();
}
</script>


Let me know if you guys have any better suggestions or easier methods.

Thanks,

Adam
eo_support
Posted: Monday, July 14, 2008 8:48:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

You need to first wait until the progress bar is loaded by putting your code inside ClientSideOnLoad:

Code: HTML/ASPX
<eo:ProgressBar ClientSideOnLoad="start_progress_bar" ...>
....
</eo:ProgressBar>


You then do:

Code: JavaScript
eo_GetObject("ProgressBar").startTask();


That should get you going.

Thanks!
Thanks
adambomb
Posted: Monday, July 14, 2008 8:54:43 AM
Rank: Newbie
Groups: Member

Joined: 7/14/2008
Posts: 2
wow, thanks for the super fast reply.

That got it going. THANKS ALOT!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.