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

[Solved] Pass parameter

0 Answers 30 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.
Rodrigo
Top achievements
Rank 1
Rodrigo asked on 14 Jul 2012, 03:44 AM
Just want to know how to step into the windows route value from a row of the grid:                

                columns.Bound(model => model.FuncionarioId).ClientTemplate("<a href='#' alt='Funcionário' id='funcionarioLink' title='Login' onclick=\"javascript:ExibirDetalhe('<#=FuncionarioId#>')\" ><img src='/Content/Images/Icons/icon_details.png' alt='Detalhes' title='Detalhes' /></a>").Width(10).Title("").HtmlAttributes(new { style = "text-align:center" }).Sortable(false);

 @{ 
            Html.Telerik().Window()
            .Name("detailWindow")
            .Content(@<text>
            
            </text>)
            .Buttons(buttons => buttons.Refresh().Maximize().Close())
            .Visible(false)
            .Title("Detalhes")
            .Effects(effect => effect.Expand())
            .Width(640)
            .Height(480)
            .Draggable(true).Icon("/Content/Images/Icons/msn_icon.gif")
            .Modal(true)
            .Render(); 
}
Tags
Window
Asked by
Rodrigo
Top achievements
Rank 1
Share this question
or