Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
57 views
I love the slider for paging but I do want to include some other controls. How can I include the slider in a custom pager?
Eyup
Telerik team
 answered on 22 Jan 2015
2 answers
106 views
Can you change the shape and/or color of a single point in a LineSeries the same way you can change the color of a single column in a ColumnSeries?

For example, the following does not work:

<MarkersAppearance MarkersType="Triangle" BackgroundColor="blue" Size="8" BorderColor="blue" BorderWidth="2"></MarkersAppearance>
<SeriesItems>
  <telerik:CategorySeriesItem Y="1"></telerik:CategorySeriesItem>
  <telerik:CategorySeriesItem Y="2"></telerik:CategorySeriesItem>
  <telerik:CategorySeriesItem Y="3" BackgroundColor="red" MarkersType="Circle"></telerik:CategorySeriesItem>
  <telerik:CategorySeriesItem Y="4"></telerik:CategorySeriesItem>
</SeriesItems>


Trung Quốc
Top achievements
Rank 1
 answered on 22 Jan 2015
3 answers
234 views
I have a RadGrid like this:

<telerik:RadGrid ID="ProductGrid" runat="server"
    OnItemDataBound="ProductGrid_ItemDataBound"
    OnNeedDataSource="ProductGrid_NeedDataSource">
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="Change" TableLayout="Fixed">
        <Columns>
            <telerik:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Price" HeaderText="Price" UniqueName="Price">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

I want to have tables for each category. And I want to display several categories at same time with ability to show/hide each of them (I can figure out show/hide part). How could I achieve it?

Thanks in advance!
Mc
Top achievements
Rank 1
 answered on 21 Jan 2015
4 answers
264 views
When I display the grid the page size DDL is not displaying correctly - see attachment

What can I do to fix this?

Thanks in advance
Mark
Top achievements
Rank 1
 answered on 21 Jan 2015
1 answer
351 views
Hello

I need to use .net framework 3.5 in a project.

I'm trying to add this assembly:
<add assembly="Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

Gives this warning and error:
---------------------------

Warning    101    The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4. The dependencies are: System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.    

Error    104    The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

---------------------------

* System.Web.Extensions is already referenced.

Thanks.

regards, Nakori

Pavlina
Telerik team
 answered on 21 Jan 2015
1 answer
68 views
i tried the demo of radsheduler http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx here we can press on a specific hour of exemple 8.00am and if continuing pressing til 11.00h if gets the blue colour , but on iphone 6 i tried the demo and i cant get the same behaviour so if i press one hour then still pressing til 11 it get the calendar down and not selecting the event time, so what may i'm doing wrong
Boyan Dimitrov
Telerik team
 answered on 21 Jan 2015
2 answers
215 views
Can some one please tel me if there is a way (java) to get the currently selected tab?

cheers,

Jeanne Kornkven
Top achievements
Rank 1
 answered on 21 Jan 2015
2 answers
84 views
Hello Team,

I want to add the checkbox to the gridview. Here the gridview is the user control. I tired to add the checkbox as usual for the grid. But it was showing the error. Am i I missing anything while adding. 

This is my user control.ascx code. I have not added the checkbox. Please suggest me where to add. I used the <asp: checkbox....</asp>. This method gave the error.
<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="LocationGrid.ascx.cs"
    Inherits="Unisys.AppointmentManager.UserInterface.LocationGrid" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<table cellpadding="0" cellspacing="0">
    <tr runat="server" id="channelTypeRow" visible="false">
        <td style="width: 450px">
            <telerik:RadComboBox ID="cbChannelType" runat="server" AllowCustomText="True" Width="200px"
                OnSelectedIndexChanged="cbChannelType_SelectedIndexChanged" AutoPostBack="True" meta:resourcekey="cbChannelTypeResource1">
            </telerik:RadComboBox>
        </td>
        <td></td>
    </tr>
    <tr>
        <td style="width: 450px">
            <telerik:RadGrid ID="rgLocations" runat="server" AutoGenerateColumns="False"
                Height="100%" Width="100px" Culture="en-GB" GridLines="None" CellSpacing="0"
                ShowHeader="False" ViewStateMode="Enabled" BorderColor="#C3D9F9" BorderWidth="1px" meta:resourcekey="rgLocationsResource1">
                <ClientSettings>
                    <Selecting CellSelectionMode="None"></Selecting>
                </ClientSettings>
                <ExportSettings>
                    <Pdf>
                        <PageHeader>
                            <LeftCell Text=""></LeftCell>
                            <MiddleCell Text=""></MiddleCell>
                            <RightCell Text=""></RightCell>
                        </PageHeader>
                       <PageFooter>
                            <LeftCell Text=""></LeftCell>
                            <MiddleCell Text=""></MiddleCell>
                            <RightCell Text=""></RightCell>
                        </PageFooter>
                    </Pdf>
                </ExportSettings>
                <MasterTableView AllowAutomaticInserts="false" Width="100%" CommandItemDisplay="None"
                    CommandItemSettings-AddNewRecordText="Add a location" CommandItemSettings-ShowRefreshButton="False"
                    DataKeyNames="Id" NoMasterRecordsText="optional" ViewStateMode="Enabled"
                    GridLines="None" EditMode="InPlace" ShowHeadersWhenNoRecords="False">
                    <NoRecordsTemplate>
                        <div id="locationContainer" style="height: 24px; font-style: italic; font-family: Segoe UI, Arial, sans-serif; font-size: 12px;" onclick="CallChangeLocation();">
                            <span style="position: relative; left: 5px; top: 3px;"></span>
                        </div>
                    </NoRecordsTemplate>
                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn DataField="Id" UniqueName="Id" HeaderText="No" Display="false" meta:resourcekey="GridBoundColumnResource1"
                           <ColumnValidationSettings>
                                <ModelErrorMessage Text=""></ModelErrorMessage>
                            </ColumnValidationSettings>
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Name" HeaderText="Location" UniqueName="Name"
                            HeaderStyle-HorizontalAlign="Left" meta:resourcekey="GridBoundColumnResource2">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text=""></ModelErrorMessage>
                            </ColumnValidationSettings>
                            <HeaderStyle HorizontalAlign="Left"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="CTID" HeaderText="No" Display="false" meta:resourcekey="GridBoundColumnResource3">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text=""></ModelErrorMessage>
                            </ColumnValidationSettings>
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="CTName" HeaderText="No" Display="false" meta:resourcekey="GridBoundColumnResource4">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text=""></ModelErrorMessage>
                            </ColumnValidationSettings>
                        </telerik:GridBoundColumn>
                          <telerik:GridTemplateColumn>
                        <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" CausesValidation="false"
                        OnCheckedChanged="CheckBox1_CheckedChanged" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                    </EditFormSettings>
                    <BatchEditingSettings EditType="Cell"></BatchEditingSettings>
                    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
                </MasterTableView>
            </telerik:RadGrid>
        </td>
        <td>
            <a id="changeLocationLink" class="actionlink" href="javascript:CallChangeLocation()"
                runat="server" title="<%$Resources: , Change_The_Locations%>">Change the location(s)</a>
        </td>
    </tr>
</table>



 












sharath
Top achievements
Rank 1
 answered on 21 Jan 2015
2 answers
150 views
I have a RadToolTipManager setup like this:

<telerik:RadToolTipManager
    runat="server"
    ID="ttChart"
    Position="BottomCenter"
    OffsetY="-10"
    RenderMode="Lightweight"
    EnableRoundedCorners="False"
    RelativeTo="Element"
    Width="435"
    Height="350"
    HideEvent="ManualClose"
    HideDelay="800" 
    ContentScrolling="Y"
    Skin="Default"="3450
    ShowDelay="0" 
    Modal="True"
    ShowEvent="OnClick"
    Animation="resize"
    OnAjaxUpdate="updateChart"
    RenderInPageRoot="true">
</telerik:RadToolTipManager>

In my RadGrid I insert Cells with dymanic tooltip references - using OnAjaxLoad to load an ASCX.  Works great.

Problem is that the Loading image does not show - unless I remove ContentScrolling="Y", or Height="350".  Either of those seem to make the loading image come back when removed.  

Trouble is I would like to use both of these features.  Is this a bug?  (Using 2014.3.1209.45)



Dan
Top achievements
Rank 1
 answered on 21 Jan 2015
3 answers
318 views
Hi i am having issues while implementing the "Go to page" in Telerik grid, i tried using  http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/paging/basic-paging/defaultcs.aspx. 

I tested by checking different modes like PageStyle Mode to "Slider" , "Numeric"  , "NextPrevious" which are working fine . But when it comes to "Advanced" and "NextPrevNumericAndAdvanced" i am not able to see the "Go to page" option in grid. Even i tried setting Enable view state of grid to "true" .

You can See my design here:

    <telerik:RadGrid ID="grdResFaxes" runat="server" EnableViewState="true" AllowSorting="True"
                                            AllowFilteringByColumn="False" OnNeedDataSource="grdResFaxes_NeedDataSource"
                                            Skin="Metro" CellSpacing="0" GridLines="None" Width="99%" PageSize="12" OnItemCommand="grdResFaxes_ItemCommand">
                                           <%-- <PagerStyle Mode="Slider" AlwaysVisible="true" Position="Bottom"></PagerStyle>--%>
                                            <ExportSettings IgnorePaging="true" Excel-FileExtension="xls" FileName="Faxes" OpenInNewWindow="true">
                                                <Excel Format="Biff" />
                                            </ExportSettings>
                                            <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" DataKeyNames="DocumentId,NonAdhererId"
                                                AllowNaturalSort="false" AllowPaging="true" CommandItemSettings-ShowExportToExcelButton="true"
                                                CommandItemSettings-ShowAddNewRecordButton="false" PagerStyle-Mode="Slider"
                                                PagerStyle-Position="Bottom">
                                                <Columns>
                                                    <telerik:GridBoundColumn DataField="RecDate" FilterControlAltText="Filter ReceivedDate column"
                                                        HeaderText="Received Date" SortExpression="RecDate" UniqueName="RecDate" ItemStyle-Width="20%"
                                                        FilterControlWidth="75px">
                                                      .
                                                      .
                                                      .
                                                      .

                                                   </telerik:RadGrid>
 

Pavlina
Telerik team
 answered on 21 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?