开发者

Telerik MVC Grid - Client Side Object Model for Databinding Urls

开发者 https://www.devze.com 2023-03-13 04:21 出处:网络
Are the data binding Urls encapsulated in the Telerik MVC Grid Client Side object? Scenario is; I\'m tapping in to a onSave client side event for some validations. After validations are passed I nee

Are the data binding Urls encapsulated in the Telerik MVC Grid Client Side object?

Scenario is; I'm tapping in to a onSave client side event for some validations. After validations are passed I need to post to Insert Databinding Url conditionally based on user confirmation.

NOTE : I can't use javascript confirm 开发者_Python百科to hold the thread as I'm using jQuery UI dialog for confirmation


The insert url is exposed as ajax.insertUrl:

var grid = $("#Grid").data("tGrid");
var insertUrl = grid.ajax.insertUrl;
0

精彩评论

暂无评论...
验证码 换一张
取 消