Just for tests I put a button on my page and used the code below but it does not seem to cause a postback of refetch of data using NeedDataSource in code-behind?
function refresh() {
var masterTable = $find("<%= grdUsers.ClientID %>").get_masterTableView();
masterTable.rebind();
}
2 Answers, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 16 Dec 2014, 09:20 AM
Hello Al,
The behavior that you are describing is rather unexpected. Can you please ensure that your button is not initiating postback, which could prevent the grid to fire its command.
Following is a very basic demonstrating of the functionality that you are requesting, which works as expected on my end:
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.