devexpress mvc PageControl不支持PerformCallback是对还是我?
本声明
@Html.DevExpress().PageControl(
settings =>
{
settings.CallbackRouteValues = new { Controller = "Profile", Action = "Content_Callback" };
settings.ClientSideEvents.BeginCallback = "function (s,e) { e.customArgs['currentUserId'] = $('#currentUserId').val(); }";
settings.Name = "userProfilePageControl";
settings.EnableClientSideAPI = true;
...
生成 Javascript “userProfilePageControl.PerformCallback 不是函数”错误
function profileRefresh() {
userProfilePageControl.PerformCallback();
}
其他一切都很好,即使选项卡切换回调也可以正常工作......:/