Hello,
I am using RadGrid with RadNumericTextBox, RadTextBox., etc, in Item template. I have to update the Other Columns in the Grid if Text changed in RadNumericTextbox. So, On OnTextChanged event of RadNumericTextBox, I am rebinding the Grid again. But after the postback, i am getting the below javascript error.
<<<<
Unhandled exception at line 8162, column 7 in http://localhost:51966/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:93a6b8ed-f453-4cc5-9080-8017894b33b0:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2016.3.914.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a519da8a-d673-48a9-9976-4b08756261d2:16e4e7cd:33715776:f7645509:24ee1bba:e330518b:2003d0b8:c128760b:1e771326:88144a7a:c8618e41:1a73651d:16d8629e;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:93a6b8ed-f453-4cc5-9080-8017894b33b0:76254418;Telerik.Web.UI,+Version=2016.3.914.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a519da8a-d673-48a9-9976-4b08756261d2:8e6f0d33:864068a5:6a6d718d:b7778d6c:f46195d3:aa288e2d:b092aa46:6b3f73b3:e085fe68:8674cba1:7c926187:c08e9f8a:a51ee93e:59462f1:6d43f6d9:58366029:19620875:874f8ea2:b2e06756:4877f69a:92fe8ea0:fa31b949:490a9d4e:ddbfcb67
0x800a025e - JavaScript runtime error: Could not complete the operation due to error 800a025e.
>>>
Could you please let me know what will be the root cause of this error.
Regards,
Puru
Hi,
I uploaded 3 files using this control. Within a button click, i want to see the number of files that i uploaded. It always shows 0.
Why am i not getting proper count here?
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" AllowedFileExtensions =".pdf,.jpg,.jpeg,.txt"
MultipleFileSelection="Automatic" BorderStyle="Groove" >
<Localization Select=" Select a file " />
</telerik:RadAsyncUpload>
for (int fileNum = 0; fileNum <= RadAsyncUpload1.UploadedFiles.Count - 1; fileNum++)
{
}
Thanks
Is it possible to determine RecurrenceState for an Appointment (by AppointmentID) in code without instancing a RadScheduler?
I can get the RecurrenceState for any Appointment by instancing a RadScheduler in code and databinding the instance, then looking up the Appointment by ID.
My concern is, as I process more Appointments that this process will be too slow.
How can I calculate the last date on a Recurring Appointment in code without using selecting the last Occurrence from the RecurrenceRule.Occurrences collection?
Is there some static method that will allow me to return the date of the last Occurrence of a recurring Appointment?
Hi,
I have a webservice bound scheduler and I would like to show/hide Schedulers' Calender programmatically using javascript.
I used following code but it hides the calendar and I have to click on calendar control multiple times for the pop up calendar to open. The reason I have to do this is. I need to change scheduler timerange and also update pop up calendar to match this date. I got code to match scheduler and pop up calendar to user selected date and time but everytime date is selected, it pops up a calendar and my client does not like that. Calendar should be updated behind the scene silently.
var calendarID = $telerik.$("[id$='rsTicketsSchedule_SelectedDateCalendar']").attr("id");
var calendar = $find( calendarID );
calendar.set_visible( false);
Thanks,
Prava
Hi, Telerik:
The scenario:
1. goto http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
2. Clear editor's content.
3. Press <Enter> key. Cursor jump to second line. (expected)
4. Press <Space> key. Cursor jump to first column of second line (P, Div mode) or first line. (Br mode)
But if I Press <Shift+Enter> then <Space>, it worked as expected.
I tried two methods to make <Enter> as <Shift+Enter>, but it worked not fine.
1. RadEditor "OnClientCommandExecuting"
function _Editor_onCmdExecuting(oSender, oArgs) {
if ($telerik.isIE && oArgs.get_commandName() === "EnterNewLine") { oArgs.set_cancel(true); oSender.fire("ShiftEnter", null); }
}
or
2. RadEditor "OnClientLoad" attacted onkeydown event
function _Editor_onLoad(oSender, oArgs) {
oSender.attachEventHandler("onkeydown", function (e) {
if (e.keyCode === 9) { oSender.pasteHtml(" "); $telerik.cancelRawEvent(e); }
else if (e.keyCode === 13) { oSender.pasteHtml("<
br
>"); $telerik.cancelRawEvent(e); }
});
}
Any idea make <Enter> as <Shift+Enter>?
Telerik version: 2015.3.1111.40