Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
769 views
Hello everybody,

I have used Rad ComboBox is my application. its dropdown is showing correctly in Firefox, but not correctly in IE. Also its position is different in different devices. All devices Firefox works well.

Plz have a look at image & suggest me best to solve this.
waiting response.
Abhay
Top achievements
Rank 1
 answered on 09 Mar 2011
44 answers
1.3K+ views


The Localization of the new RadEditor "Prometheus" now works with resource files and not with XML files as before. This change was made as resources represent the standard ASP.NET 2.0 mechanism for doing this with extensive built-in support in Visual Studio. As a result, it is a much easier approach for the developer in creating or changing a localization. Another major advantage of this is it is also much easier to deploy and maintain.

The RadEditor "Prometheus" localization is contained in resource files .resx which are within the product dll. Please, note that only the English localization is built-in the control dll.

To create your own localizations for the editor, you need to create the App_Global Resources folder in the root of your web application and copy the English resx files. These files are:

  • RadEditor.Main.resx
  • RadEditor.Tools.resx

and they can be downloaded from this forum sticky note.

After you have copied the resx files, you must duplicate each copy of these files and rename them using the syntax shown in the few examples below:

  • RadEditor.Tools.<Your_Language>.resx
  • RadEditor.Main.<Your_Language>.resx

All resx file contain two columns: Name and Value as it is shown below:

The image “http://www.telerik.com/help/radcontrols/prometheus/images/Localization.png” cannot be displayed, because it contains errors.

The image “http://www.telerik.com/help/radcontrols/prometheus/images/hs-note.gif” cannot be displayed, because it contains errors. It is mandatory to set the ReservedResource string in the Name column of the RadEditor.Tools.<Language>.resx file. Without this string the resource files will not be recognized.

Once you do that you can localize the strings in the Value column. You need to localize the strings in the Value column of your new resx files.

The next step is to set the Language property of RadEditor to the name of the <localization> string in the RadEditor.Tools.<language>.resx file:
Inline in the RadEditor's declaration:
<telerik:radeditor runat="server" ID="RadEditor1" Language="it-IT"></telerik:radeditor>
In the CodeBehind:
C#: RadEditor1.Language = "it-IT";
VB.NET: RadEditor1.Language = "it-IT"

The image “http://www.telerik.com/help/radcontrols/prometheus/images/hs-note.gif” cannot be displayed, because it contains errors. If you provide a new localization for RadEditor "Prometheus" which works properly, we will gladly reward you for your work.



Rumen
Telerik team
 answered on 09 Mar 2011
2 answers
90 views
hi,
I downloaded a source code for a demo available on telerik's website which uses ASP.net AJAX, when I try to run it on my pc it gives me alot of errors, tried to fix them by adding the references again but still errors are coming. The problem is referring to a function in another class is not working. This is a picture of what is happening. 


Vasil
Telerik team
 answered on 09 Mar 2011
5 answers
136 views
Hello Telerik Admins and Members,

I have the following problem.

I set EnablePostBackOnRowClick to 'true' I also enable Client-Side row selection and I try the code below

protected void RadGrid1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Label1.Text = "Aa";
    } 

in Label1 nothing changes! 
When I do the same thing in VB code it works!

Label1.Text = "Aa" is only for test...
I actually need when I click on row (currently selected row) I want the value to be shown in Label. So I guess I have 2 questions!

Barlet,
Thank you
Vasil
Telerik team
 answered on 09 Mar 2011
3 answers
93 views
Hi there,
We have been looking in the TabStrip forum is there any way to create a CSS class for the "selected tab" and for "All tabs". We have found in some examples that Telerik have a CSS for "first tab, second tab, etc". Our problem is that we created the tabs on the fly. It depends the number of roles we have in the database.
One way to make this possible would be to create as many tabs in the CSS as we can imagine and it will access to its number but we think this is not the best way to do it.
So our question is:
Is there any CSS class in the control for "All tabs" and one for the "selected tab"?.

Kind regards.
David Rodriguez
Top achievements
Rank 1
 answered on 09 Mar 2011
1 answer
420 views
Hi

When i try to use more than 500 or i'm using 5000 to 10000 Records in RadCombobox , it is getting very slow while searching the text.
i seen the Demo link in that You are using upto 100 Records only.. so only it was fast.
See my Code and Give me the solution.

<

 

telerik:RadComboBox ID="RadComboBox3" AllowCustomText="true" runat="server" Width="289px" Filter

="Contains"

 

 

 

Height="200px" DataSourceID="SqlDataSource1" DataTextField="BillingName"

 

 

 

 

EmptyMessage

="Select Test......">

 

 

 

</telerik:RadComboBox

>

 

 


<

 

asp:SqlDataSource ID="SqlDataSource1" runat="server"

 

 

 

 

ConnectionString="<%$ ConnectionStrings:TestConString %>"

 

 

 

 

SelectCommand

="SELECT [BillingID], [BillingName] FROM [tblbillingmaster] where [flag]=0">

 

 

 

</asp:SqlDataSource

>

Regards,
Ashok Anbarasu.

 

 

Shinu
Top achievements
Rank 2
 answered on 09 Mar 2011
6 answers
1.3K+ views
Hi,

I am using radgrid. i used label, radcombobox and radbutton(checkbox). i want when i clicking checkbox whole items(rows) background color want to display in client side. and also same item label value want get. both are client side.

so please tell me 1. how to set background selected textbox 2. how to get another control value for selected check box

 I have attached screen shot also. please check and give me a tips.



Thanks in advance,
Dhamu
Dhamodharan
Top achievements
Rank 1
 answered on 09 Mar 2011
4 answers
143 views
I am attempting to use jQuery to set the background-color style of the RadTimePicker on the client side. While I can set this property using the BackColor attribute on the server side, setting it on the client side never results in visual changes... even though the code executes correctly.

I realize that the input text box in question has a ClientID that differs from the ClientID of the RadTimePicker control. It seems that it always follows the format MyTimePickerClientID_dateInput_text. So in order to change the background color, I do the following:

 

 

$(

"#" + <%= this.MyTimePickerControl.ClientID %> + "_dateInput_text").css("background-color", "#FF0000");

 

 

This jQuery code seems to run fine, and when I check the background-color in the debugger, it is indeed set to red. Yet there is no visual change in the browser window.

Is what I'm trying to do possible? If so, what am I doing wrong? I have tried this same technique with other style, such as border, but with the same lack of effect.

 

Alexander
Top achievements
Rank 1
 answered on 09 Mar 2011
4 answers
117 views
Hi I have a RadTreeView(with checkboxes) in RadComboBox. I am able to display the values of selected checkboxes using label. But it's on a Button click. Ideally I wanted to display values when RadcomboBox closes.

RadComboBox1_SelectedIndexChanged is not working for me.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" >
   </telerik:RadScriptManager>
   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadComboBox1" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
   </AjaxSettings>
   </telerik:RadAjaxManager>
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" 
       Skin="Default" >
   </telerik:RadAjaxLoadingPanel>
   <br />
   <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
    </script
    </telerik:RadCodeBlock>
            <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" 
       Style="vertical-align: middle;"   
                EmptyMessage="Choose Stations..." 
         AutoPostBack="True" 
       onselectedindexchanged="RadComboBox1_SelectedIndexChanged">
                <ItemTemplate>
                    <div id="div1"  >
                        <telerik:RadTreeView runat="server" ID="RadTreeView1"   Width="100%" Height="210px" CheckBoxes="true"
                        CheckChildNodes="true" TriStateCheckBoxes="true"  >
                        </telerik:RadTreeView>
                    </div>
                </ItemTemplate>
                <Items>
                    <telerik:RadComboBoxItem Text="" />
                </Items>
            </telerik:RadComboBox>
   <br />
   <asp:Button ID="Button1" runat="server" Text="Selected Stations" 
       onclick="Button1_Click" />
     
   <p>
        </p>
   <p>
     
   <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
  
    </p>
    </form>
</body>
</html>
Please help...
Smiely
Princy
Top achievements
Rank 2
 answered on 09 Mar 2011
4 answers
143 views
Hello,

In my web application, I have a master page with a RadScriptManager control.  I'm getting the following error on page load:

Could not load file or assembly 'System.Windows,Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' orone of its dependencies. The system cannot find the file specified.


Based on the stack trace, the error appears to be thrown from the RadScriptManager constructor:

[FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.]
   System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 
   	typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0 
   System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] 
   	typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +180   
   System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] 
	genericMethodArguments) +192   System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord 
	caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, 
	MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[]
	attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean&
	ctorHasParameters, Boolean& isVarArg) +115   
   System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, 
	Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean 
	isDecoratedTargetSecurityTransparent) +426   System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly
	assembly, RuntimeType caType) +103   
   System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit) +33   
   System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +76   
   System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +388   
   System.Web.UI.ScriptManager..ctor() +26   
   Telerik.Web.UI.RadScriptManager..ctor() +14
The error only occurs the first time I load a page after a build of the application.  As soon as I refresh the page, the error goes away and the application functions as expect.

The error started occurring as soon as I added a Silverlight 3 application in my web app project.

Why are RadScriptManager and the .NET ScriptManager attempting to load a Silverlight dll?  Obviously, this dll is not in the bin directory of the web app.  Any ideas as to how I can make this error go away?

I'm using VS 2010, .NET 4.0, Silverlight 3, and Telerik RadControls for ASP.NET Ajax version 2010.1.415.40.

Thanks,
Andy
Simon
Telerik team
 answered on 09 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?