Hi All,
My requirement for the project is display a context menu for every cell. Columns are runtime created, I'm Binding dynamically with DataTable. I need to save for every cell a value (it is working with binding using Datatable) and one URL. URL are specific for every cell and will be used to get all posible options to be displayed in context menu.
I want to hear different opinions to achieve the goal. I was thinking to use GridViewCell.Tag or create a hidden TextBlock (in every cell) to persist URL values.
I'm using lazy load pattern to get all options only when the user left click inside cell. I tried with RadContextMenu.Opened += new RoutedEventHandler(OnMenuOpened); to trigger the request and get all context menu options. The code is working fine hard coding URL value, the next step is recover the right URL from every cell.
I thank you in advance, all idea are welcome.
Cheers.