This is a migrated thread and some comments may be shown as answers.

[Solved] details popup window on row selection - client side

0 Answers 27 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ahmed
Top achievements
Rank 1
Ahmed asked on 27 Feb 2012, 02:50 PM
Hi 
i have a datagrid as below

@(Html.Telerik().Grid(Model)
        .Name("Grid").Localizable("fr-FR")
      .DataBinding(dataBinding => dataBinding.Ajax().Select("IndexAjax", "PointsCoupures")).Columns(columns =>
        {
            columns.Bound(o => o.Id).Width(100);
            columns.Bound(o => o.input_status);
            columns.Bound(o => o.LatitudeDecimal).Title("Longitude");
            columns.Bound(o => o.LongitudeDecimal).Title("Latitude");
           })
        .ClientEvents(events => events.OnRowSelect("onRowSelected"))
        .RowAction(row =>
        {
            row.Selected = row.DataItem.CustomerID.Equals(ViewData["Id"]);
        })


i want to add a rowAction beahvior  that when i click in the row , a popup window appears containing a google map with  marker according to longitude and latitude of row selected.

actually i don't konw how to pass the longitude and latitude of a row to the window.
nb: i'm using client side API.
Tags
Window
Asked by
Ahmed
Top achievements
Rank 1
Share this question
or