Click here to Skip to main content
15,889,527 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionValidation issue in asp.net [modified] Pin
trilokharry31-Jul-08 1:26
trilokharry31-Jul-08 1:26 
AnswerRe: Validation issue in asp.net Pin
Nouman Bhatti31-Jul-08 2:49
Nouman Bhatti31-Jul-08 2:49 
GeneralRe: Validation issue in asp.net Pin
trilokharry31-Jul-08 3:43
trilokharry31-Jul-08 3:43 
Questionhow to run asp.net web application on local IIS server after deployment,please anyone can explain with example Pin
sats_katkar31-Jul-08 1:11
sats_katkar31-Jul-08 1:11 
AnswerRe: how to run asp.net web application on local IIS server after deployment,please anyone can explain with example Pin
Ashfield31-Jul-08 1:41
Ashfield31-Jul-08 1:41 
AnswerRe: how to run asp.net web application on local IIS server after deployment,please anyone can explain with example Pin
manish.singhal31-Jul-08 8:20
manish.singhal31-Jul-08 8:20 
AnswerRe: how to run asp.net web application on local IIS server after deployment,please anyone can explain with example Pin
nibinki33331-Jul-08 20:56
nibinki33331-Jul-08 20:56 
QuestionError in Generic Event handler Pin
Member 61699931-Jul-08 1:07
Member 61699931-Jul-08 1:07 
Here are my findings:-

Following is the line on which error comes.
Line 1 --> SendJobTreeMessage(this,new JobTreeCommunicatorEventArgs(JobTreeCommandType.SaveJobTree);

//SendJobTreeMessage is my generic event handler

********************
public event EventHandler<jobtreecommunicatoreventargs> SendJobTreeMessage;
*********************************

i m getting error on the line 1 as "Object reference not set to an instance of an object"

Following possibility might be the cause of error:-
1. “this” object is not properly created or gets vanished after the page is successfully processed.
2. new JobTreeCommunicatorEventArgs(JobTreeCommandType.SaveJobTree) is not creating a object.
3. “SendJobTreeMessage” -> Handler is not properly registered or configured.

Anaysis :-
1. I checked thoroughly while debugging but I couldn’t found any code where “this” object is nullified and also that is not possible. Before coming to this line “SendJobTreeMessage…” I checked “this” Object by fetching its value in the Immediate window. So from my view this shouldn’t be the possibility.
2. Object of JobTreeCommunicatorEventArgs class is created sucessfully as I did that by making its object in separate line like
JobTreeCommunicatorEventArgs abc=new JobTreeCommunicatorEventArgs(JobTreeCommandType.SaveJobTree;

I found no error while its creation and verified it by getting its value in Immediate Window. This one is also rejected.

3. Now comes the handler problem either it is not configured or registered properly. Configuration or Registration point is also not the problem behind that.
I checked the handler definition. It’s same as that is mentioned in other pages like JobCategoryAddEdit.ascx.cs and there is no problem in its functionality.
If that would be the point of error then same error would also come in those pages also.

please reply me asap..thanks in advance

333333333333

Questionset forecolor for control Pin
eyeseetee31-Jul-08 0:24
eyeseetee31-Jul-08 0:24 
AnswerRe: set forecolor for control Pin
eyeseetee31-Jul-08 0:47
eyeseetee31-Jul-08 0:47 
GeneralRe: set forecolor for control Pin
Nouman Bhatti31-Jul-08 2:55
Nouman Bhatti31-Jul-08 2:55 
GeneralRe: set forecolor for control Pin
eyeseetee31-Jul-08 4:30
eyeseetee31-Jul-08 4:30 
Questioninitial window height and width Pin
Member 387988131-Jul-08 0:24
Member 387988131-Jul-08 0:24 
AnswerRe: initial window height and width Pin
AhsanS31-Jul-08 0:27
AhsanS31-Jul-08 0:27 
GeneralRe: initial window height and width Pin
Member 387988131-Jul-08 0:36
Member 387988131-Jul-08 0:36 
AnswerRe: initial window height and width Pin
Anudeep Jaiswal31-Jul-08 1:29
Anudeep Jaiswal31-Jul-08 1:29 
GeneralRe: initial window height and width Pin
Member 387988131-Jul-08 1:33
Member 387988131-Jul-08 1:33 
QuestionCreating a custom pager Pin
Md.Asraful Islam31-Jul-08 0:05
Md.Asraful Islam31-Jul-08 0:05 
AnswerRe: Creating a custom pager Pin
Christian Graus31-Jul-08 0:12
protectorChristian Graus31-Jul-08 0:12 
QuestionChanging DateTime format of a gridview column Pin
johland31-Jul-08 0:05
johland31-Jul-08 0:05 
AnswerRe: Changing DateTime format of a gridview column Pin
Christian Graus31-Jul-08 0:12
protectorChristian Graus31-Jul-08 0:12 
GeneralRe: Changing DateTime format of a gridview column Pin
johland31-Jul-08 0:34
johland31-Jul-08 0:34 
AnswerRe: Changing DateTime format of a gridview column Pin
AhsanS31-Jul-08 0:13
AhsanS31-Jul-08 0:13 
AnswerRe: Changing DateTime format of a gridview column Pin
Anudeep Jaiswal31-Jul-08 1:26
Anudeep Jaiswal31-Jul-08 1:26 
Questionsend email to user without user login ... need help urgent Pin
dream_liner_7e730-Jul-08 23:52
dream_liner_7e730-Jul-08 23:52 

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.