I am using Hiddenvariable here and it is passed to controller from view.
@(Html.Search("ConfigurationSearch").Form("ConfigurationForm").Grid("gridConfiguration").ShowUnSelectAll(false))
<div id="gridConfiguration"></div>
</div>
@Html.Hidden("hidSearchText")
$(function () {
$('#searchText_ConfigurationSearch').val("@TempData["SearchText"]");
});
$('.k-block').click(function () {
$("#hidSearchText").val($("#searchText_ConfigurationSearch").val());
});
Without using hiddenvariable Can we Implement this,Please suggest me?!