먼저이 웹 사이트를 확인할 수 있습니다. http://demos.telerik.com/kendo-ui/notification/templates
나는 그것에 대한 예를 들었다.
$(document).ready(function() {
var addUserUrl = "<%=Url.Action("AddUser", "ControlAccount")%>";
$("#addUser").click(function addUserFunc() {
var userName= 'exampleUser';
var password = 'examplePassword';
$.post(addUserUrl, { userName: userName, password: password}, function (data, result) {
var d = new Date();
staticNotification.show(kendo.toString(d, 'HH:MM:ss.') + kendo.toString(d.getMilliseconds(), "000"), text);
var container = $(staticNotification.options.appendTo);
container.scrollTop(container[0].scrollHeight);
});
});
서버 측에서;
[HttpPost]
public ActionResult AddUser(string kullaniciAdi, string password)
{
var result = "";
//// Do it your jobs
return Json(result, JsonRequestBehavior.AllowGet);
}