Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views

Hi,

 

I have coded the ASPX page for LineChart (same as in the demo code) as below. But the chart is displayed as an AreaChart, not a LineChart.

Is the any way or dynamic code that i can force the chart from Area Chart to Line Chart?

 <telerik:RadHtmlChart runat="server" ID="LineChart" Width="800" Height="500" Transitions="true" Skin="Silk"> ........

<Series><telerik:LineSeries Name="Week 1">

     <SeriesItems>

Vessy
Telerik team
 answered on 26 May 2016
3 answers
77 views

In testing, editing the image works as expected.

 

When the site is published and a user edits an image, clicks save etc, the changes to the image are not saved.

 

Everything else about the site seems fine, I could not find anywhere if certain folder need certain permissions. I believe all the correct permissions on the folder where the images are stored is correct.

Is there anything anyone could suggest I try to resolve the issue.

Vessy
Telerik team
 answered on 26 May 2016
8 answers
300 views
Hi,

I noticed, after a lot of trial and error, that using a RadFileExplorer in an ASP.NET AJAX UpdatePanel is not possible. Uploading, viewing works fine, but deleting and refreshing results in an error in Visual Studio in a script file loaded from a web resource (Telerik.Web.Resource.WebResource_2.axd), in _callWebService:function(_13,_14,_15), on line 29:

if(this._folderCache[_1e]!=null&&!_14){

This only occurs when the RadFileExplorer is inside an UpdatePanel and otherwise works just fine. Maybe this can be mentioned in the documentation.

Greetings,

Roland

Vessy
Telerik team
 answered on 26 May 2016
0 answers
88 views

Hi,

 

My stored procedure gives a list of absentees per week in a date range.  I am getting one list per each college. How can I combine multiple lists in to one Master List, and use that Master List to loop through the Lists + their elements, and Add the CategorySeriesItem and it's corresponding WeekNumber (from a date range)  in XAxis.

Please help me out in the right direction or with sample code.

Ravi
Top achievements
Rank 1
 asked on 26 May 2016
1 answer
354 views

Do telerik support asp.net UltraGridColumn allowupdate="Yes"?

AllowUpdate is an option to edit a specific column cell on double click.

 

Thank you very much.

Pavlina
Telerik team
 answered on 26 May 2016
5 answers
831 views
how to remove links from header text below. When I set ExportOnlyData="true"  the link is removed but the header text span tags shows in the excel header. Is there a way to edit the header text before exporting to excel.


<telerik:RadGrid
            ID="RadGridReport"
            runat="server"
            CssClass="GridLines"
            ExportSettings-FileName="RadGridReportReport"
            AutoGenerateColumns="false"
            AllowPaging="false"
            AllowSorting="true"
            AllowFilteringByColumn="false"
            AllowMultiRowSelection="false"
            Enabled="true"
            Visible="false"
            OnGridExporting="RadGridReport_GridExporting"
            OnExcelExportCellFormatting="RadGridReport_ExcelExportCellFormatting">
            <ExportSettings OpenInNewWindow="true" />
            <MasterTableView AllowMultiColumnSorting="true"  AllowNaturalSort="false">
                <HeaderStyle HorizontalAlign="Center" Font-Bold="true" />
                <ItemStyle HorizontalAlign="Left" />
                <AlternatingItemStyle HorizontalAlign="Left" />
                <Columns>
                        <telerik:GridTemplateColumn UniqueName="Code" HeaderStyle-Width="15%">
                        <HeaderStyle CssClass="rgHeader hasNestedTable" />
                        <HeaderTemplate>
                            <table class="nestedHeaderTable" cellspacing="0" >
                                <tr style="height:35%;">
                                    <th id="StateCode" colspan="2" align="center"><b>State Code</b></th>
                                </tr>
                                <tr style="height:65%;">
                                    <th id="Code" width="20%" align="center">
                                    <asp:LinkButton  ID="btnCode" Font-Underline ="true" ForeColor ="Blue" Text="Code <span  class = 'hidden'> Select to sort by Code</span>" ToolTip="Sort by Code" CommandName='Sort'  CommandArgument='Code' runat="server" /></th>
                                    <th id="Type" width="80%" align="center">
               <asp:LinkButton  ID="btnType" Font-Underline ="true" ForeColor ="Blue" Text="Type <span  class = 'hidden'> Select to sort by Type</span>" ToolTip="Sort by Type" CommandName='Sort'  CommandArgument='Type' runat="server" /></th>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <ItemStyle CssClass="hasNestedTable" />
                        <ItemTemplate>
                            <table class="nestedItemTable" cellspacing="0" >
                                <tr>
                                    <td headers ="Code" width="20%" align="left" style="mso-number-format:\@;"><%# DataBinder.Eval(Container.DataItem, "Code")%></td>
                                    <td headers ="Type" width="80%" align="left"><%# DataBinder.Eval(Container.DataItem, "Type")%></td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>

 </Columns>
            </MasterTableView>
        </telerik:RadGrid>

Maria Ilieva
Telerik team
 answered on 26 May 2016
4 answers
114 views

Its possible to do this? make some changes in data row values (description or price columns for example) and then change the row order (swap the first and second rows values with radcontextmenu for example) . Sorry for my bad english.....

 

Thanks

Josep Ramon
Top achievements
Rank 1
 answered on 26 May 2016
1 answer
514 views

I have a UI within a RadWindow which includes a RadDatePicker and a RadGrid.  When I click the date popup icon for this RadDatePicker, the calendar will not display.  However, this is the same control definition I use inside a regular page. 

 

Inside the RadGrid is an Edit Form template with a RadDatePicker with the same issue.

Viktor Tachev
Telerik team
 answered on 26 May 2016
1 answer
565 views

We are using dynamic datasources (tables) to populate a Telerik RadGrid. The user can pick a table name from a combobox dropdown. Once they've picked the table, the grid is generated with the appropriate columns.

We would have used the "Automatic Data Source operations", but we can't since the DataSourceID isn't being specified on the grid (we allowing the user to pick which table they want to view/edit).

From the Telerik documentation: The automatic data source operations only work when binding the grid to a declarative data source using the DataSourceID property of the grid. You must configure the data source so that it supports the automatic operations.

How can we implement CRUD operations on a Telerik RadGrid that has a dynamic datasource? We're able to view the data in the grid now, but we're unable to Edit it. I don't know how/where to make the code changes to allow the Edit function to be dynamic.

Viktor Tachev
Telerik team
 answered on 26 May 2016
1 answer
647 views

Hi,

I have a radbutton which when pressed updates some profile variables and then redirects to another page. What I am trying to achieve is to have a new tab open when the button is pressed instead of the same tab redirecting to another page.

The radbutton is located within a GridTemplateColumns in a Ragrid if that makes a difference:

<telerik:RadButton ID="SelectC" runat="server" Text="Select" CommandName="Select"                                  CommandArgument='<%#Eval("Rulcode_Child")+","+ Eval("UIO_ID")+","+ Eval("PERSON_CODE")%>' >
</telerik:RadButton>

protected void gridEnrolmentsCourse_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
    if (e.CommandName == "Select")
    {
        string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
        Profile.Rulcode = Convert.ToInt32(commandArgs[0]);
        Profile.UIOID = Convert.ToInt32(commandArgs[1]);
        Profile.Percode = Convert.ToInt32(commandArgs[2]);
 
        if (ViewState["PreviousPage"] != null)
        {
            //Open new tab here somehow
            Response.Redirect(ViewState["PreviousPage"].ToString());
        }
    }
}

Mohammed
Top achievements
Rank 1
 answered on 26 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?