This is a migrated thread and some comments may be shown as answers.

kendo UI for kendoWindow calling service

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pallavi
Top achievements
Rank 1
Pallavi asked on 17 Mar 2017, 03:18 PM

Hi team,

I have an requirement where i  click an  <a id="name" text="Empname"></a>
When user click the attribute a i need to  call an kendo Window   window  which in terms call an  remote data source in my case web api service.
Once i get the data i need to show those fields in the  kendoWindow   and   close button  to close it.

Fields that i need show 

Name
Company Name:

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
  autoFocus: false
});
</script>


Address:

 so how can i  call in  service from kendoWindow    and bind it to an html field like label

if you can give some reference nand mock up of code  here i can build my screen thank you again!

Thanks

 

 

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 21 Mar 2017, 10:49 AM
Hi Pallavi,

Here you could find a simple example on how to pass data to a template in a Kendo Window. Note, that the sample works with local data object. In your implementation you will need to call the Web API endpoint and in the success callback you will execute the â€‹buildWindow logic.

Regards,
Veselin Tsvetanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Pallavi
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or