Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
315 views
Do you guys have a simple example of how to create a template filter on a grid column using a RadComboBox in the code-behind?  Been looking through the forum and docs and don't see one.

Thanks,
--nick
Pavlina
Telerik team
 answered on 07 Apr 2011
2 answers
108 views

We are using Telerik Web Controls for ASP.NET AJAX Q1 2011.
I have been looking at the online demo for  ListBox / Drag-and-drop with RadTreeView. This is actually what we want. the only problem we have now that the drag and drop happens on server side. We want a treeview and a listbox able to drag and drop on client side. no server side code after page load. We want to drag a item from treeview to listbox. After dragging it should create a new listboxitem with the same text and value. 

Additionally we also want to have the opportunity copy or move items from treeview to listbox and from listbox to treeview. Moving and copying items between listbox and treeview should happen only on client side.   


ListBox / Drag-and-drop with RadTreeView Online Demo:
http://demos.telerik.com/aspnet-ajax/listbox/examples/applicationscenarios/treeviewdraganddrop/defaultcs.aspx



Kind regards,
Farid
Peter Filipov
Telerik team
 answered on 07 Apr 2011
2 answers
150 views
I am using the 2011 Q4 Toolkit and the 2011 Q1 Telerik.Web.UI dll and some of the properties are all of sudden no longer recognized. I am getting several messages like the following.

Error 9 Type 'Telerik.Web.UI.GridCommandItemSettings' does not have a public property named 'ExportToExcelText'

<

 

 

MasterTableView DataSourceID="sdsForeclosureNotice" DataKeyNames="ForeclosureID">

 

 

 

<CommandItemSettings ExportToExcelText="" ExportToPdfText="" /> these properties are no longer recognized

 

 

 

<RowIndicatorColumn>

 

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

 

</RowIndicatorColumn>

 

 

 

 

<ExpandCollapseColumn>

 

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

 

</ExpandCollapseColumn>

 

 

 

 

<Columns>

 


Has anyone encountered this issue. I sure could use some assistance.

Thanks
jimmie
Top achievements
Rank 1
 answered on 07 Apr 2011
2 answers
132 views
Hello everyone,
i recently implemented within a RadGrid with a GridTemplateColumn RadListBox inside the ItemTemplate.
Look what happened to the RadEditor by side...Also the selection of entries within RadListBox is very slow...
If i take the course RadListBox returns everything to normal...
For knowledge I recently upgraded to version 2011.1.315.40
Help me pls :S

<telerik:GridTemplateColumn FilterControlWidth="100px" CurrentFilterFunction="Contains" ShowSortIcon="true" ShowFilterIcon="false" AutoPostBackOnFilter="true" HeaderButtonType="TextButton"
    DataField="colori_stampa" SortExpression="colori_stampa" HeaderText="Colori di stampa" UniqueName="colori_stampa">
    <ItemTemplate>
        <asp:Label runat="server" ID="lbl_colori_stampa" Text='<%# Eval("colori_stampa") %>'></asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
        <table width="300">
            <tr>
                <td>
                    <asp:Label runat="server" ID="lbl_colori_stampa_bianca" Text='Colori di stampa (bianca)'></asp:Label><br />
                    <telerik:RadListBox
                        OnItemDataBound="Lb_colori_stampa_bianca_ItemDataBound"                                                                            
                        SelectionMode="Multiple"
                        DataSourceID="SqlDataSourceColori"
                        ID="Lb_colori_stampa_bianca" runat="server" CheckBoxes="true"
                        DataKeyField="id"
                        DataTextField="colore_stampa"
                        DataValueField="codice_colore"
                        Width="200px"
                        Height="300px">
                    </telerik:RadListBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label runat="server" ID="lbl_colori_stampa_volta" Text='Colori di stampa (volta)'></asp:Label><br />
                    <telerik:RadListBox
                        OnItemDataBound="Lb_colori_stampa_volta_ItemDataBound"
                        SelectionMode="Multiple"
                        DataSourceID="SqlDataSourceColori"
                        ID="Lb_colori_stampa_volta" runat="server" CheckBoxes="true"
                        DataKeyField="id"
                        DataTextField="colore_stampa"
                        DataValueField="codice_colore"
                        Width="200px"
                        Height="300px">
                    </telerik:RadListBox>                                                                   
                </td>
            </tr>
        </table>                                                          
    </EditItemTemplate>
</telerik:GridTemplateColumn>
Mira
Telerik team
 answered on 07 Apr 2011
1 answer
109 views
OK, Here's is my situation.

I have an application that is used to manage training events in different cities around the country.
I have a page that has a radPanel on the left side of the page and a RadScheduler on the right.
The RadPanel contains 8 checkboxes, each representing a city. When the user selects a checkbox, a postback is performed and if there are appointments scheduled for the selected city, they are displayed in the RadScheduler.  

Each city has a number of instructors assigned to it. The instructors are setup as resources in a custom provider that Ive written. In order to pass the Selected_Training_City_ID as a parameter to the custom provider, Ive setup the custom provider to be instantiated on each page load. I filter the instructor resources based on the Selected_Training_City_ID so that only instructors from the selected city are shown on the Advanced Edit Form.

This all works great....Now here's the problem. Each time a new city is selected, the page does a postback and reloads the Instructor resources based on which city checkbox is selected. Then, when a change is made to an appointment, but that isnt the currently selected city, the resource is not available and the update fails.

For example, let say I do the following:

1. select New york from the city checkboxs
2. the page posts back and loads the instructors (Joe and Jim) for NY as Instructor resources into the provider.
3. I double click the scheduler and create an appointment, I select Joe and Jim as the instructors, fill out the other details and save it.
4. back on the main page, I now check the Chicago checkbox and un-check NY.
5. the page posts back and loads the instructors (Mary and Jane) for Chicago as resources into the provider.
6. Now I click and hold my NY appointment and move it, the Instructor resources (Joe and Jim from NY) aren't available since Chicago is currently checked and my update fails.

Is there a recommended approach for handling a use case like this?
Any help would be greatly appreciated.
Thanks in advance.
Alex

Peter
Telerik team
 answered on 07 Apr 2011
7 answers
152 views
Is there any way for designer to auto-generate the FormTemplate so that it can be modified according to my needs?

For example I'm binding ObjectType that has many many fields (using ObjectDataSource) I can generate columns in designer so I can nontrol them manually - but I would like designer to also generate the FormTemplate for edit/insert operations (It may be the layout like it's done automatically when I have EditFormType="AutoGenerated" property set)
That would be especially useful for grids with many columns.

Thanks
Greetings
Michal Szilder, Krakow, Poland
Tsvetoslav
Telerik team
 answered on 07 Apr 2011
1 answer
112 views
How can I format the data in the data table?  I would like to format the number in a certain format and alos right justify the values.
Giuseppe
Telerik team
 answered on 07 Apr 2011
4 answers
241 views
Hello,

I have a tabstrip with the multipage's scrollbar property set to 'auto'. When the content inside the pageview grows too large, the scrollbar appears and works excellently.

However, anytime there is an ajax postback on the page, the pageview's scrollbar gets reset to the top. I was just wondering if there is a relatively simple way to force the pageview to remember its scroll position after a postback.

Using Q2 2010 and IE7

Thank you,
Josh
Yana
Telerik team
 answered on 07 Apr 2011
1 answer
104 views
Hi,

There appears to be a bug in the Image editor in Firefox 4. When you attempt to rotate an image 90 the saved thumbnail is distorted. The function works in IE9. I tested on the demo site.

Jeff
Marin Bratanov
Telerik team
 answered on 07 Apr 2011
1 answer
208 views
Hello

I wonder if there's any way to edit the content of a RadListView into a PopUp?  (like RadGrid does)
Can you provide an example to achieve it?

I have some grids and a RadListView, and I want to provide an homogeneous way to input data.
My RadListView have a lot of items that are not shown on the ItemTemplate or SelectedItemTemplate, but must show on EditItemTemplate so will be confortable if can be on a PopUp...

Thank You
Carlos Asensio Martinez
Princy
Top achievements
Rank 2
 answered on 07 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?