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

[Solved] Cell Changed and validation issue

4 Answers 98 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Extra
Top achievements
Rank 1
Extra asked on 15 Feb 2011, 11:41 AM
Hi all,

I am now facing a problems on DataGrid cell changed issue, my grid have some fields while column A is Parts Code, and column B is Parts Name.

I want to set a function that when the user input some value in column A, it will check if column A is a valid parts code by using ria service.

If yes, it will get the part name from the checking ria service and put it in column B. If not, it will prompt error message in cell validating checking.

How can I perform this task? I tried to put this logic (check part A is valid or not ) into the cell validating checking. but seem not working

Thank you very much

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Feb 2011, 12:38 PM
Hello Extra,

 Can you clarify if this is the standard Silverlight DataGrid or Telerik RadGridView? 

Regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Extra
Top achievements
Rank 1
answered on 15 Feb 2011, 12:52 PM
Oops, my fault. I am using telerik RadgridView Thanks for your reply
0
Vlad
Telerik team
answered on 15 Feb 2011, 12:58 PM
Hello,

 It will be better to handle such cases at data level using properties setters directly and/or DataAnnotations. The grid will handle them automatically. 

All the best,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Extra
Top achievements
Rank 1
answered on 15 Feb 2011, 01:22 PM
Dear Vlad, Thanks for your fast response. sorry about that my lack of knowledge, I am new in silverlight, even on programming. Quite confuse after read the link you sent to me. Would you mind give me a little example handle on this with telerik radgridview? Sorry for any inconvenience cause Thanks again
Tags
GridView
Asked by
Extra
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Extra
Top achievements
Rank 1
Share this question
or