Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
57 views
Hello
Using the mastertableview.exportto excel() method. If the grid has a cell that contains certain characters, the export is truncated.

Example: if text inside a cell is

IIF(S_FELIQ<{01/09/2010},15,IIF(S_FELIQ<{01/12/2010},23.05,29.2025))


it gets truncated to

IIF(S_FELIQ


How can I solve this? 

Mira
Telerik team
 answered on 01 Jun 2011
1 answer
171 views

Hi, I'm using radChart for reporting purpose, but setting PlotArea height from code behind seems not working.

e.g

  <telerik:RadChart ID="radChart" AutoLayout="false" runat="server">
    </telerik:RadChart>

...

 radChart.Appearance.Dimensions.Height = Telerik.Charting.Styles.Unit.Pixel(200);
 radChart.Width = System.Web.UI.WebControls.Unit.Pixel(1020);

...

 radChart.PlotArea.Appearance.Dimensions.Height = Telerik.Charting.Styles.Unit.Pixel(150);





...
 radChart.PlotArea.XAxis.AutoScale = false;
 radChart.PlotArea.XAxis.AddItem(axisItem);
 radChart.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Sample";
 radChart.PlotArea.XAxis.Visible = ChartAxisVisibility.True;
 radChart.PlotArea.XAxis.AxisLabel.Visible = true;
 radChart.PlotArea.XAxis.LayoutMode = ChartAxisLayoutMode.Normal;     

 x-axis labels("Sample") are cut off.

Sia
Telerik team
 answered on 01 Jun 2011
3 answers
52 views
Hi.
Im having this setup:

page.aspx
<asp:literal ID="pageName" runat="Server" Text="" />
I fire up dialog.aspx in RadWindow from page.aspx

dialog.aspx
RadTreeView
<asp:Button ID="SelectPageBtn" runat="server" Text="Select page"  />


What i need to achieve is to pass selected RadTreeNode to parent page (page.aspx) into literal control.

Anyone got suggestion for a clean solution ?
Thanks,

/Mattias
Marin Bratanov
Telerik team
 answered on 01 Jun 2011
16 answers
190 views
Hi,

I have  come across one issue in firefox 4.0. I have a page with two telerik rad combo boxes. Based on the value selected on the first combo box, second combo value will be loaded. In this scenario, on selecting the first combo box value, the second combo box is not loading due to ajax problem occured with FF 4.0. It is working fine in IE 7.0 and safari browsers.. But only in new version of FF 4.0 is not working. Its showing error as "dropdownplaceholder is null".

Kindly check with this issue in FF 4.0 and let us know. Appreciated if you give a solution for this.
Simon
Telerik team
 answered on 01 Jun 2011
1 answer
97 views
Hello
i need show a pdf in modalpopupetender or something like that. but i have a problem with a IPAD. beacuse in IPAD the files pdf does not show correctly.
I Think, may be, exists a control in Telerik that show the pdf correctly.
i need yours help.
thank you.
Sebastian
Telerik team
 answered on 01 Jun 2011
1 answer
87 views

What I am trying to do is reorder a set of questions.  What i pull into the grid is the
intQuestionID, strQuestion and the intOrder

What I want to be able to do is drag and drop and reorder the questions, do you have an example of doing this only server side using the Radgrid_rowDrop.

<tr>
                                <td align="left"><telerik:RadGrid ID="myRad" runat="server" ClientSettings-AllowRowsDragDrop="true" ClientSettings-Selecting-AllowRowSelect="true"
                                    ClientSettings-Selecting-EnableDragToSelectRows="false">
                                    <MasterTableView AutoGenerateColumns="false" DataKeyNames="intQuestionId">
                                    <HeaderStyle ForeColor="White" CssClass="backColor" BackColor="Steelblue" Font-Bold="true" BorderColor="#404040" BorderWidth="1px" />
                                        <Columns>
                                            <telerik:GridDragDropColumn HeaderStyle-Width="18px"></telerik:GridDragDropColumn>
                                            <telerik:GridBoundColumn DataField="strQuestion" HeaderText="Question"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="IntOrder" HeaderText="Order"></telerik:GridBoundColumn>
                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid></td>
                            </tr>

 Protected Sub ddlQuestions_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlQuestions.SelectedIndexChanged
        Dim catId As String = ddlQuestions.SelectedValue

        If catId = "0" Then
            ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "PickCategory();", True)
        Else
            FillGrid()
        End If
    End Sub

Private Sub FillGrid()
        Dim CatId As String = ddlQuestions.SelectedValue
        Dim itemCount As Integer = 0

        sql = "Select intQuestionId, strQuestion, intOrder from tblSRPQuestion where intCategoryID = " & CatId
    
        myDataTable = New DataTable
        myDataTable = getData(sql)

        myRad.DataSource = getData(sql)
        myRad.DataBind()

    End Sub

  
    Protected Sub myRad_RowDrop(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridDragDropEventArgs) Handles myRad.RowDrop

    End Sub

Mira
Telerik team
 answered on 01 Jun 2011
1 answer
215 views
Is there a way to disable the expand/collapse button?  I'm trying to get the tree structure and layout but always want the treelist expanded without allowing the user the ability to collapse the children.

Thanks,
Veli
Telerik team
 answered on 01 Jun 2011
1 answer
73 views
Hello,

I am trying to persist grid state behind the scenes without requiring the user to take any action. I have implemented a GridSettingsPersister class and it works perfectly on button click.  I have implemented the ICallbackEventHandler interface to call my server-side persistence method and hooked-up calls from OnColumnHidden, OnColumnShown and OnTableDestroying.

My only issue revolves around persisting column reorder changes - on the server side (with <ClientSettings ReorderColumnsOnClient="true") the OnColumnsReorder event seems to be the in-process event (i.e. OnColumnsReordering) but there doesn't appear to be any corresponding post-process event (i.e. OnColumnsReordered) - the client side (<ClientSettings ReorderColumnsOnClient="false") exposes both events for a move right or left (OnColumnMovingToLeft, OnColumnMovedToLeft, OnColumnMovingToRight, OnColumnMovedToRight) [ Side note: the 'OnColumnMovingTo' methods seem to be misnamed Right should be Left and vice-versa] but the events only fire for the first column exchange so when a column is reordered more than a single spot I can't find any way to get the final position to set the OrderIndex.

I have a small (7.35 MB) sample app if needed.

Thanks for your help.

Regards,

Steve
Tsvetina
Telerik team
 answered on 01 Jun 2011
3 answers
68 views
Is it possible for you to give us the option to render the scriptmanager scripts in the header instead of inside the body?

What I would love is the ability to specify it on a script level...so I could list all my scripts in the manager, but specify that 1&2 show in the header, but 3&4 render at the bottom of the body tag.
Simon
Telerik team
 answered on 01 Jun 2011
1 answer
113 views
I am using the RadFileExplorer and need to combine the default Telerik CSS into one file rather than making 18 different request. I included the RadStyleSheetManager as below.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="file_manager.ascx.cs" Inherits="MyProject.file_manager.file_manager" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" EnableStyleSheetCombine="true" />    
<telerik:RadScriptManager ID="RadScriptManager1" runat="Server" EnableScriptCombine="true" LoadScriptsBeforeUI="false" ScriptMode="Release" />
<telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="520px" Skin="Simple" />

Now, none of the default styles are loading. I cannot include the RadStyleSheetManager tag within my control.

I am using Telerik version 2010.2 929
Simon
Telerik team
 answered on 01 Jun 2011
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?