Is it right or is it me, that the devexpress mvc PageControl doesn’t support PerformCallback?
This declaration
@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;
...
generates a Javascript “userProfilePageControl.PerformCallback is not a function” Error for
function profileRefresh() {
userProfilePageControl.PerformCallback();
}
Everything else is fine, even the tab switch callback works fine…:/
There is no such a method and there is no need to perform a callback programmatically.
Refer to the Tab Strip – AJAX online demo to learn more on how to load TabPages on demand (via callback)