Hi, i need to update some of my cell in radgridview, previously i used GetCellContent in silverlight, but i can't find function like this in telerik? Is there any substitution?
3 Answers, 1 is accepted
answered on 13 Apr 2010, 01:52 PM
Hi l k,
GetCellContent was functionally replaced by the CreateCellElement method. Can you please elaborate a bit more and share your scenario. I believe we can thing of some workaround.
All the best,
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.
I am trying to retrieve a value of a cell in order to pass to a child window and believe this would have worked.
my scenario is such.
In my grid I have loaded details of an entity, each row is unique due to a PK int. I do not show this Int in the grid view. However I need to pass the Int to a child window . How can I pass this cell value of the selected row onto the child window.
I have seen it mentioned in other posts where using the datacontext is suggested however no code is given to show how to specify the Int from the collection and pass to the child window? I am using the button click event .
answered on 02 Dec 2013, 09:33 AM
Due to the UI Virtualization only the cells that are displayed into view will be actually created and displayed with RadGridView.
You are right that you should work with the DataContext of the row, i.e. the bound data item.
For example, you can get the Item like so: BusisnessObject myBusisnessObject = row.Item as BusisnessObject;
Then you can work with it, access its PK and all the properties you need.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>