Telerik Forums
UI for ASP.NET AJAX Forum
21 answers
739 views
hello,
I just recently upgraded Rad Controls for ASP.NET AJAX from the Jan 14, 2010 (2009.3.1314) version to the Apr 15, 2010 (2010.1.415) version.  I am using a RadListBox that I was adding items to wrapped in a <span> tag for formatting purposes.  After the upgrade the span is rendered as text.  I looked briefly through the version history and didn't see anything mentioning this change specifically.  Is there something I can do in the latest version to pull this off?

Here's the listbox definition:
<telerik:RadListBox runat="server" ID="rlbOrderList" Width="495px" Height="320px" 
                                                AllowDelete="False" AllowReorder="False" Skin="Default" CssClass="cert" AutoPostBack="True" 
                                                OnSelectedIndexChanged="rlbOrderList_SelectedIndexChanged">  
                                            </telerik:RadListBox> 

Here is what I am adding to it:
foreach (eSolutions.HomeHealth.Core.ReadOnly.Order ord in ol)  
            {  
                rlbOrderList.Items.Add(new RadListBoxItem("<span class='" + ord.OrdersDisciplineCode + "'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><b>" + ord.OrdersDisciplineCode + ":</b>&nbsp;" + ord.OrderDescription.Trim(), rd.OrderID));  
 
            } 


I've attached screenshots of before and after the upgrade.

Thanks in advance for your response,
Bryan Smouse
Plamen
Telerik team
 answered on 02 Jan 2017
9 answers
494 views
Hi -

I have a RadListView bound to a datasource.  How can I have the first item automatically selected on page load?

Rod

hart
Top achievements
Rank 1
Veteran
 answered on 31 Dec 2016
18 answers
736 views
Hi everyone,

I'm trying to create a grid with filterchecklist .... I tried to enable the "FilterCheckListEnableLoadOnDemand" property for GridBoundColumn so i can use "OnFilterCheckListItemsRequested" event handler to load the items of the checklist.
However, "FilterCheckListEnableLoadOnDemand" is not supported by the trial version of telerik.web.ui that I downloaded from your site, so I can not use this property until i purchase the latest version of the library or is there some other reason why it does not work?

Thanks in advance.
Vasssek
Top achievements
Rank 1
 answered on 31 Dec 2016
18 answers
358 views

I'm trying to load treelist, everything works well but i always see "No Records To Display".

Here is the control:

<telerik:RadTreeList ID="trlProductGroups" runat="server" AllowPaging="true" PageSize="5"
       
DataKeyNames="ID" ParentDataKeyNames="PARENT_ID" AutoGenerateColumns="false"
       
OnInsertCommand="trlProductGroups_InsertCommand" OnNeedDataSource="trlProductGroups_NeedDataSource"
       
OnUpdateCommand="trlProductGroups_UpdateCommand" OnDeleteCommand="trlProductGroups_DeleteCommand">
       
<Columns>
           
<telerik:TreeListEditCommandColumn UniqueName="InsertCommandColumn" ButtonType="ImageButton"
               
HeaderStyle-Width="60px" ItemStyle-HorizontalAlign="Center" />
           
<telerik:TreeListEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton">
               
<ItemStyle CssClass="MyImageButton" />
           
</telerik:TreeListEditCommandColumn>
           
<telerik:TreeListButtonColumn UniqueName="DeleteCommandColumn" Text="Delete" CommandName="Delete"
               
ButtonType="ImageButton" />
           
<telerik:TreeListBoundColumn DataField="ID" UniqueName="ID" HeaderText="Grup ID"
               
ReadOnly="true" />
           
<%-- <telerik:TreeListTemplateColumn DataField="GROUP_NAME" UniqueName="GROUP_NAME" HeaderText="Grup Adı">
               
<EditItemTemplate>
                   
<asp:TextBox ID="txtGroupName" runat="server"></asp:TextBox>
               
</EditItemTemplate>
            </
telerik:TreeListTemplateColumn>--%>
           
<telerik:TreeListBoundColumn DataField="GROUP_NAME" UniqueName="GROUP_NAME" HeaderText="Grup Adı" />
           
<telerik:TreeListBoundColumn DataField="PARENT_ID" UniqueName="PARENT_ID" HeaderText="Ana Grup ID"
               
ReadOnly="true" />
       
</Columns>
   
</telerik:RadTreeList>


And here is the NeedDataSource Code:

 protected void trlProductGroups_NeedDataSource(object sender, TreeListNeedDataSourceEventArgs e)
       
{

           
WebAppTest.Objects.ProductGroups pGroups = new WebAppTest.Objects.ProductGroups();
           
DataTable dt = pGroups.SelectData(null, string.Empty);
            trlProductGroups
.DataSource = dt;
       
}

I can see the data in DataTable, but treelist wont load data. Is there any mistake i make?

Thanks

Kendo UI user
Top achievements
Rank 1
 answered on 31 Dec 2016
2 answers
211 views

 Hello everyone,

Can anybody tell mi how to bind selected rows from temporary datatable to rad grid.

Thank You

Priyanka
Top achievements
Rank 1
 answered on 31 Dec 2016
3 answers
181 views

I believe I found a limitation in the batch editing feature which doesn't appear to be documented anywhere. I have been able to replicate this using your online batch editing demo at http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

The limitation has to do with making changes to text fields that include html markup. For example, in your demo, if I click to batch edit the ProductName column and enter something like '<b>My Product Name</b>', the text is saved properly upon saving the batch edit, and the product name is displayed in bold in the grid. However, if I then go to edit this field again, the full html text is not shown in the editor... only 'My Product Name'. Saving this obviously strips the <b> tags.

It seems the editor is not able to render these tags. I wouldn't expect a simple text field editor to display rich text, but I would expect it to display the actual text as saved in the datasource (in this case '<b>My Product Name</b>'). I'm not sure why the editor strips the '<b>' and '</b>' tags. I tried using the encoded values for these tags (like &lt; and &gt;) and the same thing happens. This basically means that one cannot use batch editing when storing html values.

You may want to emphasize this limitation somewhere so people don't waste there time trying to implement batch-editing solutions for html content. Also, is there a particular reason for this limitation? I can see how stripping script tags would make sense from a security standpoint, but I'm not really sure about other valid html. Is this something that won't be a limitation in the future?

 

Viktor Tachev
Telerik team
 answered on 30 Dec 2016
1 answer
139 views
can i create a new appointment inside radScheduler based on a single date(select only one day without the need of selecting start date and end date) for example if we have an occasion like birthday the user should have only one date picker to select the day of the birthday without the need of selecting start day and end day . please review the attached picture to help you understand more what i need.
Veselin Tsvetanov
Telerik team
 answered on 30 Dec 2016
1 answer
97 views

Is there a way to add a description when loading images via a folder?

Thanks

 

Konstantin Dikov
Telerik team
 answered on 30 Dec 2016
2 answers
1.1K+ views
Hello,
I would like to select in a radgrid the row containing for a certain column a certain value. How do I do that having as input the value of one of the columns? I also wish that if the radgrid has multiple pages, that the result view is positioned correctly.

Thank you very much.
Richard
Top achievements
Rank 1
 answered on 29 Dec 2016
7 answers
527 views
I began following the instructions found here http://www.telerik.com/help/aspnet-ajax/introduction-controlling-appearance-overview.html for changing the skin of a telerik menu.

However, when I got to step 4 the word "Default" was there but no drop down list.  

I then added a RadSkinManager to my page to troubleshoot the issue i.e. <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="true" />. The drop down list appeared with all of the skin names.  This was great, but when I click on any skin name other than "Default" all of the style is lost and no skin is applied.

Please help me get the telerik skins back.
Bozhidar
Telerik team
 answered on 29 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?