Welcome Guest Search | Active Topics | Sign In | Register

Error Message: There is no handler for the ProgressBar's RunTask event Options
Sam Andoni
Posted: Tuesday, April 28, 2009 7:34:15 AM
Rank: Newbie
Groups: Member

Joined: 4/28/2009
Posts: 2
I have a web application that has a long task. I want to implement a Progress Bar. I downloaded your demo and followed the instructions and the help provided. I have VS 2008. After I install and configured per instructions, I created a demo project. In the demo project I add the followings in default.aspx:

<eo:ProgressBar ID="ProgressBar1" runat="server" BackgroundImage="00060301"
BackgroundImageLeft="00060302" BackgroundImageRight="00060303"
ControlSkinID="None" IndicatorImage="00060304" RepeatIndicatorImage="False"
ShowPercentage="True" StartTaskButton="Start1" StopTaskButton="Stop1"
Value="30" Width="250px">
</eo:ProgressBar>

<asp:Button ID="Stop1" runat="server" Text="Stop" onclick="Button1_Click" />
<asp:LinkButton ID="Start1" runat="server">Start</asp:LinkButton>

I then copied

ProgressBar1_ItemClick(object sender, EO.Web.ProgressTaskEventArgs e)

From the help and ran the program. I got the eror idicating I am missing a handler. I am not sure where and how to initialize the handler.

It is also not clear to me how to call ProgressBar1ItemClick. Whne I define onclick it expect the fuinction to have EventArgs not Web.ProgressTaskEventArgs

I am nly trying to implment a server side demo where if I click a bottom it lunch the ProgressBar1_ItmClick functin.

Please help
Sam Andoni
eo_support
Posted: Tuesday, April 28, 2009 7:54:22 AM
Rank: Administration
Groups: Administration

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

You need to connect your event handler (ProgressBar1_ItemClick) with the ProgressBar's RunTask (not ItemClick) event. Just copy the handler function won't do that for you. If you use Visual Studio, go to the event tab and then double click RunTask event should do that for you.

Note our tech support generally does not cover such generic programming issues (in your case, how to connect an event handler to a control). So if you continue to have problem, please try to identify whether it is a question related to our product or generic programming questions. For generic programming questions, you should try to seek help from other resource. You can review our support policy here:

http://www.essentialobjects.com/forum/postst1368_Product-support.aspx

Thanks!


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.