Hi,
I want to get a scheduler up and running quickly in an existing webforms project (I have used it in other projects with success) so I've tidied up and dropped a couple of examples from the Telerik demos straight into my project. With all of my tests I cannot add or edit appointments - it seems to be having problems displaying the appointment form. If I right-click to add or edit, I get a visible page postback and the following JS error in the console:
Uncaught TypeError: Cannot read property 'add_selectedIndexChanged' of null
at d.LiteView._initializeRecurrenceDropDown (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a41a6cee9%3ab7778d6c%3a8674cba1%3a7c926187%3ac08e9f8a%3a2e42e72a%3aef347303%3a2b0ba4c2%3aabc1db80%3a6b3f73b3%3ae085fe68:3918)
(full error details below)
Not had this problem before. I'm hoping this is something simple. I'm using UI for ASP.NET AJAX Q2 2015. Please can anyone help?
Thanks,
David
<
p
>Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a41a6cee9%3ab7778d6c%3a8674cba1%3a7c926187%3ac08e9f8a%3a2e42e72a%3aef347303%3a2b0ba4c2%3aabc1db80%3a6b3f73b3%3ae085fe68:3918 Uncaught TypeError: Cannot read property 'add_selectedIndexChanged' of null</
p
><
p
> at d.LiteView._initializeRecurrenceDropDown (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a41a6cee9%3ab7778d6c%3a8674cba1%3a7c926187%3ac08e9f8a%3a2e42e72a%3aef347303%3a2b0ba4c2%3aabc1db80%3a6b3f73b3%3ae085fe68:3918)<
br
> at d.LiteView.initialize (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a41a6cee9%3ab7778d6c%3a8674cba1%3a7c926187%3ac08e9f8a%3a2e42e72a%3aef347303%3a2b0ba4c2%3aabc1db80%3a6b3f73b3%3ae085fe68:3911)<
br
> at c.RecurrenceEditor._initializeView (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a41a6cee9%3ab7778d6c%3a8674cba1%3a7c926187%3ac08e9f8a%3a2e42e72a%3aef347303%3a2b0ba4c2%3aabc1db80%3a6b3f73b3%3ae085fe68:3650)<
br
> at c.RecurrenceEditor.initialize (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a41a6cee9%3ab7778d6c%3a8674cba1%3a7c926187%3ac08e9f8a%3a2e42e72a%3aef347303%3a2b0ba4c2%3aabc1db80%3a6b3f73b3%3ae085fe68:3627)<
br
> at c.RecurrenceEditor.endUpdate (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a48bbf511-5bf9-4491-9be4-5464dcf4e3ba%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a16e4e7cd%3af7645509%3a2003d0b8%3a24ee1bba%3ac128760b%3a1e771326%3a88144a7a%3af46195d3%3aaa288e2d%3a258f1c72%3aed16cbdc%3a874f8ea2%3a4c8be21a%3a650fdad%3ad40f7d5c%3ae91ff703%3a7666c7ed%3a29e4ab07%3ab68dcd79%3a59462f1%3aa51ee93e%3ae330518b%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94:6)<
br
> at Sys.Component.create (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a48bbf511-5bf9-4491-9be4-5464dcf4e3ba%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a16e4e7cd%3af7645509%3a2003d0b8%3a24ee1bba%3ac128760b%3a1e771326%3a88144a7a%3af46195d3%3aaa288e2d%3a258f1c72%3aed16cbdc%3a874f8ea2%3a4c8be21a%3a650fdad%3ad40f7d5c%3ae91ff703%3a7666c7ed%3a29e4ab07%3ab68dcd79%3a59462f1%3aa51ee93e%3ae330518b%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94:6)<
br
> at <
anonymous
>:24:5<
br
> at Sys._Application.add_init (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a48bbf511-5bf9-4491-9be4-5464dcf4e3ba%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a16e4e7cd%3af7645509%3a2003d0b8%3a24ee1bba%3ac128760b%3a1e771326%3a88144a7a%3af46195d3%3aaa288e2d%3a258f1c72%3aed16cbdc%3a874f8ea2%3a4c8be21a%3a650fdad%3ad40f7d5c%3ae91ff703%3a7666c7ed%3a29e4ab07%3ab68dcd79%3a59462f1%3aa51ee93e%3ae330518b%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94:6)<
br
> at <
anonymous
>:1:17<
br
> at Sys._ScriptLoader._loadScriptsInternal (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a48bbf511-5bf9-4491-9be4-5464dcf4e3ba%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a849ed206-4ebb-4251-adff-3e3454bb6f4e%3a16e4e7cd%3af7645509%3a2003d0b8%3a24ee1bba%3ac128760b%3a1e771326%3a88144a7a%3af46195d3%3aaa288e2d%3a258f1c72%3aed16cbdc%3a874f8ea2%3a4c8be21a%3a650fdad%3ad40f7d5c%3ae91ff703%3a7666c7ed%3a29e4ab07%3ab68dcd79%3a59462f1%3aa51ee93e%3ae330518b%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94:15)</
p
>
Designers are such a pain :) It is possible to have a menu item wrapped in a circle and spaced apart instead of butted up against each other( see attached)
We have client requirement to export multiple grids and produce a single spreadsheet with multiple tabs without user interaction (scheduled). So we're attempting to set the data source and the item data bound events in code with no problems, so the grid is completely setup correctly, but when we export and try to capture the exported file, we are unsuccessful. so here is my question: in a standard user driven asp.net page, we can access the exported file from here:
Private Sub Grid_GridExporting(ByVal source As Object, ByVal e As GridExportingArgs)
Dim ExportString = e.ExportOutput
End Sub
is there a different way we can get the same file from the grid without triggering the event? I see some solutions that require us to go through the cells and copy each one to the worksheet, but this is no good because it's missing tons of stuff (like formatting). And it's already part of the functionality of the Grid to be able to export in a very clean manner, so i have hope that there might be a trick somewhere that i did not see. Something simple like: grid.GetHTMLSheet()
Thank you for all the help,
Sam
I am trying to change cursor type to 'pointer' when hover over shape.
Any recommendations?
Team Telerik,
I've encountered what appears to be a bug with the RadMaskedTextBox.set_value() method in ASPNet UI 2015.1.401.45
When called, the RadMaskedTextbox doesn't reflect the new value until you mouse click into the field.
Work Around:
Call RadMaskedTextbox.focus() immediately after RadMaskedTextbox.set_value(). It's a little tacky, but it works.
Can you guys fix this for 2015 Q2? That'd be great. Thanks.
- Jonathan
I tried the following client-side code without success. If the node has no image, you can successfully set the node to point to an image but you cannot remove the image after that. In other words, the following does not change anything, the current image remains assigned:
node.set_imageUrl(null);
node.set_expandedImageUrl(null);
Setting the value to an empty string (instead of null) does not work either. Any suggestions?
Thanks,
Nuri
Hi There,
I am using the Bootstrap skin and want a 'pure' white background for the menu (and other controls).
But the skin is semi transparent. I've tried a plain hack of the css to remove the transparency settings but that seems to have little effect.
Any pointers on how to get rid of the transparency would be appreciated.
Thanks
Craig
I try to import dynamic import of a excel into the spreadsheet for the droopdown selected index changed but i could not able to upload this one successfully
here my code
<script>
$("#spreadsheet").kendoSpreadsheet({
excel: {
// Required to enable Excel Export in some browsers
proxyURL: "https://demos.telerik.com/kendo-ui/service/export"
}
});
var data = [
{ text: "Spreed sheet 1", value: "1" },
{ text: "Spreed sheet 2", value: "2" },
{ text: "Spreed sheet 3", value: "3" }
];
function onOpen() {
//kendoConsole.log("event: open");
};
function onClose() {
// kendoConsole.log("event: close");
};
function onChange() {
//kendoConsole.log("event: change");
};
function onDataBound(e) {
//if ("kendoConsole" in window) {
// kendoConsole.log("event :: dataBound");
//}
};
function onFiltering(e) {
// if ("kendoConsole" in window) {
// kendoConsole.log("event :: filtering");
//}
}
var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
//var sheet = spreadsheet.activeSheet();
//sheet.setDataSource(data1);
function onSelect(e) {
//if ("kendoConsole" in window) {
if (e.item) {
alert();
return $.ajax({
method: "GET",
url: "ExcelToJson",// the return json will be var data1 = [
{
"a": 1.0,
"b": 2.0,
"c": 3.0
}
]
}).then(function (data) {
if (data.success == false) {
//ConfirmMessage.showErrorMessage(data.messages[0]);
return new $.Deferred().reject().promise();
} else {
console.log(data);
//$("#spreadsheet").html("");
//$("#spreadsheet").kendoSpreadsheet();
//var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
//var sheet = spreadsheet.activeSheet();
var data_new = data;
// alert(data_new);
spreadsheet.fromJSON(data_new);
// sheet.setDataSource(data_new);
}
});
//$.ajax({
// url: "ExcelToJson",
// cache: false,
// type: "POST",
// success: function (html) {
// $("#spreadsheet").kendoSpreadsheet();
// var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
// var sheet = spreadsheet.activeSheet();
// sheet.setDataSource(data);
// }
//});
}
};
$("#dropdownlist").kendoDropDownList({
dataTextField: "text",
dataValueField: "value",
dataSource: data,
filter: "startswith",
select: onSelect,
//change: onChange,
//close: onClose,
open: onOpen,
filtering: onFiltering,
dataBound: onDataBound
});
</script>