Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views

What browsers are supported for copying and pasting images into RadEdtor as Base64 images. I know that for IE only IE 11 is supported but what about for Chrome or Firefox? What are the minimum versions.

 Any help is appreciated. Thanks!

Vessy
Telerik team
 answered on 12 Aug 2015
3 answers
300 views

Hi,

I have listview that works well with the definition below:

<telerik:RadListView ID="lvwUserGroups" runat="server" ItemPlaceholderID="groupsPlaceholder" OnNeedDataSource="lvwUserGroups_NeedDataSource"
    DataKeyNames="GroupID" >
    <LayoutTemplate>
        <div class="RadListView RadListView_<%# Master.SkinManager.Skin %>" >
            <table class="mainTable">
                <thead>
                    <tr class="rlvHeader">
                        <th class="thcenter">Enabled</th>
                        <th>Group</th>
                    </tr>
                </thead>
                <tbody>
                    <asp:PlaceHolder id="groupsPlaceholder" runat="server">
                    </asp:PlaceHolder>
                </tbody>
            </table>
        </div>
    </LayoutTemplate>
</telerik:RadListView>

 

protected class userGRPTemplate : ITemplate
{
    private ADScrubWeb.HTMLHelper helper = new ADScrubWeb.HTMLHelper();
 
    public userGRPTemplate()
    {
    }
 
    public void InstantiateIn(Control container)
    {
        TableRow tr = new TableRow();
        container.Controls.Add(tr);
 
        helper.AddControlToParent(container, helper.AddBoundHiddenField("GroupID"));
 
        helper.AddControlToParent(tr, helper.AddBoundCheckBox("Enabled"), true, HorizontalAlign.Center);
        helper.AddControlToParent(tr, helper.AddBoundTextBox("GroupName", BorderStyle.None, true), true, HorizontalAlign.Left);               
    }
}

 

public CheckBox AddBoundCheckBox(string controlID)
{
    CheckBox tmp = new CheckBox();
    tmp.ID = controlID;
    tmp.DataBinding += delegate(object sender, EventArgs args)
    {
        CheckBox control = ((CheckBox)sender);
        RadListViewDataItem listViewDataItem = ((RadListViewDataItem)control.NamingContainer);
        control.Checked = lsuGeneral.IsTrue(DataBinder.Eval(listViewDataItem.DataItem, controlID).ToString());
    };
    return tmp;
}

 

I would like to react to the user clicking the bound checkbox so I can do auto-updates without the user clicking an update button. I tried wiring up the checkbox CheckedChange event in the ITemplate but that didn't fire, anyway I would still need to know which row's checkbox was clicked.

Any ideas?

 

 

 

Maria Ilieva
Telerik team
 answered on 12 Aug 2015
1 answer
55 views

Hi,

I have a couple of questions:

1. Is there a way to know when the ImageEditor is being closed by the user? i.e. when the user is clicking the cancel button or the X button?

2. When the ImageEditor is "closed", the underlying object is not yet disposed, is there a property of the object that can be used to check if it is closed ?

Thanks
Elie

We are using version 2014.1.403.35
IE 9

 

 

Vessy
Telerik team
 answered on 12 Aug 2015
2 answers
108 views
Hi everyone,


I am trying to use RadAutoCompleteBox in a Sharepoint Visual Web Part solution, so i use below code which is working in another asp.net web application.



<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>

 <telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox1" EmptyMessage="Please search name here" Delimiter=","
            DataSourceID="SqlDataSource1" DataTextField="StaffName" InputType="Text" Width="250px" DropDownWidth="240px" Style="float: left; height: 22px">
            <TextSettings SelectionMode="Single" />
        </telerik:RadAutoCompleteBox>

        <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="Data Source=CNDEVSQL1;Initial Catalog=SAVLEAVE_OFFLINE;Integrated Security=True"
            ProviderName="System.Data.SqlClient" SelectCommand="SELECT  [StaffName] FROM [SAVLEAVE_OFFLINE].[dbo].[Staffs]"></asp:SqlDataSource>



i found that if my aspx for sharepoint contains RadScriptManager , then this page will return yellow page.

while the other radcontrol is working if there is no RadScriptManager in aspx.

i also added correct web config in my sharepoint site.


      <SafeControl Assembly="Telerik.Web.UI, Version=2014.2.812.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
      <SafeControl Assembly="Telerik.Web.Design, Version=2014.2.812.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />
      <SafeControl Assembly="Telerik.Web.UI.Skins, Version=2014.2.812.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Skins" TypeName="*" Safe="True" />


<httpHandlers>
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    </httpHandlers>


i also registered telerik dll in visual studio command prompt. 


gacutil -i c:\Telerik\Telerik.Web.UI.dll

gacutil -i c:\Telerik\Telerik.Web.Design.dll

 


i think this is some issue of RadScriptManager for sharepoint? because radajax panel ,radgrid is working correctly in the same page if there is no RadScriptManager .


any help is much appreiated because this issue is troubling me for many days!!

Yang
Top achievements
Rank 1
 answered on 12 Aug 2015
3 answers
375 views
Hi

The users can delete rows in a radgrid by pressing the delete key from the keyboard. But there is no confirmation pop up to prevent the user from deleting the row by mistake. When users presses the delete key i use fireCommand("Cancel", "") to prevent the row from deleting. After that i want to display a radconfirm window but the radconfirm window pops up for a second only and goes away without allowing the user to press either Yes or No. How can I stop the radconfirm window from closing?

case 46: //Delete

                       
            if (!(event.srcElement.type == "text") && !(event.srcElement.type == "textarea")) {
                GetGrid().get_masterTableView().fireCommand("Cancel", "");                    
                radconfirm(prompt, clientCallBackFunc);
            }
            break;

Thanks
Muhammad

Maria Ilieva
Telerik team
 answered on 12 Aug 2015
2 answers
231 views

Hello,

is it somehow possible to sort the tasks e.g. by start date. It seems that it's only possible to sort the tasks inside the gantt by custom columns when using a custom gantt provider. Sorting by a standard column like title or start date is ignored. Thanks.

Regards,
Felix

Felix
Top achievements
Rank 1
 answered on 12 Aug 2015
0 answers
116 views

Hi, 

I need to synchronize the RadScheduler with the Exchange server account using Exchange Web Services. I used the RadScheduler SDK uploaded on the official web site : 

http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/data-binding/providers/exchange-provider

An error was generated on SharePoint Side: System.Net.WebException: The remote name could not be resolved: (DomainName) knowing that the exchange web service is runing properly.

I use SharePoint 2010 and Telerik.Web.UI, Version=2015.1.401.35

Thank you for your support.

Regards,

Touzi
Top achievements
Rank 1
 asked on 12 Aug 2015
1 answer
111 views
Getting 404 error when I click on hyperlink or every thing on editor option such as image manager or document manager or any pop for my radeditor
Niko
Telerik team
 answered on 12 Aug 2015
3 answers
94 views

Hello,


I have come across a problem with the editor.
We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45. 
After upgrade new version that some functionality are messed up.
Steps to reproduce the issue

1 - Add below content HTML mode.
<html><head> </head><body style="-ms-zoom: 100%;"><a href="http://google.com?q=<input type='button' style='background-color: lime;border:none;padding:2px;'  value='## test ##' onclick='return window.parent.DynamicVariableHandler(this);' data-varname='IyNmaXJzdG5hbWUjIw==' data-index='81' />" target="_blank">Name</a></body></html>

 2 - Back to Design view and link is crashed 

This scenario is working fine in Telerik  V 2013. However, latest version of telerik does not handle this and link crashes.

This can easily be reproduced on your demo site as well(IE Browser).

Refer below link for more idea.

http://screencast.com/t/VuCKbcL4c0D

Please Suggest ASAP as it is blocker for us.

 

Thanks

Danail Vasilev
Telerik team
 answered on 12 Aug 2015
2 answers
105 views

Hi,

 Just want to ask how to put spacing between files and action buttons? I have attached a screenshot and highlighted the part on which I need to add spacing. Thanks.

Magdalena
Telerik team
 answered on 12 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?