Please see attached. We are trying to use a set of radio buttons for a cell editing template. The code is below: This works except that I have to click in the cell once to put in edit mode and then click on the radio button. What I would like is to be able to click directly on the radio button once. Thanks for your help.
{
field: "Accomplished", title: "Accomplished", width: 200,
template: "<label><input ng-disabled='true' type='radio' value='#= Accomplished #' #= Accomplished == '0' ? 'checked' : ''# > NA </label>"
+ "<label><input ng-disabled='true' type='radio' value='#= Accomplished #' #= Accomplished == '1' ? 'checked' : ''# > Yes </label>"
+ "<label><input ng-disabled='true' type='radio' value='#= Accomplished #' #= Accomplished == '2' ? 'checked' : ''# > No </label>",
editor: "<label><input name='Accomplished' type='radio' data-bind='checked:Accomplished' value='0'> NA </label>"
+ "<label><input name='Accomplished' type='radio' data-bind='checked:Accomplished' value='1'> Yes </label>"
+ "<label><input name='Accomplished' type='radio' data-bind='checked:Accomplished' value='2'> No </label>"
},
Is it possible to enable text selection for content inside sortable panels? Even after removing "user-select: none" from the CSS files, I am unable to select text inside the panels. It seems that text selection is disabled from within the Kendo js file, because I can select content inside the panels when I don't include the kendo.all.js file.
Thanks!
Hi,
We are working with the Kendo Context Menu. The problem we are dealing with happens when we are trying to bind one context menu to multiple targets (each row in a grid has a button, and each of those buttons should open the same menu).
In our click listener, it seems that the event.target element is not always the correct target that was clicked on.
A simple example is here: http://dojo.telerik.com/aYiTi/2
Are we doing something wrong? Is there a more reliable way to get the element that was clicked on?
I have a scenario where I want to prevent users from uploading a file if another file with the same name has been uploaded elsewhere. I create the upload like this
this.$("#templateFile_" + id).kendoUpload({async: {saveUrl: "/KendoUploadFileHandler.ashx?upload=1",removeUrl: "/KendoUploadFileHandler.ashx?remove=1",autoUpload: true},showFileList: false,multiple: false,upload: this.onUpload,success: this.onSuccess,progress: this.onProgress,select: this.onSelect,error: this.onError});
The upload handler is a custom httphandler where I inspect
HttpPostedFile postedFile = context.Request.Files["templateFile"];
to see if postedFile.FileName already exists on disk. If so, I'd like to return an error to the client and carry this information along.
If I set context.Response.StatusCode to e.g. 500 (InternalServerError) I hit my error handler (onError) - but the error get caught in kendo.web.min.js as well and I get the entire server response dumped to console from kendo.web.min.js. This also happens if I set StatusCode to "OK" but provide a value in context.Response.Status.
If I just return a statuscode OK with a statusdescription, I never hit my error handler.
There is very little documentation about this, I am out of idead for further trial-and-error tests. Could you please provide a simple working example (or some sample code) where some validation in the httphandler HandleRequest(HttpContext context) will cause the clientside code to end in either onSuccess or onError.
Thanks for any help!
/Jan
TypeError: d is undefined
in Firebug and I cannot even close the create dialog. {"Data":[{"Id":364,"UserName":"a","Path":"a","PathEscaped":"a\\%"},{"Id":365,"UserName":"b","Path":"b","PathEscaped":"b\\%"}],"Total":2,"AggregateResults":null,"Errors":null}
I need to remove the black border around the k-widget class.
I used the following CSS to get it this far.
.k-widget{ background:transparent; border:none;}