Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views
Hello everyone,

My sliders changing item style when sliding. 
you can check how its working from this link.
And also i changing my sliders item font size via css classes like this.

.bold5 .rslItemsWrapper li span
{
    font-size: 9px !important;
}

Problem is when sliding, unselected items font size changing by default. (11px)
How can set element style font size of my items to 9px?
You can check from this link how it works 
Thank you and best regards


omer
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
153 views
Problem 1

As you described in your own website
http://www.telerik.com/help/aspnet-ajax/input-css-width.html

CssClass="TextBoxClass" is not working in telerik:RadTextBox. Its default width is rendering. Here is the css and aspx part.

CSS---------------------------------------------------------------------------------------------------------------------------------------------------------------

.divcol-S .TextBoxClass {width:70%!important}

ASP Page---------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="divcol-S">

<asp:Label ID="Label26" runat="server" Text="Vessel Name"></asp:Label>
<telerik:RadTextBox ID="txtVesselName" runat="server" CssClass="TextBoxClass"></telerik:RadTextBox>

<asp:Label ID="Label29" runat="server" Text="Vessel Type" ></asp:Label>
<telerik:RadComboBox ID="ddlVesselType" runat="server" CssClass="TextBoxClass"></telerik:RadComboBox>

</div>
_________________________________________________________________________________________________________________________________________________


Problem 2

As you described in your own website
http://www.telerik.com/help/aspnet-ajax/input-css-selectors.html

.riTextBox - INPUT OR TEXTAREA - The common class for the input area in all states. (from your own words)
(These class names are for the "Default" skin. For other skins, replace the string "Default" with the name of the skin.)

This means we can change the property of input/textarea globally in the entire application with this specific ClassName .riTextBox.
So no need to put CssClass on every <telerik:RadTextBox> control. But unfortunately this also not working.


CSS---------------------------------------------------------------------------------------------------------------------------------------------------------------

.divcol-S .riTextBox {width:70%!important}

ASP Page---------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="divcol-S">

<asp:Label ID="Label26" runat="server" Text="Vessel Name"></asp:Label>
<telerik:RadTextBox ID="txtVesselName" runat="server" ></telerik:RadTextBox>

<asp:Label ID="Label29" runat="server" Text="Vessel Type" ></asp:Label>
<telerik:RadComboBox ID="ddlVesselType" runat="server" ></telerik:RadComboBox>

</div.
Kate
Telerik team
 answered on 04 Jul 2012
1 answer
95 views
Dear Support,

can you explain me, why the DataKeyValues property at the MasterTableView / OwnerTableView is a GridDataKeyArray and not a Dictonary<string, object>? Because if I deserialize the KeyValues property from GridDataItem it's only a Dictonary<string, object>.

So the GridDataKeyArray could have more than one DataKeyValues.Pair. Under which cases I got more than one DataKeyValues.Pair?

Thanks alot.

Kind regards,
Christian
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Jul 2012
1 answer
91 views
I have a radComboBox containing a radTreeView for selection. It is based very strongly on one of the demos. It worked beautifully until I decided to enable/disable it in the client, based on other page events. Once the radComboBox has been disabled and re-enabled, the following lines of code in the radComboBox's OnClientDropDownOpened event handler throw an error because it can no longer find the control "rtvRights" in the item (oTreeView is undefined):
var oTreeView = sender.get_items().getItem(0).findControl("rtvRights");
var oSelectedNode = oTreeView.get_selectedNode();
As I said, this code works fine unless you disable and then enable the radComboBox using it's client-side disable/enable methods.
Plamen
Telerik team
 answered on 04 Jul 2012
3 answers
62 views
Hi,

Using checkboxes within a combo and Checkall turned on I find that if I press the icon to open the combo box then click elsewhere without checking any entries in the combo box it the closes the box and displays the text of the first item in the list even though it was not checked.

Having AllowCustomText="True" prevents this from happening however when using checkboxes this shouldn't be needed should it?

Regards,

Jon
Nencho
Telerik team
 answered on 04 Jul 2012
12 answers
329 views
 Hi, i have a page that loads user controls, like in this demo: http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx . The User control have a form (RadListView with EditTemplate) with validator controls and a ValidatorSummary control.
  The problem is, the ValidatorSummary only works with ShowSummary="True" and i need to have ShowMessageBox="True". Is it the expected behavior ? How can i get it to work?

Thanks in advance.


Andrey
Telerik team
 answered on 04 Jul 2012
1 answer
71 views
Hi,

in CreateChildControls i add the sort expressions to the grid. Because the unique name of a column could change (because the current datasource was removed from the cache because of a timeout), I clear the SortExpressions and add the new ones. But in the DataBound event, only the old sort expressions are set but not my new ones. I think they are set because of the viewstate.
How can I prevent that the Grid overrides my new SortExpressions with them from the viewstate?

Thanks!
Maria Ilieva
Telerik team
 answered on 04 Jul 2012
5 answers
237 views
Getting the following error when I am using RadAjaxPanel

Cannot unregister UpdatePanel with ID 'RadWindow1$C$rdDemoPanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel


My design is as follows
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="radajaxpanel1.aspx.cs" Inherits="radajaxpanel1" %>
 
<%@ 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">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Behavior="Default"
            InitialBehavior="None">
            <Shortcuts>
                <telerik:WindowShortcut CommandName="CloseAll" Shortcut="Esc" />
            </Shortcuts>
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server" Behaviors="Default" InitialBehaviors="None"
                    OpenerElementID="btn" Width="650" Height="480" VisibleOnPageLoad="false">
                    <ContentTemplate>
                        <telerik:RadAjaxPanel ID="rdDemo" runat="server"  LoadingPanelID="RadAjaxLoadingPanel1">
                            <telerik:RadComboBox ID="rdcmb" runat="server" AutoPostBack="true" OnSelectedIndexChanged="sel">
                                <Items>
                                    <telerik:RadComboBoxItem Text="One" Value="One" />
                                    <telerik:RadComboBoxItem Text="Two" Value="Two" />
                                    <telerik:RadComboBoxItem Text="Three" Value="Three" />
                                    <telerik:RadComboBoxItem Text="Four" Value="Four" />
                                </Items>
                            </telerik:RadComboBox>
                            <telerik:RadTextBox ID="rdText" runat="server">
                            </telerik:RadTextBox>
                            <telerik:RadButton ID="radbtn" runat="server" Text="Save" OnClick="btn_Click">
                            </telerik:RadButton>
                        </telerik:RadAjaxPanel>
                    </ContentTemplate>
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </div>
    </form>
</body>
</html>

My code is as follows

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
public partial class radajaxpanel1 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
    protected void sel(object sender, EventArgs e)
    {
        rdText.Text = rdcmb.SelectedItem.Text;
    }
    protected void btn_Click(object sender, EventArgs e)
    {
        RadWindowManager1.Windows[0].VisibleOnPageLoad = false;
        RadWindowManager1.Windows[0].Visible = false;
    }
}

Maria Ilieva
Telerik team
 answered on 04 Jul 2012
8 answers
198 views
Hi,

Using the latest internal build (June 26th I think), I get the checkbox looking too big in Chrome.  It doesn't skin properly and also the box is oversized....  Simple to replicate...  It looks fine in IE9.

Regards,

Jon

<form id="form1" runat="server">
    <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager>
    <telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager>
    <asp:CheckBox ID="uxRememberMe" runat="server" Text="Remember Me"></asp:CheckBox>       
    <telerik:RadFormDecorator ID="uxRadFormDecorator" Runat="server" DecoratedControls="CheckBoxes, Buttons, Scrollbars, Label,Textbox" />
</form>
Jon
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
66 views
Hi - I have a combobox in the template for a new record on the RadGrid. The value selected in this combobox should be taken from a control outside the grid. Where and how can I set the default for the new record control?Thanks,
Paul
Eyup
Telerik team
 answered on 04 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?