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

Hi,

is there a way to capture when a command is done on the viewer toolbar?

I'm looking to capture when the zoom changes.

Thank you.

 

Vessy
Telerik team
 answered on 12 Jun 2020
4 answers
218 views

Hello,

I'm trying to localize the RadColorPicker using resource-files placed in the App_GlobalResources of my website, which is working fine for most of the telerik controls (e.g. RadComboBox). In case of the RadColorPicker, adding these resource files doesn't seem change anything. For example the following code does not use any resource-file values for the texts and tooltips of "No color", "Custom color" as well as the "OK" and "cancel" buttons within the "Custom color" sub-control.

<telerik:RadColorPicker runat="server" ID="RadColorPickerStatusColor" Preset="Standard" EnableCustomColor="true" SelectedColor="#FFFFFF" />

 

Because I'm using this control in multiple places, I dislike the way localization for RadColorPicker is beeing described in the docs (Telerik Docs: RadColorPicker). Additionally, I'm not able to find the key for at least the cancel-button within the supplied resource files (en, de, fr; which are available for download at https://www.telerik.com/account/product-download?product=RCAJAX).

As for the screenshot, the current Culture of the website is German, so I would expect the RadColorPicker to be displayed using the RadColorPicker.de-DE.resx file. Obviously these values are English though.

 

Any tips on the missing key for the cancel-button or the fact, that there's no localization at all?

Kind regards

Peter Milchev
Telerik team
 answered on 12 Jun 2020
10 answers
2.3K+ views
Hi,

I have RAD Ajax Controls 2009 Q3 installed, no problem.

I am not sure why, but when I build my site, I get errors like this:

Error    4    The name 'RadMenu1' does not exist in the current context    C:\inetpub\wwwroot\The Playgrounds\The Playgrounds\RSSReader.aspx.cs    150    21    The Playground

I do indeed have a RADMenu with that name in the page, but the codebehind cannot see it.

I have references added to Telerik.Web.UI and my ASPX does too:

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>


What am I doing wrong?







Doncho
Telerik team
 answered on 11 Jun 2020
8 answers
397 views
When I use Rad Combobox in my Project and on Debugging time the Following Error Generates

WebForm_InitCallback();Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_showDropDownOnTextboxClick":false,"_skin":"Office2007","_uniqueId":"ctl00$ContentPlaceHolder1$RetailComponentControl1$ddlFrom","allowCustomText":true,"clientStateFieldID":"ctl00_ContentPlaceHolder1_RetailComponentControl1_ddlFrom_ClientState","collapseAnimation":"{\"type\":12,\"duration\":200}","enableLoadOnDemand":true,"itemData":[],"text":"","value":"","webServiceSettings":"{\"path\":\"/CallbackWebServices/ComboBoxLists.asmx\",\"method\":\"AirportList\"}"}, {"itemsRequesting":itemRequesting}, null, $get("ctl00_ContentPlaceHolder1_RetailComponentControl1_ddlFrom"));
});
Vessy
Telerik team
 answered on 11 Jun 2020
2 answers
291 views

My PageViews controlled by ContentUrl

Can i access "child" page controls from "parent" page?

Preferable in code-behind

Appreciate any suggestions

Yana
Top achievements
Rank 1
Veteran
 answered on 10 Jun 2020
1 answer
111 views

Hi guys!

Sorry, dumb question:

How can I show a lightbox automatically when the page loads?

I have a login form that I would like to pop up after the page "login.aspx" is loaded ... all I get is an empty page ....

"<asp:LoginView ID="LoginView1" runat="server">
<AnonymousTemplate>
<asp:Login ID="Login1" runat="server">"

How can I achieve that?

Thanks in advance for your help

Tom

Attila Antal
Telerik team
 answered on 10 Jun 2020
6 answers
732 views
I am trying to use the AutoCompleteBox on the home page of a real estate web site.  I want the users to be able to enter a city name, zip code, MLS number, etc. and have the AutoCompleteBox identify the item to be searched and continue with the search processing.

The problem I am having is trying to change the textbox height, width, font, etc.  It seems to always revert back to a default size.  I seem to be able to change the width, but no other properties.  And in its default size, the AutoCompleteBox is just way too small on a home page to attract the users' attention.

Does anyone know how I can accomplish these changes?

Please note: I have already eliminated the RadFormDecorator from the page so there is no issue caused by it.

Thanks in advance!

Lynn
Vessy
Telerik team
 answered on 10 Jun 2020
4 answers
375 views

I'm using the RadCloudUpload to load files to S3 but want to resize them before they are uploaded.  I can't seem to find any examples of how to do this.  Is this possible and if so, can you point me in the right direction?

 

Thanks!

Peter Milchev
Telerik team
 answered on 10 Jun 2020
7 answers
939 views

Issue 1:

I'm trying to add a radcolorpicker to a grid such that when inserting or updating a row, the color picker will display and it's selected value will show in the "Color" column field.

Using a templates i've added it to the edit column, but it doesn't do anything, can't even select colors, and when compiled and ran I get a javascript error: "Sys" is undefined.

I'm sure I have the basic idea of how to use it wrong.  Of course. :)

I have a scriptmanager in place, although I'm not going to speculate on what that does. :)

Any ideas on what I'm missing, or doing wrong?

Issue 2:

protected void RadColorPicker1_ColorChanged(object sender, EventArgs e)  
{  
   Label1.Text = ColorTranslator.ToHtml(RadColorPicker1.SelectedColor);  
} 

When compiling this gives me a compile time Error -- 
"The name 'RadColorPicker1' does not exist in the current context ..."

How do I ensure it's context?

Al

<radG:RadGrid   
    ID="RadGrid2" runat="server" 
    Height="100px" 
    Width="500px" 
    Title="Rules" 
    BorderStyle="Solid"   
    BorderWidth="1px" 
    DataSourceID="ObjectDataSource1"   
    GridLines="None" 
    AllowAutomaticInserts="True" 
    AllowAutomaticUpdates="True" 
    AutoGenerateColumns="False" 
    MasterTableView-AllowPaging="true" 
    OnDeleteCommand="RadGrid2_DeleteCommand"   
    OnPreRender="RadGrid2_PreRender"   
    OnItemEvent="RadGrid2_ItemEvent"   
    OnItemInserted="RadGrid2_ItemInserted"   
    OnItemUpdated="RadGrid2_ItemUpdated"   
    OnCancelCommand="RadGrid2_CancelCommand"   
    OnDataBound="RadGrid2_DataBound" > 
    <MasterTableView  
        DataKeyNames="idExceptionRule"   
        DataSourceID="ObjectDataSource1" 
        AllowPaging="True" > 
        <ExpandCollapseColumn Visible="False">  
            <HeaderStyle Width="19px" /> 
        </ExpandCollapseColumn> 
        <RowIndicatorColumn Visible="False">  
            <HeaderStyle Width="20px" /> 
        </RowIndicatorColumn> 
        <Columns> 
            <radG:GridBoundColumn DataField="decMin" HeaderText="From" UniqueName="From">  
            </radG:GridBoundColumn> 
            <radG:GridBoundColumn DataField="decMax" HeaderText="To" UniqueName="To">  
            </radG:GridBoundColumn> 
            <radG:GridBoundColumn DataField="hexColourFont" HeaderText="Color" UniqueName="Color">  
                <ItemStyle BackColor="White" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px" 
                    HorizontalAlign="Left" VerticalAlign="Middle" /> 
            </radG:GridBoundColumn> 
            <radG:GridTemplateColumn DataField="hexColourFont" ShowSortIcon="False" UniqueName="TemplateColumn">  
                <EditItemTemplate> 
                   <telerik:RadColorPicker ID="RadColorPicker1" runat="server" Preset="Web216" 
                        ShowIcon="True" OnDataBinding="RadColorPicker1_ColorChanged" AutoPostBack="True" OnColorChanged="RadColorPicker1_ColorChanged">  
                    </telerik:RadColorPicker> 
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> 
                </EditItemTemplate> 
            </radG:GridTemplateColumn> 
            <radG:GridEditCommandColumn> 
            </radG:GridEditCommandColumn> 
            <radg:GridButtonColumn CommandName="Delete" Text="Delete" 
               UniqueName= "DeleteColumn" ButtonType="ImageButton" ImageUrl=".\delete.gif" /> 
 
        </Columns> 
        <EditFormSettings> 
            <EditColumn UniqueName="EditCommandColumn1">  
            </EditColumn> 
        </EditFormSettings> 
    </MasterTableView> 
    <ValidationSettings CommandsToValidate="PerformInsert,Update,Delete" /> 
</radG:RadGrid>    
Attila Antal
Telerik team
 answered on 10 Jun 2020
1 answer
194 views
When I use RadColorPicker, select color and click on Apply button I get my page refreshed and I lost selected color. How this can be fixed. Is this some RadColorPicker functionality.

Rumen
Telerik team
 answered on 10 Jun 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?