Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
169 views
Hello,

We are providing .docx file to the RadEditor.
It does not convert this files as per their original formatting.

Following are some of the points we have noticed.

1. Accepts only .DOCX and .RTF documents.  It does not accept .DOC files.

2. When we import .DOCX, the formatting get disturbed.
  a) Header and footer from the original file is removed.
  b) Overall alignments are not as per the original document provided.
  c) Table boarder in the document goes missing in some case.
  d) Images goes missing in some cases.
Over all, after loading the file in the viewer, it does not look as per the original document.

Thanks.

Luis
Top achievements
Rank 1
 answered on 16 Aug 2016
5 answers
1.0K+ views
Hi Everyone I am new at developing and I am just simply trying to Run this website from visual studio 2010 and I am getting this error. I just copied the production source code to a test server and it runs perfectly. I am unsure why on my local machine it does not run. My version is actually 2013.1.417.40 I am unsure why it keeps referencing these 2012.3.1016.40 and 2012.2.724.0 files.

 

1)I have searched my computer and I do not have any 2012 files on it.I have added the /bin .dll file to my GAC.

 

2)I tried it add this to my webconfig but it errors out at the runtime code. I am unsure where to place it in the webconfig but I assumed anywhere inbetween <Configuration></configuration>

 
<runtime>
        <dependentAssembly>
          <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
          <bindingRedirect oldVersion="1.0.0.0-2013.1.417.40" newVersion="2013.1.417.40" />
        </dependentAssembly>
</runtime>
 

3)added this intween the <assemblies></assemblies>

<add assembly="Telerik.Web.UI, Version=2013.1.417.40, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

4)I have removed the reference files and readded them using the dll file that is in my /bin and rebuild.

5)I have turned specific file version to false in references.

6)I have installed the Telerik asp.net ajax software(not sure if I need to do that)

 

I am running out of options. please help.

 

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
 
Source Error:
 
 
Line 1:  <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MainMenu.ascx.cs" Inherits="Risk_Registers.MainMenu" %>
Line 2:  <%--<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>--%>
Line 3: 
 
Source File: /MainMenu.ascx    Line: 1
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.
 
 
=== Pre-bind state information ===
LOG: DisplayName = Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4
 (Fully-specified)
LOG: Appbase = file:///C:/Users/xxx/Risk Registers/
LOG: Initial PrivatePath = C:\Users\xxx\Risk Registers\bin
Calling assembly : Risk Registers, Version=2012.2.724.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\xxx\Risk Registers\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4
LOG: Attempting download of new URL file:///C:/Users/xxx/AppData/Local/Temp/Temporary ASP.NET Files/root/80d173ca/a5cf8a4d/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Users/xxx/AppData/Local/Temp/Temporary ASP.NET Files/root/80d173ca/a5cf8a4d/Telerik.Web.UI/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Users/xxx/Risk Registers/bin/Telerik.Web.UI.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.

 

 

 

 

 

tvdang
Top achievements
Rank 1
 answered on 16 Aug 2016
6 answers
2.3K+ views
I meant to detach these two database file from the SQL Server 2008 but I used the "Delete" from the menu.   Then these two files are physically removed from the APP_DATA folder and they are gone. 

Where can I download these two files?  I tried to run the installation msi file which has a "repair" process but it does not seem to put back the sample databases.

Please advise. Thanks.  
Daniel
Telerik team
 answered on 16 Aug 2016
9 answers
337 views

Hi,

I would like to dynamically populate the RadDropDownTree client side - but I need all nodes to be fully expanded. The web service databinding scenario would be great, except I can't see any way to make it automatically expand all the nodes. Alternatively I can write a web service to return me a json list of the data I need, but I can't see a way to add nodes to the RadDropDownTree through javascript.

How can I achieve the functionality I want?

Jon
Top achievements
Rank 1
 answered on 16 Aug 2016
2 answers
123 views

Hi,

i try to perform filter operation programmatically. So i created an asp button and attached a server side click event handler. The filter operation should be fired in the event handler:

 protected void Filter_Click(object sender, EventArgs e)
 {
            RadGrid grd = grid;
            grid.MasterTableView.FilterExpression = "([Capture] LIKE 'Kind%')"; // Capture is the id and unique name of a GridBoundColumn
            GridColumn column = grid.MasterTableView.GetColumnSafe("Capture");
            column.CurrentFilterFunction = GridKnownFunction.Contains;
            column.CurrentFilterValue = "Kind";
            grd.EnableLinqExpressions = false;
            GridDataItem item = (grid.MasterTableView.GetItems(GridItemType.Item)[2] as GridDataItem);
            item.FireCommandEvent("Filter", new System.Web.UI.Pair("Kind", "Capture")); // exception is being fired at this line
            grid.Rebind();
}

 

This code causes an exception:

 

An exception of type 'System.NullReferenceException' occurred in Telerik.Web.UI.dll but was not handled in user code


   at Telerik.Web.UI.GridColumn.RefreshCurrentFilterValue(GridFilteringItem filteringItem, String functionName)
   at Telerik.Web.UI.GridFilterCommandEventArgs.ExecuteCommand(Object source)
   at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
   at Lusd.Presentation.LusdApplication.UserControls.Schule.InstitutionsListeControl.Filter_Click(Object sender, EventArgs e) in C:\TFS\ZeGOV\LUSD\Client\development\standard\Presentation\Presentation.LusdApplication\UserControls\Schule\InstitutionsListeControl.ascx.cs:line 429
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

How can I get it fixed?

 

Thanks in advance

Yazid
Top achievements
Rank 1
 answered on 16 Aug 2016
1 answer
104 views

Hi,

when I try to perform filter operation in a button event handler the FireCommandEvent method causes an exception.

        protected void Filter_Click(object sender, EventArgs e)
        {
            RadGrid grd = grid;
            grid.MasterTableView.FilterExpression = "([Capture] LIKE 'Kind%')";
            GridColumn column = grid.MasterTableView.GetColumnSafe("Capture");
            column.CurrentFilterFunction = GridKnownFunction.Contains;
            column.CurrentFilterValue = "Kind";
            grd.EnableLinqExpressions = false;
            GridDataItem item = (grid.MasterTableView.GetItems(GridItemType.Item)[2] as GridDataItem);
            item.FireCommandEvent("Filter", new System.Web.UI.Pair("Kind", "Capture"));
            grid.Rebind();
        }

Here is the exception:

An exception of type 'System.NullReferenceException' occurred in Telerik.Web.UI.dll but was not handled in user code


   at Telerik.Web.UI.GridColumn.RefreshCurrentFilterValue(GridFilteringItem filteringItem, String functionName)
   at Telerik.Web.UI.GridFilterCommandEventArgs.ExecuteCommand(Object source)
   at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
   at Lusd.Presentation.LusdApplication.UserControls.Schule.InstitutionsListeControl.Filter_Click(Object sender, EventArgs e) in C:\TFS\ZeGOV\LUSD\Client\development\standard\Presentation\Presentation.LusdApplication\UserControls\Schule\InstitutionsListeControl.ascx.cs:line 429
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

How can I get it solved?

 

Thanks in advance.

Viktor Tachev
Telerik team
 answered on 16 Aug 2016
1 answer
106 views
Initially, when I need telerik in my project, I only load the main dll. Now, when I go to upgrade wizard, in addition to upgrading telerik, it also loads the zip and document libraries, of which I do not need. Is there a way to opt out of adding those when upgrading?
Maria Ilieva
Telerik team
 answered on 16 Aug 2016
1 answer
86 views

I am using radgrid, i have used asp link button in GridTemplateColumn .

On click of link button i want to get value of label which is different GridTemplateColumn using javascript.

How to fetch value of label by client side.

Please help. Regards

Maria Ilieva
Telerik team
 answered on 16 Aug 2016
1 answer
43 views

Greetings,

Looks like a bug was introduced in 2016.2.719+.  Put the following in a blank web form:

<telerik:RadColorPicker ID="RadColorPicker1" ShowIcon="True" runat="server" SelectedColor="Red"></telerik:RadColorPicker> 
<telerik:RadColorPicker ID="RadColorPicker2" ShowIcon="True" runat="server"></telerik:RadColorPicker>

Select a color in one control and it changes in both controls.

Works fine in 2016.2.712 and earlier.

Thanks,

Gary.

 

Marin Bratanov
Telerik team
 answered on 16 Aug 2016
1 answer
56 views

Hi telerik team.

 

I have some questions, i´m working with a user control like this:

<telerik:RadAjaxManagerProxy runat="server">
    <AjaxSettings>
         <telerik:AjaxSetting AjaxControlID="cbTaxesGroup">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="cbTaxes" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

<section>
    <div class="col-md-10">
        <telerik:RadComboBox runat="server" ID="cbTaxesGroup" AllowCustomText="false" EmptyMessage="Selecciona" AutoPostBack="true"               OnSelectedIndexChanged="cbTaxesGroup_SelectedIndexChanged"></telerik:RadComboBox><br />
        <telerik:RadComboBox runat="server" ID="cbTaxes" AllowCustomText="true" MarkFirstMatch="true" AutoPostBack="true" OnSelectedIndexChanged="cbTaxes_SelectedIndexChanged"></telerik:RadComboBox><br />        
    </div>    
</section>

 

Each cbTaxes depends of cbTaxesGroup selection...

And i´m using this control inside a RadGrid like:

<telerik:GridTemplateColumn UniqueName="templateTaxesColumn" HeaderText="Impuesto">
                            <ItemTemplate>
                                <%# Eval("TaxDescription") %>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <ucCustom:ucTaxesCtrl runat="server" ID="cmbTaxes" />
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="cmbTaxes:cbTaxesGroup" CssClass="validate-control" ErrorMessage=" *" ForeColor="Red"></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="cmbTaxes:cbTaxes" CssClass="validate-control" ErrorMessage=" *" ForeColor="Red"></asp:RequiredFieldValidator>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>

But the problem is that the second radcombobox neves is populate...

Someone can help me please?

Veselin Tsvetanov
Telerik team
 answered on 16 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?