Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
181 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
110 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
195 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
195 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
211 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
210 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
204 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
235 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
5 answers
568 views

Hi,

I have problem about image manager.

404 File or directory not found when I click image manager in rareditor's  

Please see the attach files, help me to fix it.

Thank you.

Rumen
Telerik team
 answered on 20 Dec 2018
15 answers
2.6K+ views

HI,

I have a RadGrid having a checkbox column, i have added the column as a ItemTemplate to make it editable in the regular mode.

<telerik:GridTemplateColumn UniqueName="IsSelected" DataField="IsSelected">
    <ItemTemplate>
       <asp:CheckBox ID="chkBoolean" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsSelected")) %>'
       Enabled='<%# Convert.ToBoolean(Eval("IsSelectionDisable")) %>' />
    </ItemTemplate>
</telerik:GridTemplateColumn>

Using this I am able to display a checkbox as editable. Now my problem is how do i get the checked value of the checkox for saving it  when the user has changed the checkbox. On click of a button i need to get all the rows that are still checked and save them.

Thanks
Arvind
Eyup
Telerik team
 answered on 20 Dec 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?