Hi,
I need a help regarding the Read menu with WCF and radgrid.
I have a red grid with template column. In Template column there is a RedMenu. That rad menu items will be desided (when expand get from WCF service) . I followed the link below.
It worked well.
http://www.telerik.com/help/aspnet-ajax/menu-items-wcf-service.html.
But in my case I need to pass data from the row in DataGrid to WCF service. For example will assume grid containes Order details and column with "Order Number". I need to pass the
"Order Number" to the WCF method as done in above sample.
sample has done this using js method as follows.
function OnClientItemPopulatingHandler(sender, e)
{
var context = e.get_context();
context["ProductSuite"] = $telerik.$("input[name='rblSuites']:checked").val();
}
I need to do this as follows
function OnClientItemPopulatingHandler(sender, e)
{
var context = e.get_context();
context["OrderNumber"] = GET THE ORDER NUMBER FROM ROW BELONGS TO THE RADMENU.
}
can anybody help me to resolve this ?
Thank you