Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Get ID of current task using CustomEditorTemplate

$
0
0
Hello Gora,

Current behavior is expected as the editor template is initialized on the server side with empty instance of the model type. Later on the client side the currently edited event is bind to the template HTML / JavaScript output using MVVM

There are several ways to achieve the desired behavior and which one you would choose depends entirely on you and the exact setup that you have. For example you can use the "Edit" event of the Scheduler to set the Grid dataSource ("setDataSource" method). Another option is to nest hidden input inside the editor which to be bind to the ID field and get it's value inside the Grid DataSource (example here). 

Regards,
Vladimir Iliev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 99250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>