Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
161 views
Hi,

I use a RadFilter to filter my RadGrid and i want to filter my radSearchBox with the same filter apply on this RadGrid.

Someone can help me?

ty
Plamen
Telerik team
 answered on 15 Apr 2014
6 answers
193 views
Hi,

I use RadSearchBox with a LinqDataSource and when I write text in uppercase, it can't find the data in lowercase.

I don't find any setting in radSearchBox to resolve this issue.

ty

Plamen
Telerik team
 answered on 15 Apr 2014
3 answers
144 views
I have a simple RadTreeList containing a BoundColumn and a TemplateColumn of type dropdownlist. I've populated the DDL dynamically for each row. The treelist displays perfectly, but when I select a value from the dropdown list on one or more rows, then collapse/expand the tree node, the values selected in the DDLs are lost. I think it is probably due to data binding.   

The intent is for the user to a select a value from the DDL for each row in the TreeList then save the values to the database once they are finished.  I want them to be able to expand/collapse tree nodes during this process without losing the values.  I've searched through the forum and read much of the documentation online, but I would appreciate some insight into the best approach for solving this issue.  Thanks in advance. 
 
 
<telerik:RadTreeList ID="RadTreeList1" runat="server" 
    AutoGenerateColumns="False" 
    DataKeyNames="Node" ParentDataKeyNames="ParentNode" OnItemDataBound="RadTreeList1_ItemDataBound" 
    OnItemCommand="RadTreeList1_ItemCommand" EditMode="InPlace" OnItemCreated="RadTreeList1_ItemCreated"
    ViewStateMode="Enabled">
     
    <Columns>
      <telerik:TreeListBoundColumn DataField="Description" UniqueName="Description" HeaderStyle-Width="500px"
        </telerik:TreeListBoundColumn
        <telerik:TreeListTemplateColumn UniqueName="Response"
            <ItemTemplate
                <asp:DropDownList ID="ddl" runat="server">
                </asp:DropDownList>
            </ItemTemplate>
      </telerik:TreeListTemplateColumn>
    </Columns>
    </telerik:RadTreeList>
Pavlina
Telerik team
 answered on 15 Apr 2014
8 answers
87 views
I have some hyperlinks in the footer of the radgrid.
I am running IE 9. They show up fine in IE9 but when i run in compatibility mode they are no longer visible. This might be a problem for our users who are running older versions of IE.

Below is my grid declaration:
<telerik:radgrid id="rgBalances" runat="server" cellpadding="0" cellspacing="0" borderwidth="0"
    gridlines="None" allowpaging="True" allowsorting="True" datasourceid="_dataSrcBalances"
    pagesize="15" enablesortingandpagingcallbacks="false" autogeneratecolumns="false"
    allowautomaticupdates="false" allowautomaticinserts="false" enablelinqexpressions="false"
    allowfilteringbycolumn="false" onprerender="rgBalances_PreRender" onitemcommand="rgBalances_ItemCommand"
    allowautomaticdeletes="false" skin="MBen" enableembeddedskins="false" onitemdatabound="rgBalances_ItemDataBound"
    onitemcreated="rgBalances_ItemCreated" allowcustompaging="false" width="100%"
    imagespath="../../App_Themes/MBen/Grid" showfooter="true">
    <MasterTableView TableLayout="Fixed" HierarchyDefaultExpanded="true" CommandItemDisplay="Top"
        Name="DivisionBalance" DataKeyNames="DivisionID" EnableNoRecordsTemplate="true"
        PagerStyle-AlwaysVisible="true">
        <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowExportToExcelButton="true"
            ExportToExcelText="" ExportToCsvText="" ExportToPdfText="" ExportToWordText=""
            ShowExportToPdfButton="true" ShowExportToWordButton="true" ShowExportToCsvButton="true" />
        <NoRecordsTemplate>
            <div style="color: Red; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif;
                font-weight: bold">
                <br />
                Please select a plan to show activity for the specific plan.
            </div>
        </NoRecordsTemplate>
        <HeaderStyle HorizontalAlign="Center" />
        <ItemStyle HorizontalAlign="Right" />
        <AlternatingItemStyle HorizontalAlign="Right" />
        <Columns>
            <telerik:GridTemplateColumn UniqueName="AccountName" HeaderText="Source" SortExpression="AccountName"
                HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                <ItemTemplate>
                    <%# Eval("AccountName")%>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblTotal" runat="server" Text="Total:" ForeColor="White" Font-Bold="true"></asp:Label>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="BeginBalance" HeaderText="Begin Balance"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="11%"
                SortExpression="BeginBalanceDollars" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkBeginBalance" runat="server" Text='<%# Eval("BeginBalanceDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkBeginBalanceTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Contributions" HeaderText="Contributions"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" SortExpression="ContributionDollars"
                HeaderStyle-Width="11%" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkContributions" runat="server" Text='<%# Eval("ContributionDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkContributionsTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Distributions" HeaderText="Distributions"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" SortExpression="DistributionDollars"
                HeaderStyle-Width="11%" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkDistributions" runat="server" Text='<%# Eval("DistributionDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkDistributionsTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Forfeitures" HeaderText="Forfeitures" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" SortExpression="ForfeitureDollars" HeaderStyle-Width="10%"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkForfeitures" runat="server" Text='<%# Eval("ForfeitureDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkForfeituresTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Transfers" HeaderText="Transfers" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" SortExpression="TransferDollars" HeaderStyle-Width="10%"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkTransfers" runat="server" Text='<%# Eval("TransferDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkTransfersTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="Earnings" HeaderText="Earnings" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" SortExpression="Earnings" HeaderStyle-Width="10%"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkEarnings" runat="server" Text='<%# Eval("Earnings")%>'></asp:HyperLink>
                    <div style="left: -100px;">
                        <asp:Panel ID="earningsDiv" runat="server" CssClass="hide">
                            <asp:Literal ID="earningsDivText" runat="server" /></asp:Panel>
                    </div>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkEarningsTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="EndBalance" HeaderText="End Balance" ItemStyle-HorizontalAlign="Right"
                FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="11%" SortExpression="EndBalanceDollars"
                AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkEndBalance" runat="server" Text='<%# Eval("EndBalanceDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkEndBalanceTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="EndBalanceVested" HeaderText="Vested End Balance"
                ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="11%"
                SortExpression="EndBalanceVestedDollars" AllowFiltering="false">
                <ItemTemplate>
                    <asp:HyperLink ID="linkEndBalanceVested" runat="server" Text='<%# Eval("EndBalanceVestedDollars")%>'></asp:HyperLink>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:HyperLink ID="linkEndBalanceVestedGrandTotal" runat="server"></asp:HyperLink>
                </FooterTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn UniqueName="Dividend" DataField="DividendDollars" Display="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Appreciation" DataField="AppreciationDollars"
                Display="false">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ExportSettings ExportOnlyData="true" IgnorePaging="true" FileName="Activity" OpenInNewWindow="true">
        <Pdf PaperSize="A4" PageLeftMargin="5px" PageRightMargin="5px" PageWidth="297mm"
            PageHeight="210mm" />
    </ExportSettings>
</telerik:radgrid>
MBEN
Top achievements
Rank 2
Veteran
 answered on 14 Apr 2014
8 answers
239 views
I have a rad HTMLChart that is not displaying the Y Axis correctly in IE 9 and above. It also does not render correctly in Chrome. It overlaps the text.
It runs fine if I run it in the compatibility mode.

Attached are the two screenshots.
I am setting the MaxValue for YAxis in codebehind and adding items to the chart as below:
rcAnnualPaycheckDeduction.PlotArea.Series[0].Items.Add(Convert.ToDecimal(_estimatedPaycheckDeduction));
rcAnnualPaycheckDeduction.PlotArea.Series[1].Items.Add(Convert.ToDecimal(Amount));

<telerik:RadHtmlChart ID="rcPayPeriodPaycheckDeduction" runat="server" Width="355px"
                        Height="370px" Transitions="false" Visible="false">
                        <Legend>
                            <Appearance Position="Bottom" />
                        </Legend>
                        <ChartTitle Text="Per Pay Period">
                            <Appearance Align="Center" BackgroundColor="White" Position="Bottom"></Appearance>
                        </ChartTitle>
                        <PlotArea>
                            <YAxis MinValue="0" Step="2000">
                                <LabelsAppearance DataFormatString="{0:$#,##0}" RotationAngle="0" />
                                <MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines>
                                <MinorGridLines Color="#F7F7F7" Width="1"></MinorGridLines>
                            </YAxis>
                            <XAxis>
                                <MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines>
                                <MinorGridLines Color="#F7F7F7" Width="1"></MinorGridLines>
                            </XAxis>
                            <Series>
                                <telerik:ColumnSeries Name="Estimated Paycheck Deduction <b>*</b>" Stacked="false">
                                    <Appearance>
                                        <FillStyle BackgroundColor="Blue"></FillStyle>
                                    </Appearance>
                                    <LabelsAppearance DataFormatString="{0:$#,##0}" Position="OutsideEnd">
                                    </LabelsAppearance>
                                    <TooltipsAppearance DataFormatString="{0:$#,##0}"></TooltipsAppearance>
                                </telerik:ColumnSeries>
                                <telerik:ColumnSeries Name="Amount Deferred" Stacked="false">
                                    <Appearance>
                                        <FillStyle BackgroundColor="Green"></FillStyle>
                                    </Appearance>
                                    <LabelsAppearance DataFormatString="{0:$#,##0}" Position="OutsideEnd">
                                    </LabelsAppearance>
                                    <TooltipsAppearance DataFormatString="{0:$#,##0}"></TooltipsAppearance>
                                </telerik:ColumnSeries>
                            </Series>
                        </PlotArea>
                    </telerik:RadHtmlChart>
Jay Z
Top achievements
Rank 1
 answered on 14 Apr 2014
1 answer
182 views
I am having issue with  showing  line chart graph. Here is my code:

 <telerik:RadHtmlChart runat="server" ID="RadHtmlChart1"  >
               <PlotArea>
                    <Series>
                         <telerik:ScatterLineSeries Name="Bookings" DataFieldX="MetricMonth"  DataFieldY="BookingsValue">
                              <TooltipsAppearance DataFormatString="{0}" />
                              <LabelsAppearance Visible="false">
                              </LabelsAppearance>
                         </telerik:ScatterLineSeries>
                         <telerik:ScatterLineSeries Name="Shipments" DataFieldX="MetricMonth"  DataFieldY="ShipmentsValue">
                              <TooltipsAppearance DataFormatString="{0}" />
                              <LabelsAppearance Visible="false">
                              </LabelsAppearance>
                         </telerik:ScatterLineSeries>                      
                    </Series>
                    <XAxis DataLabelsField="MetricMonth" />   
                    <YAxis>                        
                     <LabelsAppearance  DataFormatString="{0}" />   
                    </YAxis>
               </PlotArea>
               <ChartTitle Text="Monthly Performance">
               </ChartTitle>       
    </telerik:RadHtmlChart>

Binding data in code behind. Attached data values and output. Xaxis should show metric month values and yaxis should show Bookings and Shipments value.
Please let me know what i am missing. I have to show to two line graphs  for shipments and bookings with attached data.

Neetha
Top achievements
Rank 1
 answered on 14 Apr 2014
6 answers
330 views
Hi,
    I'm a total noob so I guess I'm making a silly fundamental error in the way I'm trying to apply a custom skin. I used the Visual Style Builder to create a skin (based on Metro) for a Grid and a few other controls but when I applied it, every control was rendered transparent and without any borders. Some control elements (e.g. the button by the calendar control) were completely invisible although still functioning.

After this, I scaled back my attempt to just trying to skin a button. Again, I used the Visual Style Builder to create a skin (based on Metro), the only alteration I made was to show an image on hover. I saved the css file and associated folders to my App_Themes folder and created a page that look like this:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="MainMenu.aspx.vb" Inherits="user_MainMenu" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<!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">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
 
        <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton" EnableEmbeddedSkins="false" Skin="RAMTrackHoverBtn">
        </telerik:RadButton>
    </form>
</body>
</html>
When I ran the page, I got exactly the same problem as before i.e. the button text was just there on its own. There was no border around the button and the hover image didn't show.

I looked in the folders where the css file is and all seems in order. The image I wanted is there as are the various gifs and sprites.

Any help would be much appreciated and apologies if I've missed the obvious.
Taiseer
Top achievements
Rank 1
 answered on 14 Apr 2014
6 answers
136 views
I'm in a bind for time and I need a fast answer.  I have a web page that currently uses JavaScript to expand/collapse a Splitter bar in the OnClientSelectedIndexChanged of  a RadComboBox

var splitter = $find("<%=RadSplitterEditor.ClientID%>");
var endPane = splitter.getEndPane();    
 endPane.expand(Telerik.Web.UI.SplitterDirection.Backward);

Is there any simple way to duplicate this behavior on the server side, using the RadAjaxManager?
Boris
Top achievements
Rank 1
 answered on 14 Apr 2014
4 answers
199 views
Can't find any properties or style sheets in order to set the z-index of the Image Area.
Greg
Top achievements
Rank 1
 answered on 14 Apr 2014
1 answer
83 views
Hi,

I've a grid with headers grouping. This doesn't work properly. The group title doesn't scroll horizontally. Also it performs really slow on IE6.

Please can someone suggest a solution?


Thanks
Pavlina
Telerik team
 answered on 14 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?