Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
86 views
How do I override the CSS for .t-container-fluid .t-col   ???
Rumen
Telerik team
 answered on 05 Mar 2014
6 answers
122 views
Hi,

first I would like to wish all of you a happy new year.

I want to use a GridDropDownColumn. The list of possible entries is populated by a webservice. What's the suggested way to implement this feature?

Thanks,
Chris
Pavlina
Telerik team
 answered on 05 Mar 2014
5 answers
207 views
Hi,

I have just upgrdade to the latest internal build of RadControls and the buttons on my page now have a dull black icon. How do I get the colour back? I am using the default skin and have tried changing the skin howevre this does not appear to change the icon.
<telerik:RadButton ID="bSearch" runat="server" Text="Search" OnClick="bSearch_Click"
    Width="90px">
    <Icon SecondaryIconCssClass="rbSearch" SecondaryIconRight="4" SecondaryIconTop="4" />
</telerik:RadButton>

I can't seem to spot the demo which changes this back.

Thanks,

George
Bozhidar
Telerik team
 answered on 05 Mar 2014
0 answers
198 views

Q1 2014 (Version number: 2014.1.225)


Problem:

Control is throwing a JavaScript error on IE7:  “Could not get the fontWeight property. Invalid argument”.

Solution:

This issue will be resolved in the first internal build. If you do not want to use an internal build the following JavaScript and CSS fix will resolve the issue:
<script type="text/javascript">
    Telerik.Web.UI.RadAutoCompleteBox.DropDown.prototype._createTextSizingDiv = function (sourceElement) {
        var textSizingDiv = document.createElement("div"),
            fontStyles = ["font-size", "font-family", "font-weight", "font-variant", "font-style", "text-transform"],
            fontStylesProperties = ["fontSize", "fontFamily", "fontWeight", "fontVariant", "fontStyle", "textTransform"];
 
        textSizingDiv.style.position = 'absolute';
        textSizingDiv.style.display = 'block';
        textSizingDiv.style.visibility = 'hidden';
 
        // In IE 7/8 getComputedStyle takes styles in format "fontSize", while in other browsers
        // it must be "font-size". After fixing the getComputedStyles implementation to resolve
        // the format, remove this workaround
        if ($telerik.getComputedStyle(sourceElement, fontStyles[0], null) === null) {
            fontStyles = fontStylesProperties;
        }
 
        for (var i = 0, length = fontStyles.length; i < length; i++) {
            textSizingDiv.style[fontStylesProperties[i]] = $telerik.getComputedStyle(sourceElement, fontStyles[i], null);
        }
 
        return textSizingDiv;
    }
</script>

<style type="text/css">
    html .RadAutoCompleteBox .racTokenList {
        display: block;
    }
</style>
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 05 Mar 2014
7 answers
236 views
Hi all -

I just installed the latest version of the Telerik Controls (Q3 2013 2nd hotfix).  After doing so, it seems that the build in CSS icon classes for the buttons are no longer in color.  All of our buttons had the  PrimaryIconCssClass property set to the built in classes like rbOK, rbAdd, rbCancel, etc.  In the new release, they are just black and white.  How can I get the colored icons back?  I know I can physically add my own icon, but I like the ones Telerik provided....and still do, but no longer in color?

Thanks!

Christy
Bozhidar
Telerik team
 answered on 05 Mar 2014
2 answers
171 views
I am experiencing problems replacing a simple asp button with a RadButton.
I need to simply fire a Javascript but it is not working.
This is the original asp button I need to replace:
<button style="width: 150px; margin-bottom: 0px;" onclick="openRadWin(); return false;">Exchange rate calculator</button>

This is the RadButton I am coding to replace the above asp button. 
<telerik:RadButton ID="Button11" runat="server" Text="" CssClass="cNexchange"
                       HoveredCssClass="cHexchange" PressedCssClass="cCexchange" OnClientClicked="openRadWin(); return false;">
                       <Image EnableImageButton="true" />
                   </telerik:RadButton>
I cannot fire the "openRadWin(); return false,"
this is the function:
<script type="text/javascript">
       //<![CDATA[
       function openRadWin() {
           var width = "430px";
           var height = "355px";
           var left = "800px";
           var top = "150px";
           radopen("currencies.aspx", "RadWindow1", width, height, left, top);
       }
       //]]>
   </script>

What am I doing wrong here?
Felice
Top achievements
Rank 1
 answered on 05 Mar 2014
2 answers
90 views
Hi all,
Using RadControls for ASP.NET AJAX Q3 2013 with VS 2010.
I can't see Editor Tool Bars in IE 11 but they shows in IE 9. Please refer to attached. But works perfectly in Firefox or Chrome.

Below is my Page and Editor Declarations.  Any Help will be appreciated.

Thanks

gc_0620
Page Header:

<head id="Head1" runat="server">
    <title>Client Note</title>
    <meta http-equiv="x-ua-compatible" content="IE=edge" />
    <link href="styles.css" rel="stylesheet" type="text/css" />
    
</head>

Rad editor
<telerik:RadEditor ID="RadEditorEdit" ToolsFile="EditorTools.xml" ToolTip="Maximum 3000 characters allowed."
    EditModes="All" runat="server" ToolbarMode="ShowOnFocus" Content='<%# Bind("Notes_Comment") %>'>
    <ExportSettings OpenInNewWindow="true">
    </ExportSettings>
    <Tools>
        <telerik:EditorToolGroup Tag="Bottom">
            <telerik:EditorTool Name="AbsolutePosition" ShowIcon="true" />
            <telerik:EditorTool Name="TrackChangesDialog" Enabled="true" ShowIcon="true" />
        </telerik:EditorToolGroup>
    </Tools>
    <Modules>
        <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" />
        <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" />
    </Modules>
</telerik:RadEditor>




Ianko
Telerik team
 answered on 05 Mar 2014
1 answer
126 views
I was trying out my application as given in this example which is batch update using SqlDataSource in aspx code.
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

But unfortunately, while updating/inserting, I get the database error that the values are null.
So how can I do the database updates in code
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2014
8 answers
108 views
In the GroupsChanging event of RadGrid, I want to count the number of columns that are currently grouped or just check to see if any grouping exists.  Currently, I have it hiding the export to Excel/PDF buttons if it is a grouping action and unhiding if it is an ungrouping action.  However, if there are more than one columns grouped, I still want to keep the export buttons hidden.   If I do a check to see if there are any columns still grouped, I can continue to hide the export buttons.  I can't seem to find any help on this.  Thoughts?

Protected Sub gvAccounts_GroupsChanging(sender As Object, e As GridGroupsChangingEventArgs) Handles gvAccounts.GroupsChanging
    If (e.Action = GridGroupsChangingAction.Group) Then
        gvAccounts.AllowPaging = False
        gvAccounts.MasterTableView.GetColumnSafe(e.Expression.GroupByFields(0).FieldName).Visible = False
        gvAccounts.MasterTableView.CommandItemSettings.ShowExportToExcelButton = False
        gvAccounts.MasterTableView.CommandItemSettings.ShowExportToPdfButton = False
    ElseIf (e.Action = GridGroupsChangingAction.Ungroup) Then
         IF ''add some code here to check if there are any grouped columns, if false then
            gvAccounts.MasterTableView.CommandItemSettings.ShowExportToExcelButton = True
            gvAccounts.MasterTableView.CommandItemSettings.ShowExportToPdfButton = True
        End If
        gvAccounts.AllowPaging = True
        gvAccounts.MasterTableView.GetColumnSafe(e.Expression.GroupByFields(0).FieldName).Visible = True
 
    End If
 
End Sub
Princy
Top achievements
Rank 2
 answered on 05 Mar 2014
15 answers
649 views
Hi,
I have to use grouping in RadGrid. But my requirement to use this feature in some different way. I want to drag and drop the columns on my own created Div in the same page(having RadGrid) instead of using GridGroupPanel. And then on the click of button (which is on the Div) to apply grouping performs the desired result of grouping. Can you please help me in this regard. How can i achive this functionality.

Thanks in Advance ... 
Princy
Top achievements
Rank 2
 answered on 05 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?