This question is locked. New answers and comments are not allowed.
Frank Michael
Top achievements
Rank 1
Frank Michael
asked on 17 May 2010, 09:21 AM
I have a Grid Row Edit with bool checkmarks.
If I have not set the checkmark, then the grid issues the error message: Field required.
This does not make sense, because it must be possible to set the checkmark to "set" or "unset" which means true or false.
See attachment.
However my model code does not imply, that it is required:
If I have not set the checkmark, then the grid issues the error message: Field required.
This does not make sense, because it must be possible to set the checkmark to "set" or "unset" which means true or false.
See attachment.
However my model code does not imply, that it is required:
| public bool Urgent { get; set; } |
| public bool Important { get; set; } |
9 Answers, 1 is accepted
0
Hi Frank Michael ,
Unfortunately, we could not observe the depicted issue. I have attached a simple test project, which implements the aforementioned functionality, for your reference.
Sincerely yours,
Georgi Krustev
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.
Unfortunately, we could not observe the depicted issue. I have attached a simple test project, which implements the aforementioned functionality, for your reference.
Sincerely yours,
Georgi Krustev
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
Frank Michael
Top achievements
Rank 1
answered on 17 May 2010, 12:43 PM
That helps me with another problem, but not with the one about Required entry.
I found out in the meanwhile, that other fields are also affected. Required fields are not required while some not required fields are handled like required.
How could I debug that?
I found out in the meanwhile, that other fields are also affected. Required fields are not required while some not required fields are handled like required.
How could I debug that?
0
Hello Frank Michael ,
Could you reproduce the problems in the sample project? We cannot tell what may have gone wrong unless we reproduce those problems. Also required field validation seems to work as expected in our online demo.
I suggest you try reproducing those issues in the sample project and if successful let us know what to do. Or you can provide a sample runnable project showing the problem you are observing. Since we allow attachments only in support tickets you can use some public file hosting web site (such as mediafire.com or rapidshare.com) in order to send us the sample project.
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.
Could you reproduce the problems in the sample project? We cannot tell what may have gone wrong unless we reproduce those problems. Also required field validation seems to work as expected in our online demo.
I suggest you try reproducing those issues in the sample project and if successful let us know what to do. Or you can provide a sample runnable project showing the problem you are observing. Since we allow attachments only in support tickets you can use some public file hosting web site (such as mediafire.com or rapidshare.com) in order to send us the sample project.
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
Frank Michael
Top achievements
Rank 1
answered on 17 May 2010, 01:48 PM
Hello,
I can not reproduce the problem in the sample you gave me, because if I could, I knew already what the root cause is. Then I would have already nearly solved it.
Also it is difficult to give you my project - thank you for the offer. It is a big project.
What I hoped to get is some debugging instruction like which jQuery/javeScript is executed to validate / generate the validation message or how I can debug in the controller so see what the metadata of the members is and where it comes from.
I can not reproduce the problem in the sample you gave me, because if I could, I knew already what the root cause is. Then I would have already nearly solved it.
Also it is difficult to give you my project - thank you for the offer. It is a big project.
What I hoped to get is some debugging instruction like which jQuery/javeScript is executed to validate / generate the validation message or how I can debug in the controller so see what the metadata of the members is and where it comes from.
0
Hi Frank Michael ,
The validation is built-in. You need to use the ASP.NET MVC source code code if you would like to debug. However I do recommend to try and compare the working sample project with yours to see what the difference is.
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.
The validation is built-in. You need to use the ASP.NET MVC source code code if you would like to debug. However I do recommend to try and compare the working sample project with yours to see what the difference is.
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
Frank Michael
Top achievements
Rank 1
answered on 18 May 2010, 09:55 AM
Seemingly somebody else had the same problem.
http://www.telerik.com/community/forums/aspnet-mvc/grid/checkbox-field-is-required-when-using-the-grid-to-edit-a-non-nullable-bit-field.aspx
I'll check if that solves mine.
http://www.telerik.com/community/forums/aspnet-mvc/grid/checkbox-field-is-required-when-using-the-grid-to-edit-a-non-nullable-bit-field.aspx
I'll check if that solves mine.
0
Frank Michael
Top achievements
Rank 1
answered on 18 May 2010, 12:11 PM
Installing version 2010.416 solved it.
0
Frank Michael
Top achievements
Rank 1
answered on 11 Nov 2010, 01:30 PM
That's strange.
Now that I installed the newer version 2010.3.1027 the problem appears again.
I need to a demo soon.
Now that I installed the newer version 2010.3.1027 the problem appears again.
I need to a demo soon.
0
Hi Frank Michael ,
Atanas Korchev
the Telerik team
This is the beta version. Use the official release.
Kind 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