Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
59 views
Hi boss,
Treelist with Repeater control inside the template column of treelist, I want to export to Excel or pdf  but the repeater control is not showing the export file.
Any solution for that, I will be very thankfull to you.

Thankx

Gul Ahmad
Sr. Software Engineer

Kostadin
Telerik team
 answered on 27 Jun 2014
14 answers
316 views
switched to 2010.1.706.35

1. When I export, this column has empty results.

2. Is there a way to suppress exporting of certain columns?  
Answer:  RadGrid1.Columns(Col.Status).Visible= False

                    <telerik:GridTemplateColumn HeaderStyle-Width="100px" UniqueName="Status" HeaderText="Status" DataField="Status" SortExpression="Status"
                        <ItemTemplate>  
                            <asp:Label ID="lblStatus" runat="server" Text='<%# Bind("Status") %>'></asp:Label>  
                        </ItemTemplate> 
                        <FilterTemplate> 
                            <telerik:RadComboBox runat="server" ID="StatusFilter" Width="90px" Skin="Simple"  
                                DataSource='<%# (New string() {"", "Active", "Completed", "Error"}) %>' 
                                CollapseAnimation-Type="None" ExpandAnimation-Type="None" 
                                SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("Status").CurrentFilterValue %>' 
                                OnClientSelectedIndexChanged="StatusIndexChanged" >                  
                            </telerik:RadComboBox> 
                             
                            <telerik:RadScriptBlock ID="StatusScriptBlock" runat="server"
                                <script type="text/javascript"
                                    function StatusIndexChanged(sender, args) { 
                                        var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>"); 
                                        tableView.filter("Status", args.get_item().get_value(), "EqualTo"); 
                                    } 
                                </script> 
                            </telerik:RadScriptBlock>                            
                        </FilterTemplate>                                            
                    </telerik:GridTemplateColumn>    

Kostadin
Telerik team
 answered on 27 Jun 2014
1 answer
71 views
Hi,

In a special scenario, we're using a RadEditor to let the user enter a subject line for sending online emails. We use the editor here because we need the editor toolbar (with some custom made tools) to allow the user to insert some special 'tokens' in that subject line.

Because obviously we only want one line of text in this scenario, and we want to visually discourage the user to enter more than one line, we use the RadEditor with a height set to only 50px (height="50")

This small editor displays fine on eg. computers and Android-tablets, but the Apple iPad displays only a very tiny editor. So tiny in fact, that it is impossible to put a cursor in it to start typing.

Any ideas how to solve this?
Ianko
Telerik team
 answered on 27 Jun 2014
2 answers
113 views
The goal is to take an already finished rad bar chart and change the labels along the x axis to French.  My first thought was to try this:

  private void ProcessXAxis(ChartXAxis xAxis)
        {
            if (xAxis == null || xAxis.Items == null) return;

            foreach (AxisItem item in xAxis.Items)
            {
                var replacementPhrase = GetFilteredReplacementPhrase(item.LabelText);
                if (string.IsNullOrEmpty(replacementPhrase) || string.IsNullOrWhiteSpace(replacementPhrase)) continue;
                item.LabelText = replacementPhrase;
            }
        }

Trouble is, for this particular chart, there are no items in the collection.  Where the chart gets its labels, other than obviously from the data row column names, is beyond me.  Apparently I don't understand the ChartXAxis Item collection enough and assumed incorrectly it represented each data row. It doesn't.

So, this leaves me with the question - how do I find the correct class containing the textblock that is obviously being generated in HTML as a "Text" element under the <g> element?  Please understand that all I have to work with at the point I am doing this processing is an already created chart.  I have no access to the data source and can only use the class trees available from Telerik.

KT
Kerry
Top achievements
Rank 1
 answered on 27 Jun 2014
1 answer
48 views
I have a scenario, pretty classic, where I need to pair up two string items (from two different list) and create a third list that shows the pairing. Basically a creating field mappings. I could use three listbox where what is highlighted in listbox1 and listbox2 and user clicks button to create mapping into listbox3, but thought there might be a better way with drag and drops to do this. Any ideas, recommendations?
Ianko
Telerik team
 answered on 27 Jun 2014
11 answers
367 views
Hi,

I have been playing around with the Rad Grid client side support and I am able to make everything work on the client side using the API except for the grouping.  I tried using the groupColumn method of the master table view but it does not work.  I do my binding on the client using the client side API of the radgrid.  I hope you can help me or do anyone has sample code that I can use.

Thanks,
Ryan
Pavlina
Telerik team
 answered on 27 Jun 2014
5 answers
292 views
Hi, my boss just upgraded from 2008.1.515.35 to the 2009.1.402.35 version of the Telerik ASP.Net AJAX controls (I believe from Q3 2008 to Q1 2009) and now I'm getting the following two problems...

Problem 1

Telerik.Web.UI.GridFilterMenu with ID='rfltMenu' was unable to find embedded skin with name 'ourcustomskin'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

It looks like the rfltMenu is auto generated by the control, as I can't find it.  I rolled things back to the older version of the control and everything works fine.  Did the underlying skin structure change slightly?  Anybody seen this before?  I'm being lazy here, if I dig hard enough I bet I can fix this, but if someone has a quick fix I'm all ears.  Problem two is a little more challenging.

Problem 2

We have a custom implimentation of the templategridcolumn that is stackable (i.e. you can have multiple data items per row).  Usually we stack two data items per custom template column.  Again, with the new version of the controls, filtering no longer works where before it did (could be related to problem 1).  It looks like the Javascript generated by the Telerik will no longer fire the filter event if the first filter column textbox is empty in the column.  In most scenarios that would be fine, but since we have two or more filter texboxes (one per data item in the row) you could be filtering off the second textbox while leaving the first filter text box blank.  Anyone have problems like this?  Is there a decent example of over-riding the default javascript filtering behavior so we can pull this off?

I think I will hold off posting source code for now, probably have to open a ticket.  But if anyone has encountered these issues any help you can offer would be helpful. Thanks.
Bimar
Top achievements
Rank 1
 answered on 27 Jun 2014
2 answers
181 views
Hi all,

I have a pretty large RadGrid with a lot of columns. I'd like to have a column picker outside the grid itself, so that I can show that to the visitor in a more structured way. I know I can enable a ContextMenu for the Grid, but that is not the way I want the user to interact, since it is not that nice (a really long  list with checkboxes).

How can I bind e.g. a CheckboxList or some other control to the available columns on the Grid and hide or show them?

Best,
Daniel
Daniel Plomp
Top achievements
Rank 2
 answered on 27 Jun 2014
1 answer
163 views
I consider using Telerik SP 2013 web parts in my environment to produce reacher GUI for end users.
I have a lot of BIG document libraries (thousands and tens of thousands of documents).
There is a throttling mechanism in SP 2013 which causes problems in using standard SP views when working with big document libraries.
One of proposed solutions is building views based on search capabilities of SharePoint instead of just querying list data.
I would like to know if Telerik web parts are based on regular data querying (just like regular SP list views) or on SharePoint search.

Thank you very much, Masha.
Pavlina
Telerik team
 answered on 27 Jun 2014
3 answers
713 views
Hello,

I would like to implement some kind of lazy loading in RadGrid.

Let's say we have page with collapsed panels (via jQuery) in page. Every panel contains server generated user control - mostly grids. Current behavior is that when page loads, all grids loads data and renders everything. We need to collapse all panels and force grids to set data sources on server side (as in current state), but do NOT databind.

We want to implement calling databind() from javascript when client expands panel.

I found on web that only way how to force grid not to databind is set visible=false; But I don't think this is the best way, because control is not rendered and there is no way how to set visibility from javascript and call databind, or not?

Is there any way how to do it? Some kind of disable auto databind?

Regards
René
Radoslav
Telerik team
 answered on 27 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?