Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
204 views
Hi,

Radgrid group by footer Calculations(calculated based on Headercontext aggregates menu)  are not exporting into excel.  Columns are auotGenerated and the data is coming from stored procedure dynamically.


Kindly guide me on this issue.

Best Regards,
satz
Satz
Top achievements
Rank 1
 answered on 30 Dec 2013
7 answers
109 views
hi,

we have a application here that used telerik 2012.1.215.40 ajaz controls for asp.net web forms. since this was coded by someone else, we do not have telerik therefore downloaded the latest trial version, updated the dll's and things work fine. issue being the designer looks distorted. the lables are big and out of place etc. 

what could be the issue?
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2013
12 answers
671 views
So I'm trying to include some Telerik controls on a page which already is using a lot of controls from the AJAX Control Toolkit.  Telerik's controls require a RadScriptManager.  I was previously using the ToolkitScriptManager for my ScriptManager object on the page... When I switch to RadScriptManager, I get the following error:

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.

...And of course I can't use more than one ScriptManager on the page.  How do I reconcile this?
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2013
2 answers
349 views

I have a situation where i'd like to create custom validation for a combobox, but i'm at a loss as to how to write the client validation logic.  I'm basically looking to create the equivalent of a requiredfieldvalidator, but instead of showing an error message somewhere on the page, i would like to modify the appearance of the combox itself using CSS.  i have this working via server side validation by doing the following:

Anytime i want to validate a combobox i place something like this on my page

<asp:Label ID="lblError1" runat="server" Visible="false">
<style type="text/css">
    #<%=rcbFolders.UniqueID.Replace("$","_")%>.RadComboBox_test table {
    background-color: RED;
}

#<%=rcbFolders.UniqueID.Replace("$","_")%>.RadComboBox_test .rcbInputCell, #<%=rcbFolders.UniqueID.Replace("$","_")%>.RadComboBox_test .rcbArrowCell {
    background-color: red;
}
</style>
</asp:Label>

and on the server side i check to see if any items are selected and if not i change the label to visible.

This works because of the fact that the styles are declared inline in the page and take precedence over styles declared in my skin stylesheets at the top of the page.  Including the uniqueid in the css assures me that the css for just the control that i'm validating is updated. 

This solution is ok, it is effective, but it's kind of awkward, especially on pages that have other requiredfieldvalidators that include client side validation. The user receives visual feedback immediately for the other client-side validated fields, but they have to wait till all those checks pass and the postback to the server is made before they can get the visual feedback on the combobox selection. I think i could hack my way into using a custom validator to validate the combobox selection on the client, but i'm not sure how to go about achieving the actual "notification" that we're after by updating the color of the control on error.

Any ideas about how this could be accomplished?

Thanks!
-Mark
Mark Kucera
Top achievements
Rank 1
 answered on 30 Dec 2013
2 answers
140 views

I am trying to add data to a chart serverside and need to rotate the label text and am not seeing how to do this.

 

there is no  cols.LabelsAppearance.RotationAngle

http://www.telerik.com/help/aspnet-ajax/htmlchart-server-side-api.html seems to indicate that I should be able to do it and the demo has the ability to do it.

I just used the telerik control panel to make sure I had the latest and the telerik upgrade wizards does not appear to be finding something else for me to upgrade to.

These are the values.
Version: 2012.3.1205.40
Runtime: v4.0.30319

 

ColumnSeries cols = new ColumnSeries();
 
cols.Name = "Sam Adams";
cols.TooltipsAppearance.Visible = false;
cols.Appearance.FillStyle.BackgroundColor = System.Drawing.Color.Red;
cols.LabelsAppearance.Position = Telerik.Web.UI.HtmlChart.BarColumnLabelsPosition.InsideBase;
 
cols.Items.Add(15000);
cols.Items.Add(23000);
cols.Items.Add(10000);
cols.Items.Add(16000);
RadHtmlChart1.PlotArea.Series.Add(cols);
Bryan
Top achievements
Rank 1
 answered on 30 Dec 2013
1 answer
226 views

Hello,


I saw several outdated posts on that topic,  I'm not able to paste any text in a  multiline radtextbox using IE11 and the latest Telerk release.



<telerik:RadTextBox ID="TxtWall" MaxLength="500" TextMode="MultiLine" Rows="2" Width="516px" Resize="Vertical" ValidationGroup="WallPostGroup" runat="server" />


Any idea about how to fix it ?

Thanks,





Herve

A2H
Top achievements
Rank 1
 answered on 30 Dec 2013
1 answer
457 views
How can I set the Label width in px via CSS?

I have tried this LabelCSS, but it doesn't work:

.RadComboBox_Default .rcbLabel
{
    color:Red !important ;
    width: 140px !important;
}
A2H
Top achievements
Rank 1
 answered on 30 Dec 2013
11 answers
412 views
Hello Telerik Team.

I need to define a way to force columns width.
I i'm trying to force force the width this way

  Unit maxWidth = new Unit(100 / RadGrid1.Columns.Count, UnitType.Percentage);
                        foreach (GridBoundColumn var in RadGrid1.Columns)
                            var.ItemStyle.Width = maxWidth;

This way columns should never be larger than grid but this is not Happening?

i first create and add columns to grid... in debug it seams to be just fine...
But when RadGrid is rendered columns are larger than RadGrid...

When should i change columns width? in Item_Created?
Jeganath
Top achievements
Rank 1
 answered on 29 Dec 2013
2 answers
74 views

I have a client who asked a question about how many lines of code in several controls that are used in their application.


Knowing full well that LOC (lines of code) can be completely misleading, is there any kind of quotable metric for RadGrid and RadPanelBer?



I have suggested that the answer is "oodles of code" but they think I'm making that up <g>

Tomica
Top achievements
Rank 2
 answered on 28 Dec 2013
11 answers
178 views
When I drag-drop the columns of a grid in one of the live demos, an "animation" is shown indicating the drop-target as well as the header in a semi transparent mode (circled red in the attached screendump).

My problem is that when I implement a RadGrid under a DNN 6.1.3 module (running on the same IIS and client as the live demos), the animation doesn't show. Everything else works like a charm - including the actual re-ordering of columns as well as the grouping. Just no animation.

Please help. This is driving me nuts.

Below is the ascx-code:
<%@ Control Language="C#" AutoEventWireup="false" CodeFile="MyDataGrid.ascx.cs" Inherits="My.DNN.DesktopModules.DataGrid.DataGrid" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>

<div class="dnnForm MyDataGridModule dnnClear" id="MyDataGridModule">

    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid" LoadingPanelID="RadAjaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel" runat="server" Skin="Office2010Silver">
    </telerik:RadAjaxLoadingPanel>
    
    <telerik:RadGrid ID="RadGrid" runat="server" 
        AutoGenerateColumns="true"
        OnNeedDataSource="RadGrid_NeedDataSource"
        
        AllowSorting="true"
        AllowMultiRowSelection="true"
        AllowFilteringByColumn="true"


        ShowGroupPanel="true"
        
        Skin="Office2010Silver"
        EnableEmbeddedSkins="true"
        >


        <ClientSettings AllowDragToGroup="true" 
                        AllowColumnsReorder="true" 
                        ReorderColumnsOnClient="true"
                        ColumnsReorderMethod="Reorder"
                        EnableRowHoverStyle="true"
                        Selecting-AllowRowSelect="true"
                        Resizing-AllowColumnResize="true">                     
            <Selecting  AllowRowSelect="true"
                        UseClientSelectColumnOnly="true" />
            <Animation  AllowColumnReorderAnimation="true" 
                        AllowColumnRevertAnimation="true"/>
            
            <Scrolling  AllowScroll="True"
                        UseStaticHeaders="True"
                        SaveScrollPosition="True"/>
        </ClientSettings>


        <GroupingSettings ShowUnGroupButton="true" />
    </telerik:RadGrid>
</div>
Ben
Top achievements
Rank 1
 answered on 27 Dec 2013
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?