I am using a xamdatagrid to get user input. user can add new row and enter values in row cells. Once done on click of submit button I want to prompt them a message if any of cell inside newly added row(xamdatagrid) left blank or un-selected. Is there any inbuild support for checking those required fields before I submit values to DB. Or I need to write custom check may be on record added event?
Hello Rajeev,
Thank you for your reply.
I am very glad that my suggestion was helpful for you. If you would like you can add this as a suggestion for future implantation at http://ideas.infragistics.com.
Additional details on the process could be found below.
Steps to create your idea:
Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
Add your product idea and be sure to be specific and provide as much detail as possible.
Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
Include a link to this thread in your idea so product management will be able to look back at this case.
The benefits of submitting the product idea yourself include:
Direct communication with our product management team regarding your product idea.
Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
Allow you to shape the future of our products by requesting new controls and products altogether.
You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
Solution worked..thanks alot. But I certenly feel an important in build feature of xamdata grid it could be.
Hello,
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask.
Hello Rajeed,
Thank you for your post.
I have been looking into your requirements and it seems that currently the functionality that you are looking for is not built-in XamDataGrid. What I can suggest you is to use the RecordUpdating and RecordUpdated events of the XamDataGrid to get the new record after it is added to the XamDataGrid. To achieve that you can use the RecordAdded event and Tag property of the record in XamDataGrid. You can set that property, so you can identify that it is a new record. After that, in RecordUpdating or RecordUpdated event you can check the record’s Tag property and if it is marked as new you can implement the logic you want. I created a short sample application based on your scenario to show you how you can implement this functionality.
Please let me know if you need any further assistance on this matter.