Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
I have an ajaxified radtreeview that takes about 2 seconds to refresh controls on my page.  What I thought to be the "heavy lifting" (data access) takes only about 1/3 of a second and the remainder of the time is consumed from Node Click to Page Load.  Is this typical?

I did turn off debugging and I lowered the number of nodes and neither had any significant effect.
Nikolay Tsenkov
Telerik team
 answered on 06 Sep 2010
2 answers
61 views
Hi,

       I have noticed that the autoextender used inside usercontrol is not working when it is placed in the second or other rows  of the grid. It works fine in the first row , however the autoextender is not working for the second row or any other row except the first row .The same user control is placed inside each rows of the grid  and the autoextender is placed inside usercontrol.

Thanks.

Kishor Dalwadi.
Kishor Dalwadi
Top achievements
Rank 2
 answered on 06 Sep 2010
1 answer
159 views
Dear Support

I have a radGrid with a NestedViewTempalte. In this template I put in another RadGrid. Thats really nice an works as expected.
If I try to collapse or expand the template everytime a postback will be triggered.

How can I disable this behavior? All my data are loaded and bind to the two grids, so I don't need any postback.

Thanks for your help.

Kind regards
Christian
Christian
Top achievements
Rank 1
 answered on 06 Sep 2010
2 answers
67 views
When we export a PDF file from RadGrid, the file size is big upon download 11.4MB (firefox, ie, safari, all says file is 11.4MB at the start), then when the file is completed, the file size is 3.4 MB.

FYI: I disabled font embedding (http://www.telerik.com/support/kb/reporting/designing-reports/the-size-of-the-exported-pdf-file-is-big.aspx)

Any ideas?

RadGrid1.ExportSettings.ExportOnlyData = False
 
RadGrid1.ExportSettings.FileName = lPDF.Text
 
RadGrid1.ExportSettings.IgnorePaging = True
RadGrid1.ExportSettings.OpenInNewWindow = True
RadGrid1.BorderStyle = BorderStyle.None
RadGrid1.MasterTableView.BorderStyle = BorderStyle.None
RadGrid1.MasterTableView.DataBind()
RadGrid1.MasterTableView.ExportToPdf()

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
        DataSourceID="sqlSubmittedWks" GridLines="None" 
        OnItemDataBound="RadGrid1_ItemDataBound" >
<MasterTableView datasourceid="sqlSubmittedWks" >
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <ItemTemplate>
   <asp:Label ID="Label1" runat="server" Font-Size="16pt"
                    Text='<%# Eval("QuestionName") %>'></asp:Label>
                <br />
                <br />
                <asp:Literal ID="lChartPrint" runat="server"
                    Text='<%# Replace(Wks_Helper.Statistics_AnswerStatistics_Chart(lWalkID.text, Eval("QuestionID")), "chs=440x220", "chs=600x400") %>'></asp:Literal>
                <br />
                <uc1:AnswerResults_Item ID="AnswerResults_Item1" runat="server" SchoolWalkID='<%# lwalkid.text %>'  QuestionID='<%#  Eval("QuestionID") %>'  />
                <br />
                <asp:Label ID="lQidPrint" runat="server" Text='<%# Eval("QuestionID") %>'
                    Visible="False"></asp:Label>
                <asp:Literal ID="lNewPage" runat="server" Text="<?hard-pagebreak?>"></asp:Literal>
    </ItemTemplate>
    <Columns>
        <telerik:GridTemplateColumn UniqueName="TemplateColumn">
            <ItemTemplate>
 
            </ItemTemplate>
        </telerik:GridTemplateColumn>
    </Columns>
    <CommandItemTemplate>
        
    </CommandItemTemplate>
</MasterTableView>
    </telerik:RadGrid>
Daniel
Telerik team
 answered on 06 Sep 2010
10 answers
239 views
Hi,

The Rad editor does not work in firefox 3.0.
Do we the upgraded version available?
The help doc that I got says Firefox 1.5 and 2.0 are supported.

Regards,
Chetali
Mandy
Top achievements
Rank 2
 answered on 06 Sep 2010
2 answers
109 views

I want to update a Label control which is inside the same GridItem (row).

I have added the OnSelectedIndexChanged Event to the combobox but i just cannot get the current row as it's (i assume) not selected when you change the combobox index.

I just want to select a new item in the combobox and make it updates the Label1 in the same ItemTemplate (findControl i guess but as mentioned i cannot find the currently selected index.

I tried something along the following but, i am missing something.

01.Protected Sub cmbSetMarkup(ByVal sender As Object, _
02.                ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs)
03.        Dim combo As RadComboBox = DirectCast(sender, RadComboBox)
04.        Dim NewValue As String = combo.SelectedValue
05.  
06.        For Each markupItem As GridItem In RadGrid1.MasterTableView.GetItems( _
07.            New GridItemType() {GridItemType.Item, GridItemType.AlternatingItem})
08.            Dim LblPercent As Label = CType(WHATHERE.FindControl("MyPercent"), Label)
09.            LblPercent.SelectedValue = NewValue
10.        Next
11.  
12.    End Sub
El
Top achievements
Rank 1
 answered on 06 Sep 2010
1 answer
115 views
Good morning,

I am having some strange behavior going on with some of my radGrids and was wondering if anyone could shed any light on the situation for me.  Let me first describe the set-up of pages and controls that I have going on:

I have one actual aspx page which I have a bunch of controls nested within, just call this page the Display Page.
I have 1 tabstrip which has multiple tabs, just call this the Tab Strip.
2 of the tabs on that Tab Strip are nearly identical in content so I wanted to remove the identical grid control from the markup from each and create a custom control from it.  Refer to the two tabs as Tab A and Tab B and the "extracted"/custom-control grid as just Grid X.

I have tried two different set-ups and have gotten the same result:

First, within the Tab Strip on the Display Page, I had the another custom control specific to Tab A and within that custom control, I then nested the custom control containing Grid X inside of that.  I followed this same set-up for Tab B.

Second, I removed that "middle layer" so that within Tab A itself, it simply contained the custom control containing Grid X (a.k.a. no custom control specific to Tab A in the middle).  I followed this same set-up for Tab B.

The problem then would come on ANY postback from the custom control (Grid X).  Upon the Refresh, Filter, etc click from either tab, the actions would only be applied to Tab B (Tab As actions effected Tab B, Tab Bs actions effected Tab B).  I believe this may be from the javascript that is generated when these controls are rendered and since everything in Tab B is rendered after Tab A, it seems that some of Tab A's stuff is being overwritten with Tab B stuff. 

Any ideas?
Pavlina
Telerik team
 answered on 06 Sep 2010
3 answers
199 views

In the column, I had set <nobr> so that it will have only 1 column if i dragged the column width to smaller. But when mouseover the link, the tooltip become <nobr>XXXXX.doc</nobr> not XXXXX.doc. How do I remove the <nobr> or remove the tooltip but still preserve to 1 row event the width turn smaller.

Thanks in advance.

<telerik:GridHyperLinkColumn DataNavigateUrlFormatStringa.aspx?id={0}"
    DataNavigateUrlFields="ID" DataTextFormatString="<nobr>{0}</nobr>" DataTextField="Filename"
    HeaderText="<nobr>Filename</nobr>" UniqueName="Filename" SortExpression="Filename">
</telerik:GridHyperLinkColumn>
jing
Top achievements
Rank 1
 answered on 06 Sep 2010
1 answer
266 views

I'm using a web usercontrol with fields to edit an XML file. I have an "Edit" link on this usercontrol to edit a radgrid on this parent usercontrol by opening a child radwindow then in the child radwindow i save the values and close the child radwindow. The problem I'm having is that the values are saved are refreshed in the parent window and the grid is populated with the new values but the values that I had in the form in other fields get lost because a full postback is caused. Is there a way I can only refresh the grid only on the parent usercontrol instead of refreshing the whole parent. I'm using the following JavaScript to open the radwindow then refresh the parent after the child window is closed.

Code to open the child radwindow

function openDevDealTailredPopup(tailoredIndex) {

    var oWnd = radopen(“blabla”, "RadWindow1");

    oWnd.set_modal(true);

    oWnd.SetWidth((document.documentElement.clientWidth) * (95 / 100));

    oWnd.SetHeight((document.documentElement.clientHeight) * (80 / 100));

    oWnd.center();

   

}

The code that closes the child radwindow and refreshes the parent usercontrol

function GetRadWindow() {

    var oWindow = null;

    if (window.radWindow) oWindow = window.radWindow;

    else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;

    return oWindow;

}

 

function CloseRadWindow() {

 

    var oWindow = GetRadWindow();

    oWindow.opener = "x";

    oWindow.Close();

     OnClose();

 }

 

            

function OnClose() {

    var oWnd = GetRadWindow().BrowserWindow;

    oWnd.location.href = oWnd.location.href;

}

 

I would appreciate your help on this matter.
Thanks
Nasiem
Shinu
Top achievements
Rank 2
 answered on 06 Sep 2010
9 answers
634 views
Hi,

I want to export content from RadEditor to PDF/DOC file and save it on server. Now this is not possible becouse:
a) I can only initate request that will allow user to save file by using ExportToPdf function, will be great to have another function for example: GetContent(Format.PDF) and receive Stream or byte[] content.
b) PDF export is very limited (no tables, header, footer etc).. do you have any timelines for making export more powerful?

At the moment only solution is to use 3rd party libraries, please think about that.

Best regards
Rumen
Telerik team
 answered on 06 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?