Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
197 views
Hello,

Is it possible to do Image Processing using RAD controls?

Jayanthi
Vessy
Telerik team
 answered on 15 Apr 2020
1 answer
131 views

Hi Team,

We have upgraded following dll from Telerik.Web.UI.dll (2014.2.724.45) to Telerik.Web.UI.dll (2020.1.219.45)
& RadEditorSharePoint.dll(7.4.1.0) to RadEditorSharePoint.dll (7.21.1.0) in SharePoint 2013 environment.

Before upgrading the dll, doclink is displaying along with icon on the SharePoint page, but after upgrading the dll, only doclink is getting displayed on the SharePoint page.

How to fix this issue. please suggest.

 

Rumen
Telerik team
 answered on 15 Apr 2020
1 answer
92 views

The title for the image properties dialog is 'Properties...'. I use request filtering in IIS, and I would like to block '..' in urls and query strings. However, this blocks the image properties dialog, because the request query string includes the title, which includes '...'.

 

So, how can I change the title of this dialog to remove the dots from the request?

Rumen
Telerik team
 answered on 15 Apr 2020
1 answer
2.6K+ views

I'm using RadSpreadsheet control in one my my asp.net web forms page. Everything works as expected when I debug the application from Visual Studio. But when I deploy the application to IIS the Save operation fails with the message attached.

I have been using Newtonsoft.Json package long before I added the spreadsheet functionality and never had a similar problem with it. What could be the cause of this error?

Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Giorgos
Top achievements
Rank 1
 answered on 14 Apr 2020
4 answers
934 views
Hi,

I'm trying to use programmatic data binding, as in this demo http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/databinding/defaultcs.aspx
But I'm getting the message error: 

Parent Columns and Child Columns don't have matching columns (my SO is in spanish, so the original message is "Las columnas primarias y las columnas secundarias no tienen columnas que coincidan.")

Attached is an image of my data and this is my code:

    System.Data.DataSet ds = st.getFileStructure();

     treeView.DataTextField = "leafDisplayName";
     treeView.DataFieldID = "leafName";
     treeView.DataFieldParentID = "Parent";
 
     treeView.DataSource = ds;
     treeView.DataBind();

and this is my stack trace:  

[InvalidConstraintException: Las columnas primarias y las columnas secundarias no tienen columnas que coincidan.]
POsWorkflow.UserControls.FileStructureCtrl.BindToDataSet(RadTreeView treeView, Boolean isGidStructure) in C:\Users\...\UserControls\FileStructureCtrl.ascx.cs:217
POsWorkflow.UserControls.FileStructureCtrl.Page_Load(Object sender, EventArgs e) in C:\Users\...\UserControls\FileStructureCtrl.ascx.cs:65
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


I don“t know what i'm doing wrong. Some body help :(

Thanks in advance.



Gilberto
Top achievements
Rank 1
Veteran
 answered on 13 Apr 2020
2 answers
121 views

I am hiding the detail template item in the OnItemDataBound method which works, but this causes a blank row when I export to Excel.  How can the row be removed completely?

Dim item = CType(e.Item, GridDataItem)

item.DetailTemplateItemDataCell.Visible = false

Benjamin
Top achievements
Rank 1
 answered on 13 Apr 2020
1 answer
103 views

I was able to get this working in a different repo for another client.  I copied the code to the other repo and get the red X.  I have my container and keys set

<telerik:RadCloudUpload ID="CloudUpload" runat="server" MultipleFileSelection="Automatic" HttpHandlerUrl="~/UploadToCustomFolderHandler.cs" 
      OnFileUploaded="CloudUpload_FileUploaded" AllowedFileExtensions="xlsx,xls,doc,pdf,docx,png,tiff" ProviderType="Azure">
</telerik:RadCloudUpload> 

 

 

Mark
Top achievements
Rank 1
Veteran
 answered on 13 Apr 2020
3 answers
402 views

Hi,

Master Grid :

<telerik:RadGrid Width="100%" ExportSettings-Excel-DefaultCellAlignment="Left"
    Height="600px" ClientSettings-Scrolling-AllowScroll="true"
    RenderMode="Lightweight" ID="RgHotelDomestic">
    <ClientSettings Selecting-AllowRowSelect="true"
        EnableRowHoverStyle="false"
        EnablePostBackOnRowClick="false">
        <ClientEvents OnRowSelected="RowSelected" />
    </ClientSettings>
</telerik:RadGrid>

 

Popup Editor :

<telerik:RadWindow ID="RwEditHotelAllowance" runat="server" Width="600px" Height="600px"
            Modal="true" KeepInScreenBounds="true" Title="Edit Hotel Allowance">
            <ContentTemplate>
    <telerik:RadGrid ID="RgHotelDomesticEdit" runat="server"
        AutoGenerateColumns="false"
        CellSpacing="-1" GridLines="Both"
        OnNeedDataSource="RgHotelDomesticEdit_NeedDataSource"
        OnItemDataBound="RgHotelDomesticEdit_ItemDataBound" Height="400px">
    <ClientSettings>
        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" FrozenColumnsCount="2"></Scrolling>
    </ClientSettings>
    </ContentTemplate>
</telerik:RadWindow>

 

Js calling Popup :

<script>
    function RowSelected(sender, eventArgs) {
        debugger;
        var grid = sender;
        mygrid = grid;
        //console.log("grid ", grid);
        //console.log("mygrid2 ", mygrid);
        var MasterTable = grid.get_masterTableView();
        var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
        //console.log("row", row);
 
        var cell1 = MasterTable.getCellByColumnUniqueName(row, "CityId");
        var cell2 = MasterTable.getCellByColumnUniqueName(row, "City");
        document.getElementById("<%= EditCityId.ClientID %>").value = cell1.textContent;
        document.getElementById("<%= EditCityName.ClientID %>").value = cell2.textContent;
        document.getElementById("<%= EditCityName.ClientID %>").value = cell2.textContent;
 
        var oWnd = $find("<%= RwEditHotelAllowance.ClientID %>");
        oWnd.show();
    }
</script>

 

Server Side :

protected void RgHotelDomesticEdit_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
    try
    {
        //1. RgHotelDomesticEdit.DataSource = GetDT(HotelParameter,Convert.ToInt32(EditCityId.Value));
         
        RgHotelDomesticEdit.DataSource = GetDT(HotelParameter);    
    }
    catch (Exception ex)
    {
        throw;  
    }
}

 

Is there any way to trigger OnNeedDataSource not from page load, but from client event Popup Windows, because i need to pass paramaeter CityId (based on clicked Edit Item in master page).

 

Regard,

 

Ragil

 

 

 

 

Doncho
Telerik team
 answered on 13 Apr 2020
10 answers
1.0K+ views

I have a problem that I've been trying to research for the past couple of days.   My project involves 

a PageLayout with multiple LayoutRows and LayoutColumns.    What I'm trying to accomplish is

to programmatically set the visible property of one of my LayoutRows to "True" when a certain

button is clicked.  I want to do this client side via javascript.   Is this possible?   Here is a snipet 

of my code:

               <telerik:LayoutRow ID="LayoutRow_SelectNote" Visible="false">      
                    <Columns>
                        <telerik:LayoutColumn Span="10">
                            Select Orders To Recap From Below List:
                        </telerik:LayoutColumn>
                    </Columns>
                </telerik:LayoutRow>

n/a
Top achievements
Rank 1
 answered on 13 Apr 2020
1 answer
104 views

Hello, all.

Just getting started with the RadMediaPlayer on a tight-deadline project, and I'm looking over the documentation, and I must be simply missing something.

I've got a playlist set up, and another control outside of the player -- a "featured video" display -- knows an index of an item within the playlist.  I want to click the button and immediately go to the beginning of that video, client-side if possible.

Thanks in advance.


Vessy
Telerik team
 answered on 13 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?