Re: Using callback function
- From: "Marina" <someone@xxxxxxxxxx>
- Date: Thu, 28 Jul 2005 09:05:28 -0400
If you fire off an event, that event handler gets executed immediately. You
should be able to update the display. You may need to fire off the component
on a separate thread.
"Sivaraman.S" <SivaramanS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2A3F75A6-ED39-45D4-87BB-68EDEB2D4503@xxxxxxxxxxxxxxxx
> But i am not able to display that message in the screen immediately after
> i
> receive it. It get displayed only after the execution of component.
>
> "Marina" wrote:
>
>> Define an event in your component. Have the thread that creates the
>> component listen to that event. The component can then raise events that
>> contain a message, and the listening program can handle the event, and
>> respond accordingly.
>>
>> "Sivaraman.S" <SivaramanS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:5BC0FD36-E00F-4386-BD2E-C18651E5C259@xxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > I have a doubt in .net. Hope u could solve the problem. When u r free
>> > plz
>> > consider this doubt.
>> >
>> > I have created a component to run End of Day Tasks. Hope u know how
>> > much
>> > time it takes to run a EOD. Say it takes about 20 min to complete its
>> > execution. Now assume that u have more than 1000 tasks to be executed.
>> > Each
>> > tasks can be of any type(component or stored procedure). I am executing
>> > the
>> > tasks asynchronously. Now I give the input to the main component from a
>> > screen from the client. Can i pass any message or value from the
>> > component
>> > to
>> > the screen, before the component execution finishes.
>> >
>> > For example:
>> >
>> > I want to display "Task 1 started execution.." when the task1 gets
>> > started.
>> > Then it should display completed message. Likewise For every tasks it
>> > should
>> > return the message to the screen.
>> >
>> > Regards,
>> > Sivaraman.S
>>
>>
>>
.
- Follow-Ups:
- Re: Using callback function
- From: Sivaraman.S
- Re: Using callback function
- References:
- Using callback function
- From: Sivaraman.S
- Re: Using callback function
- From: Marina
- Re: Using callback function
- From: Sivaraman.S
- Using callback function
- Prev by Date: Re: Error accessing Temporary ASP.NET Files
- Next by Date: Re: Question on building Web application
- Previous by thread: Re: Using callback function
- Next by thread: Re: Using callback function
- Index(es):
Relevant Pages
|