A have a KendoUI window that gets its content from a partial view.
A有一个KendoUI窗口,可以从局部视图中获取其内容。
That content can be, for example an input box.
该内容可以是例如输入框。
What is the best way to get the value entered on that input box, when the window is closed?
当窗口关闭时,在输入框中输入值的最佳方法是什么?
I guess some kind of callback function must be used along the window's close event; if this is right, is it possible to post an example of the code?
我想必须在窗口的关闭事件中使用某种回调函数;如果这是正确的,是否可以发布代码示例?
1 个解决方案
#1
4
You're on the right track. Here's an quickly drawn up sample that should help you get going: http://jsfiddle.net/latenightcoder/DmAMc
你走在正确的轨道上。这是一个快速绘制的示例,可以帮助您开始:http://jsfiddle.net/latenightcoder/DmAMc
#1
4
You're on the right track. Here's an quickly drawn up sample that should help you get going: http://jsfiddle.net/latenightcoder/DmAMc
你走在正确的轨道上。这是一个快速绘制的示例,可以帮助您开始:http://jsfiddle.net/latenightcoder/DmAMc