Hi again, another radGridView question for the experts :)
I have a radGridView that has itemsource bound to a datatable, and I have xaml & code that successfully performs a cell editing template swap based on certain events. The columns are automatically generated, and the two-way-bound datasource is all text fields. The cell editing templates are either text, or datetime (if the datetime template is turned on, then that cell uses a radDateTimeView object).
Everything works great, except that when the radDateTime templated cells go to commitEdit, nothing in the itemSource gets updated, I beleive do to the types being incorrect.
What I would like to do, is go ahead and override the telerik CommitEdit() function, to make the data selected in the radGridView object match the allowable types in the itemsource of the datagrid, namely making it text not a date object at this point, and then call your telerik commit edit afterwords. For whatever reason, visual studio is not recognizing 'base.CommitEdit' or properly overriding it, is there any examples of overridign this function and also would you recommend a different approach to converting this data?
Thanks again.
-Chris
I have a radGridView that has itemsource bound to a datatable, and I have xaml & code that successfully performs a cell editing template swap based on certain events. The columns are automatically generated, and the two-way-bound datasource is all text fields. The cell editing templates are either text, or datetime (if the datetime template is turned on, then that cell uses a radDateTimeView object).
Everything works great, except that when the radDateTime templated cells go to commitEdit, nothing in the itemSource gets updated, I beleive do to the types being incorrect.
What I would like to do, is go ahead and override the telerik CommitEdit() function, to make the data selected in the radGridView object match the allowable types in the itemsource of the datagrid, namely making it text not a date object at this point, and then call your telerik commit edit afterwords. For whatever reason, visual studio is not recognizing 'base.CommitEdit' or properly overriding it, is there any examples of overridign this function and also would you recommend a different approach to converting this data?
Thanks again.
-Chris