Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Two issues:

1) I am trying to export a radgrid to CSV. The button is configured to call back to C# and I see the code hit MasterTableView.ExportToCSV(), but I step over that line and nothing happens.
2) After hitting the export button and going through the code, the data in the table disappears.

ASP
<telerik:RadGrid ID="rgResources" runat="server" AutoGenerateColumns="false" ShowGroupPanel="false"
    OnPreRender="rgResources_PreRender1" OnColumnCreated="rgResources_ColumnCreated" OnItemCommand="rgResources_ItemCommand"
    GroupingEnabled="false" ShowFooter="true">
    <ClientSettings>
        <Selecting AllowRowSelect="false"></Selecting>
        <Scrolling AllowScroll="true" SaveScrollPosition="true" FrozenColumnsCount="2" UseStaticHeaders="true"
            ScrollHeight="150px"></Scrolling>
    </ClientSettings>
    <MasterTableView DataKeyNames="Resource" CommandItemDisplay="Top" AllowSorting="false"
        AutoGenerateColumns="true" ShowGroupFooter="true">
        <CommandItemSettings ShowExportToCsvButton="true" ShowAddNewRecordButton="false"  ShowRefreshButton="false" />
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        </RowIndicatorColumn>
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
        </ExpandCollapseColumn>
    </MasterTableView>
    <ExportSettings IgnorePaging="true">
        <Csv FileExtension="CSV" />
    </ExportSettings>
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
    <ClientSettings EnableRowHoverStyle="true">
    </ClientSettings>
</telerik:RadGrid>

C#
protected void rgResources_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
    if (e.CommandName == Telerik.Web.UI.RadGrid.ExportToCsvCommandName)
    {
        rgResources.MasterTableView.ExportToCSV();
    }
}

I'm very new to this so I'm sure I'm missing something obvious but could use some help being pointed in the right direction.

Thanks
Konstantin Dikov
Telerik team
 answered on 23 Mar 2015
3 answers
171 views
On the demos page for the Q2 2012 release,there is a demo called 'telerik Image Gallery.'  Is there any sample source code or documentation regarding this demo available?
Thanks
Konstantin Dikov
Telerik team
 answered on 23 Mar 2015
1 answer
114 views
I have a grid with an Export to CSV button.  Since we have users who call automatic "screen-scraping" programs, is there a way to do a csv download via a URL parameter or similar?  In other words, can I automatically start a csv download from the URL command?
Kostadin
Telerik team
 answered on 23 Mar 2015
2 answers
126 views
I'm trying to create a shortcut style menu, using RadMenu. Now I need the Image to be above the Text.
Is this possible using a RadMenu or other Telerik control?
ORT BRAUDE COLLEGE
Top achievements
Rank 1
 answered on 23 Mar 2015
1 answer
123 views
Is it possible to using a RadFlowDocument to build a Word document with several sections from various html files, and then also to build a table of contents with the page numbers of each section? 
Petya
Telerik team
 answered on 23 Mar 2015
1 answer
64 views
Is telerik:RadAutoCompleteBox compatible Width telerik:gridbatch. There are no examples on any forum using the radautocompletebox inside a telerik grid batch.
I cant seem to get it to Work. Does anyone have an example in asp.net?
Kostadin
Telerik team
 answered on 23 Mar 2015
3 answers
109 views
Hello Team,

I am having one Radhtmlchart which is binded with Data on client side through WebApi controller.

The function that we are using to bind RadHtmlChart is as follows:

function chartDataBind(sender, args) {
       var ID = sender.ClientId;
       var widmapID = <%= WidMapID %>;
       var Cultureinfo='<%= CommonTools.GetUserDetails().Localization %>';
       var url = '/api/TestVolumeWidget?WidMapID=' + widmapID + "&CultureInfo=" + Cultureinfo;
        
       $.get(url, function (jsonResult) {    
           debugger
           var kendoChart  = sender;
            
           //Set the new datasource to the RadHtmlChart
           kendoChart.set_dataSource(jsonResult);
           kendoChart.set_transitions(true);
           kendoChart._dataBind();
           //Add the new series and repaint the chart, so that the new changes can take effect           
           kendoChart.repaint();
        });
        }

I am declaring this function on <ClientEvents OnLoad="chartDataBind" /> in RadHtmlChart,

Now the issue is in Navigator section, 
Navigator is working properly in Firefox and Google Chrome, But its not working in IE(Its not even Visible).

<telerik:RadHtmlChart runat="server" ID="TestVolumeChart" Layout="Stock"  CssClass="myChart" >
        <ClientEvents OnLoad="chartDataBind" />
        <Navigator Visible="true">
            <RangeSelector From="2014/08/25" To="2014/09/02" />
             
            <SelectionHint Visible="true" DataFormatString="{0:d}" />
            <Series>
                <telerik:AreaSeries Visible="true"  DataFieldY="TestDataDate">
                </telerik:AreaSeries>
            </Series>
            <XAxis Color="#aaaaaa">
                <LabelsAppearance>
                    <TextStyle Color="#666666" />
                </LabelsAppearance>
            </XAxis>
        </Navigator>
 
        <PlotArea>
            <XAxis AxisCrossingValue="0" Color="#333333" MajorTickType="Outside" MinorTickType="Outside"
                Reversed="false" DataLabelsField="TestDataVerifyDate">
                <LabelsAppearance DataFormatString="{0:d}" RotationAngle="90" Skip="0" Step="1"></LabelsAppearance>
                <TitleAppearance Position="Center" RotationAngle="0" Text="Date of Test Verified">
                </TitleAppearance>
            </XAxis>
            <YAxis AxisCrossingValue="0" Color="#333333" MajorTickSize="1" MajorTickType="Outside"
                MinorTickSize="1" MinorTickType="Outside" Reversed="false">
                <LabelsAppearance DataFormatString="{0}" RotationAngle="0" Skip="0" Step="1"></LabelsAppearance>
                <TitleAppearance Position="Center" RotationAngle="0" Text="Ordered Test Count">
                </TitleAppearance>
            </YAxis>
            <Series>
                <telerik:ColumnSeries Name="Test Volume" DataFieldY="TestDataCount">
                    <LabelsAppearance DataFormatString="{0}" Position="OutsideEnd"></LabelsAppearance>
                    <TooltipsAppearance DataFormatString="{0}" Color="White"></TooltipsAppearance>
                </telerik:ColumnSeries>
            </Series>
        </PlotArea>
 
        <ChartTitle Text="Daily Test Volume">
        </ChartTitle>
         
    </telerik:RadHtmlChart>


Is there anything i am missing out in my code?

It would be great if anyone can help me out.

Thanks,
Ruchi
Danail Vasilev
Telerik team
 answered on 23 Mar 2015
1 answer
83 views
I am having troubles retrieving cmbbackground data in radscheduler to the database.

It already saves to the database using Background ID such as 1,2,,3,4,5.

The trouble is when you try and retrieve the data from the database. 

The different Colour ID's are not remembered/ retrieved.

I have tried databinding but it does not work.

Any help will be appreciated. 

Many thanks





Plamen
Telerik team
 answered on 23 Mar 2015
1 answer
61 views
Hi,
I have a RadEditor (with several tools including FontName - code below) in my WebUserControl.
When I try to change the FontName the RadAjaxLoadingPanel displays forever.
Is this a bug or am I doing something wrong.



Thanks
Sangeetha
Sangeetha
Top achievements
Rank 1
 answered on 22 Mar 2015
5 answers
134 views
Hi,

I want to know how to prevent the user from entering alphabets in a textbox and show a warning symbol if user attempt to enter alphabets.

Thanks,
Tia.
Shivam
Top achievements
Rank 1
 answered on 21 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?