I applied a fix i found on the forums to allow me to delete categories and applied the same fix to allow me to delete time entries however I am still getting an error when I try to edit a time entry? Does anyone know a way to allow edititing on a time entry?
I do not want to force users to delete entrys if they could just click the edit button...
Here is the error detail that you require Chetan: Please post some code to fix this issue. Many thanks.
Test Steps:
1. Select an existing time entry detail record in TimeEntry.aspx
2. Click on the <Edit> icon
3. Modify something in one of the fields
4. Click on the <Save Details> icon
5. Error Message Below
Source:/CanDoSomeThings/TimeEntry.aspx Browser:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
IP:58.170.199.138
Error in: http://www.hexagon-global.com/CanDoSomeThings/TimeEntry.aspx Error Message: ObjectDataSource 'ProjectListDataSource' could not find a non-generic method 'UpdateTimeEntry' that has parameters: CategoryName, Duration, ReportedDate, UserName, ProjectName, Description, Id.
Can you please provide me test username & password to test it
Chetan, can you not reproduce this error in your test system?
I am getting it, and user 'gguertin' is getting it, hence it is most likely in the download.
Judging by the text of the error message it is clearly a coding bug, relating to either the declaration or the call of method UpdateTimeEntry, something I haven't changed.
It is possible that we are not on the most recent drop.
Well, Chetan, it does not help as much as actually fixing the bug in your starter kit would have helped, if you get my drift.
I'll tell you what, how about this? I will fix the bug and then post the change here. Ad then you can put it in your starter kit so that future newbies do not continue to trip over it?
I just have something else to knock off in the next couple of days, but I'll get to it soon.
gguertin145
Member
2 Points
4 Posts
error using edit function
Mar 11, 2009 04:52 PM|LINK
I applied a fix i found on the forums to allow me to delete categories and applied the same fix to allow me to delete time entries however I am still getting an error when I try to edit a time entry? Does anyone know a way to allow edititing on a time entry? I do not want to force users to delete entrys if they could just click the edit button...
Thanks!
chetan.sarod...
All-Star
65689 Points
11133 Posts
Re: error using edit function
Mar 12, 2009 03:22 AM|LINK
Can you post the error details
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chetan.sarod...
All-Star
65689 Points
11133 Posts
Re: error using edit function
Mar 31, 2009 03:19 AM|LINK
What kind of error you are facing, Please post the detail error
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chetan.sarod...
All-Star
65689 Points
11133 Posts
Re: error using edit function
Apr 14, 2009 03:26 AM|LINK
Please refere sollowing post, if it is useful to you
http://forums.asp.net/t/1383759.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Hyacinth Bro...
Member
64 Points
42 Posts
Re: error using edit function
May 13, 2009 05:46 AM|LINK
Here is the error detail that you require Chetan: Please post some code to fix this issue. Many thanks.
Test Steps:
1. Select an existing time entry detail record in TimeEntry.aspx
2. Click on the <Edit> icon
3. Modify something in one of the fields
4. Click on the <Save Details> icon
5. Error Message Below
Source:/CanDoSomeThings/TimeEntry.aspx
Browser:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
IP:58.170.199.138
Error in: http://www.hexagon-global.com/CanDoSomeThings/TimeEntry.aspx
Error Message: ObjectDataSource 'ProjectListDataSource' could not find a non-generic method 'UpdateTimeEntry' that has parameters: CategoryName, Duration, ReportedDate, UserName, ProjectName, Description, Id.
chetan.sarod...
All-Star
65689 Points
11133 Posts
Re: error using edit function
May 14, 2009 03:23 AM|LINK
Can you please provide me test username & password to test it
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Hyacinth Bro...
Member
64 Points
42 Posts
Re: error using edit function
May 14, 2009 03:46 AM|LINK
Chetan, can you not reproduce this error in your test system?
I am getting it, and user 'gguertin' is getting it, hence it is most likely in the download.
Judging by the text of the error message it is clearly a coding bug, relating to either the declaration or the call of method UpdateTimeEntry, something I haven't changed.
It is possible that we are not on the most recent drop.
chetan.sarod...
All-Star
65689 Points
11133 Posts
Re: error using edit function
May 15, 2009 03:30 AM|LINK
You have to overload UpdateTimeEntry(...) with the missing parameters.
http://forums.asp.net/t/1199275.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chetan.sarod...
All-Star
65689 Points
11133 Posts
Re: error using edit function
May 18, 2009 03:37 AM|LINK
I hope this will help you
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Hyacinth Bro...
Member
64 Points
42 Posts
Re: error using edit function
May 18, 2009 04:23 AM|LINK
Well, Chetan, it does not help as much as actually fixing the bug in your starter kit would have helped, if you get my drift.
I'll tell you what, how about this? I will fix the bug and then post the change here. Ad then you can put it in your starter kit so that future newbies do not continue to trip over it?
I just have something else to knock off in the next couple of days, but I'll get to it soon.
Hyacinth.