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

I have not looked at my references or webconfig for a few years but after upgrading from

"

2009.2.826.35" to 2012.3.1308.35
I get
Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.311.35, 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)

This error rings a bell from my last upgrade but I bamboozled by the size and complexity of my webconfig and reference section.
For some reason i have this in the<dependentAssembly>

 

<

 

assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121FAE78165BA3D4" culture="neutral" />

 

<

 

bindingRedirect oldVersion="0.0.0.0-2009.2.826.35" newVersion="2009.2.826.35" />

 

</

 

dependentAssembly>

It  my no longer be needed
Any help please

 

Al
Top achievements
Rank 1
Iron
 answered on 16 Jan 2013
3 answers
203 views

HI,

I want to use 'outlook' skin for my radsharepointeditor provided by telerik control. FYI, 

For certain controls, we are already using our custom skins. 


I have already put the 

Telerik.Web.UI.Skins.dll in gac . But I am getting following error. 



Telerik.SharePoint.MOSSRadEditor with ID='ctl00' was unable to find an embedded skin with the name 'Outlook'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.


Default skin is working fine as it is already available in telerik.web.ui dll.

How can I resolve this error, as you know that we are using Radhtmlfield and we all know that skin control is only applicable to telerik editor control. We are using WCM option.

For more information, Please find web.config lines

this is for mosseditor to redirect to 3.5 version as per the help document provided by telerik control
 <dependentAssembly>
        <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4"/>
        <bindingRedirect oldVersion="1.0.0.0-2008.3.1314.20" newVersion="2012.3.1205.35"/>
      </dependentAssembly>
  <add key="Telerik.Editor.EnableEmbeddedSkins" value="True" />
    <add key="Telerik.Editor.Skin" value="Outlook" />


for certain controls we are using our own skin assembly
<add key="Telerik.Web.SkinsAssembly" value="Ecm360.Utilities.SkinResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=E1998016F025A868"/>

Do we have to do any safecontrol or assembly entry for telerik.web.ui.skin.dll as no where in the help document?

Please provide us the solution asap.

Thanks,
Ankit Trivedi




Rumen
Telerik team
 answered on 16 Jan 2013
1 answer
108 views
I'm having an issue with a RadTabStrip and a RadGrid in the NeedDataSource event. When the control loads the selected index is set to 0 for the tab strip and when I click around the tabs, the selected index is correct. The problem occrus when I select a checkbox in RadGrid that is auto posting back, the NeedDataSource event is showing the RadTabStrip selected index to be 0 everytime.

Example screenshots: The seleted index should be 4 but the NeedDataSource event is showing 0 everytime.

Thanks
Pavlina
Telerik team
 answered on 16 Jan 2013
3 answers
47 views
Getting a server error...
Please fix!
Pavlina
Telerik team
 answered on 16 Jan 2013
0 answers
63 views
Hi

I have a problem with method deleteSelectedItems()

I have a method in javascript

function RemoveItems() {
        var masterTable = $find("<%= gvArticlesEdit.ClientID %>");
        var selectedItems = masterTable.get_selectedItems();
        masterTable.deleteSelectedItems();
         
    }

var selectedItems is for testing to see how radGrid get selectedItems and it is working fine. But, this line:
masterTable.deleteSelectedItems(); 
delete all objects in radGrid...

If something help's , this is part of code for binding object in that grid, and that's work fine
var item = new Object();
  
        item.Name = name;
        item.Measure = unitMeasure;
        item.Items = items;
  
        allItems.push(item);
        var tableView = $find(gArticlesEditID).get_masterTableView();
        tableView.set_dataSource(allItems);
        tableView.dataBind();


Nikola
Top achievements
Rank 1
 asked on 16 Jan 2013
4 answers
150 views
I have a radlistview bound to a data source.

When the user edits or inserts an item, I make modifications dynamically to the edit/insertitemtemplate (hiding some options, making others read only) based upon other values contained on the web page.

I have been doing this in the ItemDataBound event, and it works great.

Unless the datasource contains no records.

In this case, the EmptyItemTemplate is displayed, and when I click Insert button I have placed on the template, the ItemDataBound event is never fired.

The InsertItemTemplate is displayed with default styles, etc.

What event and RadListViewItem object can I use to dynamically configure the insertitemtemplate dynamically when there are no records associated in the underlying data source?
Maria Ilieva
Telerik team
 answered on 16 Jan 2013
3 answers
152 views
I'm setting RadScheduler.TimeZoneID in Page_Load event and there's some strange behavior in scheduler when comes to date of DayLight Saving Time changing.(28.10.2012)  Any ideas what I'm doing wrong?
RadScheduler1.TimeZoneID = TimeZoneInfo.Local.Id;
Screenshot:

Plamen
Telerik team
 answered on 16 Jan 2013
10 answers
1.5K+ views
I have a grid that I need to have several custom aggregate columns for the footer as it need to calculate the Average Daily Rate by calculating the sum(revenue in each row) / sum(rooms in each row)  this calculation needs to be done on different columns in the same grid and shown in the footer.   As there is very little documentation on Footer custom aggregates any help or samples would be appreciated.
Marin
Telerik team
 answered on 16 Jan 2013
5 answers
1.0K+ views

am using RadAsyncUpload to upload flles to the server and want to check if file name exist on client side then javascript popup to confirm overwrite or change file name by adding +1 to the filename.

I tried to use these script on server side and also didn't goes well for me .


Protected Sub RadAsyncUpload1_FileUploaded(ByVal sender As Object, ByVal e As FileUploadedEventArgs)
       Dim targetFolder As String = "~/Files"
 
       Dim targetFileName As String = Path.Combine(Server.MapPath(targetFolder), e.File.GetName())
       If Not File.Exists(targetFileName) Then
           e.File.SaveAs(targetFileName)
           txtpath.Text = targetFileName
           ' Implement logic
       Else
 
 
           lbresult.Text = "failed to upload"
 
 
       End If
   End Sub




and also this code :

 
Private Sub RadAsyncUpload1_FileUploaded(ByVal sender As Object, ByVal e As FileUploadedEventArgs)
            Dim fullPath As String = Server.MapPath(Path.Combine(RadAsyncUpload1.TargetFolder, e.File.GetName()))
 
            If File.Exists(fullPath) Then
                e.IsValid = False
                e.File.SaveAs(Server.MapPath(Path.Combine(RadAsyncUpload1.TargetFolder, e.File.GetNameWithoutExtension() & "1" & e.File.GetExtension())))
 
            txtpath.Text = "http://www.xxxxx.org/Files/" & e.File.FileName
 
        End If
        End Sub

Peter Filipov
Telerik team
 answered on 16 Jan 2013
3 answers
177 views
Hello, Telerik
I have an RadComboBox:
<telerik:RadComboBox runat="server" IsEditable="True" Width="167px" style="margin-left: 23px;" ID="cbMails" EmptyMessage="Choose a mail text"  OnSelectedIndexChanged="cbMails_SelectedIndexChanged" CssClass="ComboTop" AutoPostBack="True" meta:resourcekey="cbMailsResource1"></telerik:RadComboBox>

And I have a button
 <asp:Button runat="server" ID="AddButton" Text="Add" CssClass="GreenContentButton"<br>                                    Width="60px" OnClick="AddButton_OnClick" meta:resourcekey="AddButtonResource1" />

On button press I add new item in RadComboBox on server side.
I want to be able to edit ComboBot item in it.
I used IsEditable mode set to True but it does not work.
In matter of fact it's not shown in intellitrace in regular Asp.Net.
As far as I understood, it's available with silverlight and wpf versions of control. And by the logic in must be available in here, am I right?

Please say I am)
Nencho
Telerik team
 answered on 16 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?