Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
309 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
135 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
188 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
79 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
492 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
83 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
1 answer
89 views
Hi,

I've read a few posts about this but nothing works for me yet,

I need to make these wider.
Lightweight | Bootstrap Skin, Latest Build | VB

Please see the attached image. (or this one...)
https://www.quozr.com/folders/devxel/rfes.jpg

Thanks,

Jack
Vessy
Telerik team
 answered on 05 Dec 2016
2 answers
350 views
hello,
I have a problem:
Default font name and font size set not getting in RadEditor Font Name and Size.

We create another page to set the default font name and size. We want to show the default font name and size to RadEditor(which we set).
Problem is we could not get(It shows Font Name and Real Font Size in text).

please help me as soon as possible.

Best Regards
mutum Jiten singh
Akhil Systems
rosa
Top achievements
Rank 1
 answered on 04 Dec 2016
7 answers
428 views
Hello,

I have a panelbar and four panel items on my page. I need to hide one panel (header) server side and make it visible with javascript.

The panel item must be rendered, but invisible. So the user cannot see the header and click on it. Only if some client side validation was done the item (header) should be visible like Ajax Control Tool Kit do.

I'm not using header templates.

How to do?


Regards
Ralf
Nencho
Telerik team
 answered on 02 Dec 2016
2 answers
84 views

Hi:

Is there a way retrieve say 25 rows in a list-box a click on some sort of navigation to get more data.  Trying to limit the amount of data to retrieve.

Phil

Phil H.
Top achievements
Rank 2
 answered on 02 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?