Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a return value from a KendoUI modal window

A have a KendoUI window that gets its content from a partial view.

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?

like image 708
pvieira Avatar asked Feb 20 '12 00:02

pvieira


1 Answers

You're on the right track. Here's an quickly drawn up sample that should help you get going: http://jsfiddle.net/latenightcoder/DmAMc

like image 148
Joel D'Souza Avatar answered Nov 12 '22 14:11

Joel D'Souza