Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
185 views

hi

I'm using radtreeview  for my page and i set treeview direction " right to left"

i want to be able to drag a node and drop it under another node

but the problem is when i set tree direction right to left my grabbed ( selected) node disappears and page width keep growing

i don't have this problem when i set tree direction to left to right

does telerik support treeview drag and drop for rtl treeview ?

this is the code that i'm using

<div style="direction:rtl;">
<telerik:RadTreeView PersistLoadOnDemandNodes="true" runat="server"                             ID="rtvTables" EnableDragAndDrop="True" ClientIDMode="AutoID"                             OnClientNodeExpanded="onTreeViewExpanded"                             OnClientNodePopulating="nodePopulating"                             OnClientNodeDropping="onClientNodeDropped"  
                            OnClientContextMenuShowing="OnClientContextMenuShowing"                             OnClientNodeDragStart="OnClientNodeDragStart">                             <WebServiceSettings Path="frmReporting.aspx" Method="OnNodeExpanded">                             </WebServiceSettings>                             <%--   <WebServiceSettings Path="Services/frmReporting.asmx" Method="OnNodeExpanded">
                                    </WebServiceSettings>    --%>                         </telerik:RadTreeView>

</div>

 

 

thank you

 

 

Marin Bratanov
Telerik team
 answered on 23 Dec 2018
2 answers
749 views
I had to replace the RadUpload controls in my app with RadAsyncUpload versions rather quickly and I may have missed out on a few details.

In my old system (while using RadUpload) I had code to delete the uploaded files once processed (inserted into a database field).

It looks to me like the simplest thing to do with the RadAsyncUpload would be to leave the files alone and rely on the control's TemporaryFileExpiration setting to do the job.

My question is this.  Am I missing anything?  Is there any real drawback to using the default App_Data\RadUploadTemp path and relying on automatic deletion of these temp files?  (In fact, why should I even need a Target Folder?)
Sean
Top achievements
Rank 1
 answered on 21 Dec 2018
1 answer
135 views

Hi,

We're using your image editor tool for in-browser editing of images.
And it seems it have a strange behavior when resizing very lange images.

When i resize a image step-by-step from 2000 pixels width to 200 pixels with steps of 400 pixels each time, the resized image have better quality then when i resize it once from 2000 pixels to 200 pixels.

Is this a known behavior or i can do something to improve it?

Kind regards,

Jelle

Rumen
Telerik team
 answered on 21 Dec 2018
1 answer
66 views

Hi,

I am able to reproduce the issue at the demo site: 

1) Open 'Find and Replace' dialog.
2) Click on the HTML tab.
3) Enter a word that needs to be found.
4) Click on the 'Find' button.

When the 'Find' button is clicked, the word does not get highlighted. It only highlights the word when I close the 'Find and Replace' dialog.

Thank you.

Rumen
Telerik team
 answered on 21 Dec 2018
0 answers
159 views

I was newbie in Kendo Ui and also javascript programming. I have a simple question how to submit the value from my checkbox to dataSource transport : read?

so "getData.php" able to get "c1" value (active) and reload the page again.

Here I provide my code? Hope someone can help me. Thank You.

My checkbox :

<input type="checkbox" id="c1" name="checkbox1" class="k-checkbox" checked="checked"  value="active" onclick="checkBox()">

 

Javascript code for checkbox:

$(function() {
    var dataSource = new kendo.data.DataSource({
   transport: {
              read: {
                       url: "/getData.php",
               type: "POST"
              }
              },
                schema: {
                    model: {
                        id: "segmentID"
                              }
              }
    });
});
 
function checkBox() {
     
    var checkbox = document.getElementById("c1");
     
    if (checkbox.checked == true) {

 

        $("#grid").data("kendoGrid").dataSource.read(checkBox.value);
    } else {
        if (checkBox.value == 'active') {
            var x = 'inactive';
        }
        $("#grid").data("kendoGrid").dataSource.read(x);
    }
     
}
yazid
Top achievements
Rank 1
 asked on 21 Dec 2018
4 answers
143 views

Hi,

When I try to replace a white space in RadEditor, it only able to replace at the first line, second line and onwards are not able to replace.

Step:

1. Open 'Find And Replace' dialog.

2. Go to 'Replace' tab.

3. Enter a white space for 'Find' text box.

4. Enter any character or word for 'Replace With' text box.

5. Hit on 'Replace All' button.

Notice that only the white spaces at the first line are able to replace. How do I avoid it? I am able to reproduce it in demo site: https://www.telerik.com/forums/aspnet-ajax/general-discussions?newThread=/forums/aspnet-ajax/general-discussions

 

Thank you.

Rumen
Telerik team
 answered on 20 Dec 2018
3 answers
148 views

Hi,

I'm missing the opportunity to zoom in by double clicking on the map. Is there a way to detect a double click in the client?

 

Kind regards

Robert

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 20 Dec 2018
1 answer
172 views

I need to take a recurring event that was set up in the kendo scheduler and unpack it so i can get an entry for each date. I am using iCal.Net to do this.

 

It works as expected for recurring events, but when i delete an occurrence from the recurring event and try to pass kendoEvent.RecurrenceException to iCalEvent.ExceptionDates.Add(new PeriodList(kendoEvent.RecurrenceException) I get a null reference exception when i call iCal-Calendar.GetOccurrences.

 

Do I need to do something when converting between kendo and ical?

 

TIA

 

My code is:

 

public static List<Occurrence> UnpackRecurrence(ISchedulerEvent scheduleEvent, DateTime? start = null, DateTime? end = null)
        {
            List<Occurrence> rVal = new List<Occurrence>();
            if (string.IsNullOrWhiteSpace(scheduleEvent.RecurrenceRule) == false)
            {
                var recurrencePattern = new RecurrencePattern(scheduleEvent.RecurrenceRule);
                iCalendar calendar = new iCalendar();
                Event evnt = new Event()
                {
                    Start = new iCalDateTime(scheduleEvent.Start),
                    End = new iCalDateTime(scheduleEvent.End)
                };
                evnt.RecurrenceRules.Add(recurrencePattern);
 
                if (string.IsNullOrWhiteSpace(scheduleEvent.RecurrenceException) == false)
                {
                    evnt.ExceptionDates.Add(new PeriodList(scheduleEvent.RecurrenceException));
                }
 
                calendar.Events.Add(evnt);
 
                start = start ?? scheduleEvent.Start;
                if (end == null)
                {
                    if (recurrencePattern.Until != DateTime.MinValue)
                    {
                        end = recurrencePattern.Until;
                    }
                    else if (recurrencePattern.Count > 0)
                    {
                        end = DateTime.Now.AddYears(recurrencePattern.Count);
                    }
                    else
                    {
                        end = DateTime.Now.AddYears(5); // we probably shouldn't hit this
                    }
                }
 
                rVal = calendar.GetOccurrences(new iCalDateTime(start.Value), new iCalDateTime(end.Value)).ToList();
            }
 
            return rVal;
        }

 

Veselin Tsvetanov
Telerik team
 answered on 20 Dec 2018
1 answer
161 views

I'm trying to use RadEditor.

<telerik:RadEditor runat="server" ID="RadEditor1" Skin="Silk" Height="675px" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"
        Toolsfile="/common/_private/config/TelerikToolsFile.xml" ContentFilters="EncodeScripts"
        ExternalDialogsPath="/common/controls/TelerikEditorDialogs/" ContentAreaMode="iframe"
        EnableResize="false" OnClientPasteHtml="OnClientPasteHtml" OnClientLoad="OnClientLoad" >         
</telerik:RadEditor>

 

It's returning an error when I click on Fonts dropdown and it doesn't show the dropdown values. See the attachment

 

Rumen
Telerik team
 answered on 20 Dec 2018
1 answer
186 views

I'm trying to use RadEditor.

<telerik:RadEditor runat="server" ID="RadEditor1" Skin="Silk" Height="675px" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"
        Toolsfile="/common/_private/config/TelerikToolsFile.xml" ContentFilters="EncodeScripts"
        ExternalDialogsPath="/common/controls/TelerikEditorDialogs/" ContentAreaMode="iframe"
        EnableResize="false" OnClientPasteHtml="OnClientPasteHtml" OnClientLoad="OnClientLoad" >         
</telerik:RadEditor>

It's returning an error when I click on Fonts dropdown and it doesn't show the dropdown values. See the attachment

Rumen
Telerik team
 answered on 20 Dec 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?