This is a migrated thread and some comments may be shown as answers.

bug in editor: column confusion by name

10 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ymris
Top achievements
Rank 1
Ymris asked on 17 Sep 2010, 01:34 PM
I'm using version 2010.2.825
I have a simple model:
public class DistrictEditModel
{
    [ReadOnly(true)]
    public Guid Id { get; set; }
    public string Name { get; set; }
    public string ShortName { get; set; }
}

Trying to update the 'Name' property through the grid is impossible, updating the 'ShortName' property also updates the Name property.
After renaming 'ShortName' to 'NameShort' it works.

Guess where the error is :)

10 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 17 Sep 2010, 01:54 PM
Hello Michael Sander,

We have recently fixed that problem (as part of another bugfix). I am attaching a hotfix build.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ymris
Top achievements
Rank 1
answered on 17 Sep 2010, 04:58 PM
Wow, that was a quick response.
The patch works, thanks a lot!
0
Jigar
Top achievements
Rank 1
answered on 21 Sep 2010, 08:18 AM
Hi There,

I tried to use this patch, but When i click on Edit button of the grid; it gives errors like

invalid 'in' operand p in telerik.grid.editing.js

thanks,

Jigar.
0
Atanas Korchev
Telerik team
answered on 21 Sep 2010, 08:24 AM
Hi Jigar,

 We need more details about this error. Please provide a sample project which shows that JavaScript error.

All the best,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jigar
Top achievements
Rank 1
answered on 07 Oct 2010, 09:01 AM
Hi Atanas,

Please find the sample project for the said issue. this project is using 930 sp1 hot fix.

http://cid-6a5cc75567684728.office.live.com/browse.aspx/.Public?uc=1

Project Name: GridEditError

More specifically, the problem in this project is with custom component UserCode.ascx. If I remove UIHint for this component everything works fine. But This was working fine with 825 build.

Regards,

Jigar.

0
Hristo Germanov
Telerik team
answered on 07 Oct 2010, 01:31 PM
Hi Jigar,

This bug is already fixed and will be include in next official release of Telerik ASP.NET components.

I have attached the modified file.

Kind regards,
Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jigar
Top achievements
Rank 1
answered on 07 Oct 2010, 01:39 PM
Hi Hristo,

Thanks a lot for your reply.

Regards,

Jigar.

0
Jigar
Top achievements
Rank 1
answered on 08 Oct 2010, 02:22 PM
Hi,

I have updated my project with the patch, but Now I am facing new problem, in data posting. It post data with wrong name;

For Example:
In sample project I have component UserCode.ascx. and it's name is userid_display.

while edit / insert operation it is posting this value as userid.userid_display which breaks my auto-mapping.

can you please show me a way to solve this?

thanks,

Jigar.
0
Jigar
Top achievements
Rank 1
answered on 08 Oct 2010, 02:23 PM
I am using 930 build, and above scenario was working fine with build 825.
0
Hristo Germanov
Telerik team
answered on 11 Oct 2010, 02:48 PM
Hello Jigar,

Could you please send me a running sample project reproducing this issue?

Greetings,
Hristo Germanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Ymris
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Ymris
Top achievements
Rank 1
Jigar
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or