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

Jquery Input Value load in Url.Action in Toolbar

1 Answer 240 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jako
Top achievements
Rank 1
Jako asked on 06 Oct 2014, 12:32 PM
Hello
I am trying to get a value from an textbox once the user has clicked on export and load that value as parameter in the url.action. What can I use at keyword = "978"

Help much appreciated

<input id='keyword'/>

  Html.Kendo()
                        .Grid<TitleBibliographicGridModel>()
                        .Name("BookList")
                        .ToolBar(toolBar => toolBar.Custom()
                                                     .Text("Export To Excel")
                                                     .HtmlAttributes(new { id = "export" })
                                                     .Url(Url.Action("ExportBookSearch", "Dashboard", new { keyword = "978" })))
                        .Columns(columns =>

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 08 Oct 2014, 10:39 AM
Hello Jako,

See this forum thread for a way to achieve this.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Jako
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or