How to bind the event Kendo grid PopUp mode? - kendo-ui

My requirement i want to do the calculation in Kendo Grid While Clicking the Add New Record or Edit in Popup mode. Currently i am not able to catch the Kendo Grid Popup event.
But i can able to catch the event outside using html on chaning event. It's working but i need to add the this functionality in inside grid like how we are binding event/methode to save, remove ,cancel.
I tried using change event but it is working inline of the grid but it's not working in popup mode. Please look at my Dojo link. http://dojo.telerik.com/AtebI/10
Acutally i am generating grid on the fly(dynamically). So i have to bind the event before Creating/rendering.
Anyone help me to achieve.

DataGrid edit event is fired when user opens row edit on popup editor and also when creating new row.
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-edit

Related

Kendo DropDownList is not opening inside KendoTreeView

I am new to kendo TreeView so please bear with me.
I am trying to bind a kendo dropdownlist in each row of Kendo TreeView.
I am able to bind kendoDropdownList successfully but when I am trying to open the dropdown it closes very quickly and the user is not able to select the value.
Please check my code in below link
https://dojo.telerik.com/#Abhishek/EwamowIv
Any help is highly appreciated
Thank you for the reply.
I have changed my approach to bind the dropdown in Kendo Treeview.
Instead of binding Kendo DropDownList I have created dropdown through javascript and bind it with the datasource.
Please check below my approach, hope it may help someone.
https://dojo.telerik.com/#Abhishek/udAcuYel
From the Telerik forums, my bold
The current scenario is not supported. There is a conflict between the
DropDownList and the TreeView items. Additionally each time the
DropDownList is clicked, the TreeView item is selected, which is
triggering a refresh of the template. Please reconsider the current
implementation and try a different approach.

Custom popup using bootstrap modal in Kendo scheduler

I tried to custom popup by using bootstrap modal for Kendo Scheduler. But my problem is i cant get the day and time for double click the cell.
To get the exact star/end time of the clicked slot you can simply pass the clicked element to the slotByElement method of the Scheduler. Demo is available in the provided link.

Open Partial View on click of Edit button of Kendo Grid

My grid has a FileUpload control in it. After successful upload of the file, I am displaying imported records.
On Edit button click I need to display a PartialView. There will be so many add edit functionality on that partial grid. On close of PartialView, main grid should refresh.
Please let me know how do we call PartialView from Kindo grid on click of edit button.
Take a look at this example blog post from Kendo. This will let you use custom popup editor for your grid. You can override the events for what to happen when this custom pop up is closed.
Also look at this excellent article by Brad Wilson about custom templates in asp.net mvc.
If it still do not meet your needs please elaborate your question and add some code.

Pass additional data to kendoui popup

i need know to how to pass additional data to a create popup in kendo grid control.
I need to pass an ID from a external controler, for example:
I have a kendo treeview, when i click on the create button from the grid, i need the ID of the selected node in the kendo treeview to use them in the popup create window. i cant display the treeview in the popup window, so i need use this way to finish the page.
im using mvc4 asp.net and the kendo ui controls.
How can i do this??

Need to disable the button present in the bottom of jqGrid dynamically

Currently, I am working on asp.net mvc2 project which has a view containing three dropdown controls. I am also using jqGrid for displaying the data in the application. The jQGrid is displayed with buttons called Add,Edit,Search in the footer section. I need to disable and enable the Search button dynamically. If the user selects any item from dropdown1 and dropdown2 then I need to disable the Search button and in case the user selects any item from dropdown3 then I need to enable the Search button.
I am new to jQGrid implementation. Can anyone help me with some sample code to handle the above functionality.
Thanks & Regards,
Santosh Kumar Patro
I would recommend you to read the answer and another one. The answers shows how one can hide/show or enable/disable buttons from the navigator bar. You can use onSelectRow or beforeSelectRow callback to disable/enable/hide/show the navigator buttons dynamically.

Resources