Click here to Skip to main content
15,893,381 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Validation-------urgent Pin
Sandeep Akhare5-Sep-07 23:50
Sandeep Akhare5-Sep-07 23:50 
AnswerRe: Validation-------urgent Pin
Shujaat Ullah Khan6-Sep-07 0:09
Shujaat Ullah Khan6-Sep-07 0:09 
GeneralRe: Validation-------urgent Pin
Priya_20076-Sep-07 1:41
Priya_20076-Sep-07 1:41 
GeneralRe: Validation-------urgent Pin
Shujaat Ullah Khan6-Sep-07 1:51
Shujaat Ullah Khan6-Sep-07 1:51 
QuestionAccessing an ImageField in a GridView programmatically Pin
Rohde5-Sep-07 23:37
Rohde5-Sep-07 23:37 
AnswerRe: Accessing an ImageField in a GridView programmatically Pin
Parwej Ahamad5-Sep-07 23:59
professionalParwej Ahamad5-Sep-07 23:59 
GeneralRe: Accessing an ImageField in a GridView programmatically Pin
Rohde6-Sep-07 0:15
Rohde6-Sep-07 0:15 
Questioncustom event handler problem Pin
ekynox5-Sep-07 23:25
ekynox5-Sep-07 23:25 
g'day folks,

i'm having a small issue with regards to custom event handlers in my web service. I'm trying to create a custom event handler whose purpose is to display messages on the web form as a particular method is executed via the web service. For instance, lets assume that the web method generates a report from a database then my eventhandler would update on the web form indicating which aspects of the report has been generated.

Initially I thought let's do it the standard way as you would in a standard console application as follows:
public delegate void ReportGenerationProgressEventHandler(string x);
public event ReportGenerationProgressEventHandler myReportGenerationHandler;

The above can be instantiated as follows:
myReportGenerationHandler+= new ReportGenerationProgressEventHandler (Service_myReportGenerationHandler);

In my webservice if I just declare the delegate and event types as above. Then instantiate an object of my webservice in the webform I do not get an option to create my report progress eventhandler via intellisense.

I have tried google but most disscusions tends to be focused on custom events for custom controls unless I go write a custom control which I think will not be appropriate in my case at all.

Is there an alternative method of achieving the same result in asp.net ?

thanks

edit: mistake in code
AnswerRe: custom event handler problem Pin
ekynox6-Sep-07 11:03
ekynox6-Sep-07 11:03 
QuestionDetailsView loses controls state and binding after an exception occurs Pin
Alex Getman5-Sep-07 22:49
Alex Getman5-Sep-07 22:49 
QuestionTracing Pin
Priya S5-Sep-07 22:20
Priya S5-Sep-07 22:20 
AnswerRe: Tracing Pin
Parwej Ahamad5-Sep-07 22:39
professionalParwej Ahamad5-Sep-07 22:39 
GeneralRe: Tracing Pin
Priya S6-Sep-07 1:18
Priya S6-Sep-07 1:18 
AnswerRe: Tracing Pin
Sandeep Akhare5-Sep-07 23:48
Sandeep Akhare5-Sep-07 23:48 
GeneralRe: Tracing Pin
Priya S6-Sep-07 1:17
Priya S6-Sep-07 1:17 
GeneralRe: Tracing Pin
Sandeep Akhare6-Sep-07 1:50
Sandeep Akhare6-Sep-07 1:50 
AnswerRe: Tracing Pin
Shujaat Ullah Khan6-Sep-07 0:12
Shujaat Ullah Khan6-Sep-07 0:12 
GeneralRe: Tracing Pin
Priya S6-Sep-07 1:16
Priya S6-Sep-07 1:16 
GeneralRe: Tracing Pin
Shujaat Ullah Khan6-Sep-07 1:44
Shujaat Ullah Khan6-Sep-07 1:44 
QuestionASP 2.0 Deployment Pin
pksno15-Sep-07 22:04
pksno15-Sep-07 22:04 
QuestionHow can I access a textbox in an insertItemTemplate in a formview control. Pin
Big Ralph5-Sep-07 21:35
Big Ralph5-Sep-07 21:35 
AnswerRe: How can I access a textbox in an insertItemTemplate in a formview control. Pin
Ahmad Adnan5-Sep-07 23:14
Ahmad Adnan5-Sep-07 23:14 
GeneralRe: How can I access a textbox in an insertItemTemplate in a formview control. Pin
Big Ralph5-Sep-07 23:35
Big Ralph5-Sep-07 23:35 
Questionproblem when creating excel from a web page Pin
S Palip5-Sep-07 21:18
S Palip5-Sep-07 21:18 
AnswerRe: problem when creating excel from a web page Pin
Shujaat Ullah Khan6-Sep-07 0:47
Shujaat Ullah Khan6-Sep-07 0:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.