that is the error does not bubble up to the validation summary.
Example if i enter alpha chars in a integer column the summary does not show "bad input format" the cell does highlight the error.
It worked the last version you had.
See enclosed snapshots.
22 Answers, 1 is accepted
I've managed to simulate the reported issue. The problem will be fixed with the internal build (Monday 9 Jan later today).
Sorry for the inconvenience caused.
Greetings,
Nedyalko Nikolov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
so do i get some points for reporting the bug
or was i like the 100th person to mention it
lol
sure wish i could get a T-shirt for points though
instead i use it for the yearly subscription
that just helps my employers
id rather have a T-shirt
lol
Thank you for your cooperation. I have updated your Telerik points.
All the best,
Hristo
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Please confirm that the fix is working?
Nick
We fixed this issue with internal build 2011.3.1309 (uploaded on Monday 9 Jan). Could you confirm that you are using this particular release and if it is true send me a sample project which I can debug on my side in order to see what is going on?
Kind regards,Nedyalko Nikolov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
As Nedyalko Nikolov has indicated,
The problem is fixed with there latest internal build.
The validation error bubbles correctly to the valdation summary.
The only issue i still have is with a textbox that is open in a cell-template
not the edit-template. Validations errors in that case are not being exposed.
i fixed that by handling the validation summary directly.
thanks
dco
I do use text boxes in a cell template, as well as numericupdown and others, all of which dont bubble up as you say:"The only issue i still have is with a textbox that is open in a cell-template".
Can you please explain what you mean by this: "i fixed that by handling the validation summary directly."
Nick
History, we have not changed the xaml of this RadGridView and the validtion summary was showing in the Q2 2011 build. When we upgraded to Q3, the problems started then.
It has been established that if you are using a column DataTemplate then the validations are not bubbling up.
"The only issue i still have is with a textbox that is open in a cell-template
not the edit-template. Validations errors in that case are not being exposed."
We really need a solution for this issue!
Nick
Did this get fixed in the Q1 2012 SL4 demo release? We are seeing the same behavior using this version. Is it fixed in the latest nightly build perhaps?
Thanks
Nick could you confirm that you have issues related to validation with the latest internal build (2012.2.306)?
If the problem persists could you please send me a sample project which I can debug on my side?
Thank you in advance.
Salie same applies to you too.
Nedyalko Nikolov
the Telerik team
I am currently running build: 2012.1.215.1050 and I am not updating again as I have done this about 4 times trying to fix the issue.
I cannot give you our full project or have time to build a small proof project. The issue is simple however, when ever you use a cell template and put a control within the column and data validation exceptions do not bubble up, for example:
<telerik:GridViewColumn Header="Min">
<telerik:GridViewColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<telerik:RadNumericUpDown Value="{Binding AttendanceMin, Mode=TwoWay, ValidatesOnNotifyDataErrors=True, ValidatesOnExceptions=true, NotifyOnValidationError=True}" NumberDecimalDigits="0" Minimum="0" SmallChange="1" LargeChange="10" />
</StackPanel>
</DataTemplate>
</telerik:GridViewColumn.CellTemplate>
</telerik:GridViewColumn>
I am going to raise a ticket for this becuase it has been going on for months, since Q3 2011 on SL4 and it is impacting production projects.
Nick
In order to get validation notifications there are different approaches depending on how do you validate your business object.
1. If you are using IDataErrorInfo or INotifyDataErrorInfo - all you have to do is to set "ValidatesOnDataErrors=True" to your binding.
2. If you are using DataAnnotation attributes the story is a little bit different. In general when CellTemplate is used you are by-passing RadGridView's validation logic and in this case nested control (in your case RadNumericUpDown should take care about the validation). I've checked with an ordinary TextBox and there is no validation notifications too (so I believe that there is no problem with RadNumericUpDown control). It is not so easy to achieve validation with nested controls, so my suggestion is to use RadGridView's validation mechanism. RadGridView performs DataAnnotation validation only when editing of the entire row is finished. We will consider adding "in view mode" validation with DataAnnotation attributes, but I cannot commit with any specific date or release.
I've just checked everything with latest internal build (2012.1.306) and everything works as expected.
Let me know if there is something unclear.
Nedyalko Nikolov
the Telerik team
I submitted a general support ticket. It includes the project showing the issue.
I am using INotifyDataErrorInfo and have included ValidatesOnNotifyDataErrors=True.
Please just confirm that the dlls I am using (2012.1.215.1040) is showing the error?
(I can then proceed to update to the latest build (2012.1.306.1040))
Thanks
Salie
I am using DataAnnotations, but I am not gleaning an actual solution from your post? Can you please give me a clear indication of what will work when using a control within a cell template in the GridView.
Bear in mind that this actually used to work in pre Q3 2011 versions as we had this feature in a release version with a client and after we updated to the latest binaries, it stopped working.
Nick
Hi Nick,
Could we continue our discussion within our support system? Please open a separate support ticket with more info about your problem (since this forum thread discuss more problems and everything became unclear). It will be very helpful if you can send me a sample project (which works with 2011.Q3 version and does not work with 2012.Q1).
Thank you in advance.
Hi Salie,
I've just checked your sample project with 2012.1.0306 binaries and everything works as expected.
Greetings,
Nedyalko Nikolov
the Telerik team
Those are the licensed dlls. Sent through a support request.
Please upload the 2012.1.306 sample. Was that sample showing it working; a SL5 or SL4 project? I don't intend to upgrade to SL5 for another few months. This issue will hit our critical path in the next 2 weeks, we need to go into production but this is def a blocker.
I don't any support tickets from you. Can you post where you received our latest binaries? According to our system you do not have any purchases nor downloads.
Greetings,Vlad
the Telerik team
Can you address the problem at hand first please :(
Thanks
Salie
We are not able to identify any issue here. Please open a separate ticket with detailed explanation of what you are trying to achieve and a sample project which illustrates the problem.
All the best,
Hristo
the Telerik team