开发者

in telerik asp.net mvc grid control, "after save, insert" confirmation message

How to show confirmation message aft开发者_运维知识库er the process of saving or inserting a record to Database?


Have a look at the client events at telerik demo page. You may get some idea there


The answer would depend on whether you would want a message at row level or at page. For row, you can customize the RowAction event.

If you want the message to be at the page level, I'd go with Tempdata or ViewData approach.


I'm assuming you're doing Ajax binding. If that's the case there is nothing built in to do this. You can hook into the OnSave event, but it's fired before the request is sent to the server. So that's not what you're looking for.

You may be able to do something where you may be able to examine the XmlHTTPRequest object in a global success handler to see what the url was, but I don't XmlHTTPRequest exposes that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜