Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
106 views

Hi,

We have a requirement to always show the checkbox even if the node is disabled. We can achieve the functionality in JavaScript by handling and then canceling the event, but need a visual representation too. We've tried overriding the background image of the checkbox without success. Is there a way to do this? We are using version 2013.3.1234.35.

Thanks,

Dave

David
Top achievements
Rank 1
 answered on 05 Dec 2016
6 answers
516 views
I use RadGrid extensively in my application and use the UniqueName property as well. I have several columns with UniqueName property that have blank spaces in it(e.g. uniquename="Order ID"). Until now I was using the 2011 Q1 release of ASP.NET AJAX controls and  
it was working fine.

I recently upgraded to 2012 Q1 (SP1) release and my app is breaking now every where I have UniqueName property defined with blank spaces. Is it something new introduced in this release? Is there any work around so that I don't have to make changes everywhere I am using the uniquename property in my application? 

Manjeet
Mehmet
Top achievements
Rank 1
 answered on 05 Dec 2016
2 answers
299 views
We have just had a penetration test carried out and they have flagged a lot of XSS issues around the JSON parameter within the clientstate of the controls.

We are currently using 2015.2.826.40 and I know that is not the latest version but if we upgrade will this resolve the issues?

 

Simon Layton
Top achievements
Rank 1
 answered on 05 Dec 2016
1 answer
355 views

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

Eyup
Telerik team
 answered on 05 Dec 2016
1 answer
319 views

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

Ivan Danchev
Telerik team
 answered on 05 Dec 2016
1 answer
147 views

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.

Veselin Tsvetanov
Telerik team
 answered on 05 Dec 2016
3 answers
196 views
Hi,

I display a RadWindow whien I cilck on a button at the top-right of the page.

I have a strange problem into my page. When I write something into a textbox and Iclick to the "Enter" key of the keyboard, the RadWindow appears some seconds. I don't know how to resolve this problem.

Thank you in advance,

Vessy
Telerik team
 answered on 05 Dec 2016
1 answer
89 views

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?

 

 

Veselin Tsvetanov
Telerik team
 answered on 05 Dec 2016
7 answers
504 views

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

Anton
Telerik team
 answered on 05 Dec 2016
1 answer
88 views

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("&nbsp;&nbsp;&nbsp;&nbsp;"); $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

ChainHome Yang
Top achievements
Rank 1
 answered on 05 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?