or
protected
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName ==
"ExportToPdfCustomCommand"
)
{
//my code here
}
}
this._buildFilterMenuItemList(this._filterMenu,f._data.FilterListOptions,f._data.DataTypeName,f._data.CurrentFilterFunction,f);If I translate it to English, it's going to be like "Cannot get a value for _data; it's not defined or has a null value". Something like this.
Posted on Feb 17, 2010
GetRadWindow().BrowserWindow.refreshGrid(args);
GetRadWindow().close();
function
refreshGrid(arg)
{
//var btnName = $get("<%=btn.ClientID%>").name;
//__doPostBack(btnName, "");
// Above Two Lines code works fine. But the whole page Postback is called. i need only refresh perticular ListView to Rebind.
var
ajaxManager = $find(
"<%= RadAjaxManager1.ClientID %>"
);
ajaxManager.ajaxRequest(
'Refresh'
);
}
protected
void
RadAjaxManager1_AjaxRequest(
object
sender, AjaxRequestEventArgs e)
{
if
(e.Argument.ToString() ==
"Refresh"
)
{
lstvTask.Rebind();
}
}