Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
314 views
I started another thread here:
http://www.telerik.com/community/forums/aspnet-ajax/calendar/skin-error-when-deploying.aspx
But now I have a different problem.

Now it locks up the PC and will not let me publish the project.  I have deleted all of the project files on the server and tried several times to publish and it stops on the bin folder but gives no error.  I can't delete the dll from the bin folder because it says it's in use.

I've had it.  I really like the Telerik controls but it seems between all our developers they are nothing but trouble.  I'm not the first to have this problem.  My other developer has to publish his project to his PC, then hand copies the files up.  Now he refuses to use any of the controls.
As Sr. developer for our plant I'm starting to agree.

My new error from the web server is this when I try to run the project after uploading:
Could not load file or assembly 'Telerik.Web.UI.Skins' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

I have rebooted my pc and tried again.  The problems started when I added a reference to the Telerik.Web.UI.Skins.dll so I could use a skin.

What exactly are the steps please to getting these skins to work?  And please don't point me to the tutorials.  We've read them and have tried them all.  Are missing a step?

Here's what we did:
I added the datetime picker control to the project.  When I try to select a skin it tells me I need to go copy the dll from another place on the drive to by bin folder. (Why this isn't automatic, I don't know)
I go to c:\program files....  and finally get the skin dll file and copy it to my project's bin filder.
Then it will let me add the skin.
Now when I publish the project it can't find the skin again on the server and it tells me to add a reference to the dll in visual studio.
I add the reference to the dll in the bin folder.  (Now the trouble begins)
The project refuses to publish correctly and the dll gets tied up somehow so I rebooted my PC.
Nothing helps until I remove the reference and throw away the skin.  Then maybe it starts working again.

Where did we go wrong?

Vasil
Telerik team
 answered on 27 May 2013
1 answer
860 views
hi,
I want to change the text of ok and cancel button in radconfirm dialogue.
Telerik.Web.UI.RadWindowUtils.Localization =  
{   
    "OK" : "OK"
    "Cancel" : "Cancel"
};


but it changes button text of all radconfirm, radalerts and radwinodws.
I want to change the button text of radconfirm only.
Please suggest some solution.
it is urgent for me.
Shinu
Top achievements
Rank 2
 answered on 27 May 2013
7 answers
262 views
Hi,

I tried using the new RadMonthYearPicker and am quite dissapointed as Telerik seems to have
created this new control and yet totally missed the point.

Is not the whole purpose of the control to select - or enter - just the month and year, and not have a
day whatsoever? 

If you setup the date format as MM/yyyy and the display format at MM/yyyy (the first thing i tried and
imho the first thing most anybody will try) - the control doesn't work at ALL!!

I've seen all these huge, extended, hard-coding, client-side, work-arounds, of users trying to make
it do just that.

While I know any date variable or database value must have a day, why don't you just add another
paramater to specify the default day value returned and make it work as expected?

Just my two sense,
Scott
Radoslav
Telerik team
 answered on 27 May 2013
2 answers
173 views
Hi All,

Here is my senario with my RadComboBox:

  1. My RCB has thee items: Item A, Item B, and Item C.
  2. I first select Item B.
  3. The OnClientSelectedIndexChanged fires.
  4. I use JS to change my RCB back to Item A, using the .set_text("Item A") method.
  5. I then change back to Item B.
  6. My event does not fire.

I reason that my event does not fire because the RCB "thinks" it has *not* changed, sense it was changed back to Item B only via code.

Any suggestions?

Thanks!

James
Top achievements
Rank 1
 answered on 27 May 2013
1 answer
108 views
We have the RadEditor being used on our SharePoint 2010 site and have a bit of an anomaly with the behaviour of it on the Wiki Pages, initially we didn't have it activated on any of the wiki pages but had a 3rd party piece of software utilise it which 'wraps' it within its own solution. The actual feature is not activated against the site collection at all but the web part of the 3rd party software has a content editor which utilises the RadEditor. So somehow it has been somewhat activated against the wiki pages of the site collection and this is interfering with some functionality that the users have been using such as the test layout etc.
We have tried activiating and deactivating the RadEditor feature(s) of the subsites where this is happening but neither seems to be able to remove the RadEditor from the wiki page in edit mode.
Is there someway to force deactivate it from a particular subsite or page?

The 3rd party product has used various versions of the RadEditor I believe and the safecontrols loaded in the web.config file are as follows:
<SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Editor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Widgets" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI.Skins, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.2.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.2.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.2.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Ajax.SharePoint, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=aa9e5f693af67c7b" Namespace="Telerik.Ajax.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.6.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.6.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.6.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.1.7.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.1.7.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.1.7.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
Stanimir
Telerik team
 answered on 27 May 2013
1 answer
123 views
I'm using the treeview with a right clickable context menu. What's the recommended way of doing this with an Ipad given that it doesn't support right clicking. Cheers, Chris.
Princy
Top achievements
Rank 2
 answered on 27 May 2013
1 answer
233 views
Hi,
How would you get the parent cell of RadComboBox in a OnClientDropDownClosedHandler?

This is is an ItemTemplate in a RadGrid
<telerik:RadComboBox ID="TerritoryManagerRadComboBox" runat="server" onclientdropdownclosed="OnClientDropDownClosedHandler">

 


function

 

 

OnClientDropDownClosedHandler(sender, eventArgs) {
  // here I want to get the cell object

 

 }

I 'd like to get this in javasscript and sender.Parent does not work... What is the correct synthax if any or is there another way to acheieve this? I need the cell object to modify the cell style the radcombobox is in once the selected value changed... I also trie onclientselectedindexchanged but I got the same issue - wa not sure how to get teh parent cell
Jayesh Goyani
Top achievements
Rank 2
 answered on 26 May 2013
0 answers
80 views
It turns out the problem was due to some other code we add expanding onclick events of buttons and submits that was clogging up the telerik expand/collapse.  Fixed it to not attach the additional onclick code to telerik objects.
Peter
Top achievements
Rank 1
 asked on 25 May 2013
0 answers
404 views
Good Day 

I am using Ajax-manager
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
     <AjaxSettings>
           
                <telerik:AjaxSetting AjaxControlID="paymentTypeList">
             <UpdatedControls>
                                  <telerik:AjaxUpdatedControl ControlID="paymentTypeList"  ></telerik:AjaxUpdatedControl>
                      <telerik:AjaxUpdatedControl ControlID="tbxChargeAmount"  ></telerik:AjaxUpdatedControl>
 
             </UpdatedControls>
         </telerik:AjaxSetting>

 now this works on Chrome  but not in IE, in IE 10 it gives me an error 

 
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
Accounts.aspx
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475

more Info again 

Unhandled exception at line 2610, column 1 in http://localhost:58443/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2012.2.607.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:08ccafd1-fc13-48c0-b85b-a439ce2f6884:16e4e7cd:86526ba7:874f8ea2:ed16cbdc:f7645509:24ee1bba:7165f74:58366029:1e771326:f9b9258;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:923aa3cc:853c2e0b:f9ae838a:782b16ab:d754780e:1e088fb:52c703eb:46f97eb1:50114f04:f48dface:28a7831e
 
0x800a138f - JavaScript runtime error: Unable to get property 'id' of undefined or null reference

Thanks 

Vuyiswa
Top achievements
Rank 2
 asked on 24 May 2013
1 answer
312 views
Hi, I have a Repeater inside a RadAjaxPanel, and each repeater item has a DropDownList with Autopostback.  When I change the DropDownList selection a full postback happens instead of a partial one.  I tried wrapping my repeater in an extra panel and add configuration to the AjaxManager but with no luck.  If I try to create settings programmatically on the DropDownList then no postback happens at all.  Can you please help?  Here is my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AjaxTest.aspx.cs" Inherits="AppointmentsScheduling.Web.AjaxTest" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
 
<head runat="server">
 
 <title></title>
 
</head>
 
<body>
 
 <form id="form1" runat="server">
 
 <telerik:RadScriptManager ID="ScriptManager" runat="server" EnableViewState="true"></telerik:RadScriptManager>
 
 <telerik:RadAjaxManager ID="AjaxManager" runat="server">
 
 <AjaxSettings>
 
 </AjaxSettings>
 
 </telerik:RadAjaxManager>
 
 <div>
 
 <telerik:RadAjaxPanel ID="AjaxActionPanel" runat="server">
 
 <asp:Repeater ID="AppointmentList" runat="server">
 
 <ItemTemplate>
 
 <div class="column statuscolumn">
 
 <asp:Label ID="lblStatus" runat="server" Text="* Status" AssociatedControlID="Status" CssClass="required" />
 
 <asp:DropDownList ID="Status" runat="server" AutoPostBack="true"
 
 onselectedindexchanged="Status_SelectedIndexChanged">
 
 <asp:ListItem Text="1" Value="1" />
 
 <asp:ListItem Text="2" Value="2" />
 
 </asp:DropDownList>
 
 </div>
 
 </ItemTemplate>
 
 </asp:Repeater>
 
 </telerik:RadAjaxPanel>
 
 </div>
 
 </form>
 
</body>
 
</html>

 

 

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
 
namespace AppointmentsScheduling.Web
{
    public partial class AjaxTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                AppointmentList.DataSource = new int[] { 1, 2, 3 };
                AppointmentList.DataBind();
            }
        }
 
        protected void Status_SelectedIndexChanged(object sender, EventArgs e)
        {
            var Status = (DropDownList)sender;
            var lblStatus = (Label)Status.Parent.FindControl("lblStatus");
            lblStatus.Text = "* Status " + Status.SelectedValue;
        }
    }
}
Pavlina
Telerik team
 answered on 24 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?