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??
Related
I had this Kendo TreeView with checkbox. When load the treeview I want the checkbox is checked when tick="y"? How to achieve this?
Instead of
tick="y"
do:
checked=true
See also https://docs.telerik.com/kendo-ui/controls/navigation/treeview/how-to/binding/check-nodes-programmatically
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.
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
Is there a Single Click button feature in Kendo Button widget like shown below in the example link (I know its WebControl for webforms app). I am looking for similar kind of functionality in Kendo MVC Wrapper/Core. Can someone please share the configuration settings either in Kendo MVC Wrapper or Kendo Core.
Example of Single Click in Telerik RadButton
http://demos.telerik.com/aspnet-ajax/button/examples/singleclick/defaultcs.aspx
You can easily achieve that functionality using jQuery, like this:
$("#myButton").one("click", function() {
'Code to run when the button is clicked.
});
You can read more about it here.
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.