Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
179 views

Hello,

I’m trying to DataBind a RadPanelBar but with no success.

Everything works fine when the RadPanelBar is not bound to data and we get the expected rendering. The moment the RadPanel gets bound to data only the parent RadPanelItem is displayed and the HTML in the Child RadPanelItem are not displayed. The RadPanelBar is bound to a Generic List. And I have also verified the exactitude of the dynamic data coming fetched from the DataBase.

Can find the code behind & ASPX attached.

<P><%@ Page Title="" Language="C#" MasterPageFile="~/boris.Master" 
AutoEventWireup="true"<BR>    
CodeBehind="rejsekort_GUI_underside.aspx.cs" 
Inherits="Boris.rejsekort_GUI_underside" %></P>
<P><asp:Content ID="Content1" ContentPlaceHolderID="bottom" 
runat="server"><BR>    <div 
class="dashboardPanelbar"><BR>        
<telerik:RadPanelBar ID="panelBarDashboard" runat="server" Width="100%" 
EnableEmbeddedSkins="false"<BR>            
OnItemDataBound="panelBarDashboard_ItemDataBound" Skin="None" 
OnPreRender="panelBarDashboard_PreRender"<BR>            
CollapseDelay="100" ExpandDelay="100" BorderStyle="None" 
ExpandMode="SingleExpandedItem" 
AllowCollapseAllItems="true"><BR>            
<Items><BR>                
<telerik:RadPanelItem ImageUrl="Styles/Images/1318514913_clean.png" 
Text="Henrik Hansen - 
Person"<BR>                    
Expanded="true" CssClass="roundedRadPanelItemFirst" 
AccessKey="1"><BR>                    
<Items><BR>                        
<telerik:RadPanelItem><BR>                            
<ItemTemplate><BR>                                
<div 
class="dashboardPanelbarItems"><BR>                                    
<table 
class="mainTable"><BR>                                        
<tr><BR>                                            
<td style="width: 
50%"><BR>                                                
<div 
class="divRadPanelItemLeft"><BR>                                                    
<span 
class="spanRadPanelItemLegend">CARD</span><BR>                                                        
<table cellspacing="0" width="90%" 
class="leftTable"><BR>                                                        
<tr 
class="leftTableItemColor"><BR>                                                            
<td><BR>                                                                
Balance<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
300 
kr.<BR>                                                                
<%# 
Eval("CardBalance")%><BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
<a href="#">Reload 
Saldo</a><BR>                                                                
<br 
/><BR>                                                                
<a href="#">Saldo 
modification</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="leftTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Expiry 
date<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
14-06-2012<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="leftTableItemColor"><BR>                                                            
<td><BR>                                                                
Reload 
contract<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
300 kr.<br 
/><BR>                                                                
Min. 50 kr.<br 
/><BR>                                                                
2 
daglige<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td colspan="3" 
align="right"><BR>                                                                
<telerik:RadButton ID="btnViewEditCard" runat="server" Text="View / Edit 
card" 
EnableEmbeddedSkins="false"<BR>                                                                    
Skin="ThalesSkin" OnClick="btnViewEditCard_Click" CommandArgument="1" 
AccessKey="n"<BR>                                                                    
OnPreRender="btnViewEditCard_PreRender"><BR>                                                                
</telerik:RadButton><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                    
</table><BR>                                                
</div><BR>                                            
</td><BR>                                            
<td style="width: 
50%"><BR>                                                
<div 
class="divRadPanelItemRight"><BR>                                                    
<span 
class="spanRadPanelItemLegend">SETTINGS</span><BR>                                                    
<table cellspacing="0" width="90%" 
class="rightTable"><BR>                                                        
<tr 
class="rightTableItemColor"><BR>                                                            
<td><BR>                                                                
Passsengers<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
Adult: 2<br 
/><BR>                                                                
Children 13-17 : 2<br 
/><BR>                                                                
Dog : 
1<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Products on 
card<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
Season 
pass<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
<a href="#">View 
details</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableItemColor"><BR>                                                            
<td><BR>                                                                
Current<BR>                                                                
<br 
/><BR>                                                                
discount 
level<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
East: 
4<BR>                                                                
<br 
/><BR>                                                                
West: 2<br 
/><BR>                                                                
Across : 
0<BR>                                                            
</td><BR>                                                            
<td 
valign="top"><BR>                                                                
<a href="#">View discount 
details</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Until 
:<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
30-09-2011<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                    
</table><BR>                                                
</div><BR>                                            
</td><BR>                                        
</tr><BR>                                    
</table><BR>                                
</div><BR>                            
</ItemTemplate><BR>                        
</telerik:RadPanelItem><BR>                    
</Items><BR>                
</telerik:RadPanelItem><BR>                
<telerik:RadPanelItem ImageUrl="Styles/Images/1318514913_clean.png" 
Text="Henrik Hansen - 
Person"<BR>                    
Expanded="false" CssClass="roundedRadPanelItem" 
AccessKey="2"><BR>                    
<Items><BR>                        
<telerik:RadPanelItem><BR>                            
<ItemTemplate><BR>                                
<div 
class="dashboardPanelbarItems"><BR>                                    
<table 
class="mainTable"><BR>                                        
<tr><BR>                                            
<td style="width: 
50%"><BR>                                                
<div 
class="divRadPanelItemLeft"><BR>                                                    
<span 
class="spanRadPanelItemLegend">CARD</span><BR>                                                    
<table cellspacing="0" width="90%" 
class="leftTable"><BR>                                                        
<tr 
class="leftTableItemColor"><BR>                                                            
<td><BR>                                                                
Balance<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
300 
kr.<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
<a href="#">Reload 
Saldo</a><BR>                                                                
<br 
/><BR>                                                                
<a href="#">Saldo 
modification</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="leftTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Expiry 
date<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
14-06-2012<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="leftTableItemColor"><BR>                                                            
<td><BR>                                                                
Reload 
contract<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
300 kr.<br 
/><BR>                                                                
Min. 50 kr.<br 
/><BR>                                                                
2 
daglige<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td colspan="3" 
align="right"><BR>                                                                
<telerik:RadButton ID="btnViewEditCard" runat="server" Text="View / Edit 
card" 
EnableEmbeddedSkins="false"<BR>                                                                    
Skin="ThalesSkin" OnClick="btnViewEditCard_Click" CommandArgument="2" 
AccessKey="n" 
/><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                    
</table><BR>                                                
</div><BR>                                            
</td><BR>                                            
<td style="width: 
50%"><BR>                                                
<div 
class="divRadPanelItemRight"><BR>                                                    
<span 
class="spanRadPanelItemLegend">SETTINGS</span><BR>                                                    
<table cellspacing="0" width="90%" 
class="rightTable"><BR>                                                        
<tr 
class="rightTableItemColor"><BR>                                                            
<td><BR>                                                                
Passsengers<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
Adult: 2<br 
/><BR>                                                                
Children 13-17 : 2<br 
/><BR>                                                                
Dog : 
1<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Products on 
card<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
Season 
pass<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
<a href="#">View 
details</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableItemColor"><BR>                                                            
<td><BR>                                                                
Current<BR>                                                                
<br 
/><BR>                                                                
discount 
level<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
East: 
4<BR>                                                                
<br 
/><BR>                                                                
West: 2<br 
/><BR>                                                                
Across : 
0<BR>                                                            
</td><BR>                                                            
<td 
valign="top"><BR>                                                                
<a href="#">View discount 
details</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Until 
:<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
30-09-2011<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                    
</table><BR>                                                
</div><BR>                                            
</td><BR>                                        
</tr><BR>                                    
</table><BR>                                
</div><BR>                            
</ItemTemplate><BR>                        
</telerik:RadPanelItem><BR>                    
</Items><BR>                
</telerik:RadPanelItem><BR>                
<telerik:RadPanelItem ImageUrl="Styles/Images/1318514913_clean.png" 
Text="Henrik Hansen - 
Person"<BR>                    
Expanded="false" CssClass="roundedRadPanelItem" 
AccessKey="3"><BR>                    
<Items><BR>                        
<telerik:RadPanelItem><BR>                            
<ItemTemplate><BR>                                
<div 
class="dashboardPanelbarItems"><BR>                                    
<table 
class="mainTable"><BR>                                        
<tr><BR>                                            
<td style="width: 
50%"><BR>                                                
<div 
class="divRadPanelItemLeft"><BR>                                                    
<span 
class="spanRadPanelItemLegend">CARD</span><BR>                                                    
<table cellspacing="0" width="90%" 
class="leftTable"><BR>                                                        
<tr 
class="leftTableItemColor"><BR>                                                            
<td><BR>                                                                
Balance<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
300 
kr.<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
<a href="#">Reload 
Saldo</a><BR>                                                                
<br 
/><BR>                                                                
<a href="#">Saldo 
modification</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="leftTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Expiry 
date<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
14-06-2012<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="leftTableItemColor"><BR>                                                            
<td><BR>                                                                
Reload 
contract<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
300 kr.<br 
/><BR>                                                                
Min. 50 kr.<br 
/><BR>                                                                
2 
daglige<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td colspan="3" 
align="right"><BR>                                                                
<telerik:RadButton ID="btnViewEditCard" runat="server" Text="View / Edit 
card" 
EnableEmbeddedSkins="false"<BR>                                                                    
Skin="ThalesSkin" OnClick="btnViewEditCard_Click" CommandArgument="3" 
AccessKey="n" 
/><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                    
</table><BR>                                                
</div><BR>                                            
</td><BR>                                            
<td style="width: 
50%"><BR>                                                
<div 
class="divRadPanelItemRight"><BR>                                                    
<span 
class="spanRadPanelItemLegend">SETTINGS</span><BR>                                                    
<table cellspacing="0" width="90%" 
class="rightTable"><BR>                                                        
<tr 
class="rightTableItemColor"><BR>                                                            
<td><BR>                                                                
Passsengers<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
Adult: 2<br 
/><BR>                                                                
Children 13-17 : 2<br 
/><BR>                                                                
Dog : 
1<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Products on 
card<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
Season 
pass<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
<a href="#">View 
details</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableItemColor"><BR>                                                            
<td><BR>                                                                
Current<BR>                                                                
<br 
/><BR>                                                                
discount 
level<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
East: 
4<BR>                                                                
<br 
/><BR>                                                                
West: 2<br 
/><BR>                                                                
Across : 
0<BR>                                                            
</td><BR>                                                            
<td 
valign="top"><BR>                                                                
<a href="#">View discount 
details</a><BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr 
class="rightTableAlternateColor"><BR>                                                            
<td><BR>                                                                
Until 
:<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
30-09-2011<BR>                                                            
</td><BR>                                                            
<td><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                        
<tr><BR>                                                            
<td 
colspan="3"><BR>                                                                
&nbsp;<BR>                                                            
</td><BR>                                                        
</tr><BR>                                                    
</table><BR>                                                
</div><BR>                                            
</td><BR>                                        
</tr><BR>                                    
</table><BR>                                
</div><BR>                            
</ItemTemplate><BR>                        
</telerik:RadPanelItem><BR>                    
</Items><BR>                
</telerik:RadPanelItem>            
<BR>            
</Items><BR>        
</telerik:RadPanelBar>      
<BR>        
<div><BR>            
<asp:Panel runat="server" 
ID="pnlPager"><BR>                
<asp:HyperLink ID="hlPrevious" Text="Previous" runat="server" NavigateUrl="#" 
Visible="false"></asp:HyperLink><BR>                
<asp:HyperLink ID="hlNext" Text="Next" runat="server" NavigateUrl="#" 
Visible="false"></asp:HyperLink><BR>            
</asp:Panel><BR>        
</div><BR>    </div></P>
<P>    <script language="javascript" 
type="text/javascript"></P>
<P>        function telerikModifications() 
{<BR>            /* Add 
images */<BR>            
var panelbar = document.getElementById("<%= panelBarDashboard.ClientID 
%>");<BR>            
var spanItems = 
panelbar.getElementsByTagName("span");<BR>            
var Images = 
"<%=Images%>"<BR>            
var ImagesCount = 
-1;<BR>            var 
arrImages = 
Images.split(",")<BR>            
var i = 0;<BR>            
for (i = 0; i < spanItems.length; i++) 
{<BR>                
if (spanItems[i].className == "<%=rpOut %>") 
{<BR>                    
ImagesCount++;<BR>                    
spanItems[i].innerHTML = spanItems[i].innerHTML + 
arrImages[ImagesCount];<BR>                
}</P>
<P>                
if (spanItems[i].className == "<%=rpText%>") 
{<BR>                    
spanItems[i].className = 
"";<BR>                
}<BR>            }</P>
<P>            /* Add 
Legends */<BR>            
/* <div class='roundedPanelItemLegend'>TEST TEST</div>,<div 
class='roundedPanelItemLegend'>TEST Test Test</div>,<div 
class='roundedPanelItemLegend'>TEST Test</div> should be 
dynamically<BR>            
created as shown above for the "Images" 
variable*/<BR>            
var ulItems = 
panelbar.getElementsByTagName("ul");<BR>            
i = 0;<BR>            for 
(i = 0; i < ulItems.length; i++) 
{<BR>                
if (ulItems[i].className.indexOf("rpRootGroup") != -1) 
{<BR>                    
var liItems = 
ulItems[i].getElementsByTagName("li");<BR>                    
var lis = 
"<%=Legends%>"<BR>                    
var lisCount = 
-1;<BR>                    
var arrlis = 
lis.split(",")<BR>                    
var x = 
0;<BR>                    
for (x = 0; x < liItems.length; x++) 
{<BR>                        
if (liItems[x].className == "rpItem rpFirst" || liItems[x].className == "rpItem" 
|| liItems[x].className == "rpItem rpLast") 
{<BR>                            
lisCount++;<BR>                            
liItems[x].innerHTML = arrlis[lisCount] + 
liItems[x].innerHTML;<BR>                        
}<BR>                    
}</P>
<P>                
}<BR>            
}<BR>        }</P>
<P><BR>        function 
telerikRadButtonModifications() 
{<BR>            var 
radPanel = document.getElementById("<%= panelBarDashboard.ClientID 
%>");<BR>            
var atags = 
radPanel.getElementsByTagName("a");<BR>            
i = 0;<BR>            for 
(i = 0; i < atags.length; i++) 
{<BR>                
if (atags[i].className.indexOf("RadButton") != -1) 
{<BR>                    
atags[i].removeAttribute("href");<BR>                    
var 
tindex;<BR>                    
tindex = 
atags[i].tabIndex;<BR>                    
var 
button;<BR>                    
button = 
atags[i].getElementsByTagName("input")[0];<BR>                    
button.setAttribute("tabIndex", 
tindex);<BR>                
}<BR>            
}<BR>        }</P>
<P>     </P>
<P>    </script><BR>    <script 
type="text/javascript" 
src="Scripts/Telerik.js?<%=Guid%>"></script><BR></asp:Content><BR></P><BR><BR>

Here is the code-behind used...

panelBarDashboard.DataTextField = 
"CardDisplayId";<BR>panelBarDashboard.DataFieldID = 
"CardInternalId";<BR>panelBarDashboard.DataFieldParentID = 
"ParentID";            
<BR>panelBarDashboard.DataSource = 
cardsDisplayed;<BR>panelBarDashboard.DataBind();<BR><BR>
Awaiting your valudable inputs.

Thanks & regards
Clement

Nagendra
Top achievements
Rank 1
 answered on 08 Dec 2017
2 answers
102 views
Hi,
How can the default tooltip in the radslidingpane be disabled.
thanks

Savyo
Petr
Top achievements
Rank 1
Iron
Iron
 answered on 08 Dec 2017
3 answers
640 views

I am new to the Telerik controls, and I am having a difficult time achieving what I would think would be a fairly simple task.

I have a radgrid with it's edit form type set to "template".  I would like to add a simple "file attachment" feature to the form, so that someone can attach a file when editing the record, and be able so see/open the attachments when viewing the record.  Nothing fancy, just basic file attachment functionality. I was hoping there would be a basic "file attachment" type of control where I can just drop it on the form and tell it "here is my field to store the file, and here is the ID field (or some field) from the RadGrid datasource to use as a key" and it just works, but unless I am overlooking something I don't see it.  Even as I am writing this post I notice this message board has a simple "Attach files" option at the bottom that I assume works like I what I want.

I have tried in vain to search through the forums and look at all the demo's, but I think I am only confusing myself. I have looked at the demos for the RadAsynchUpload control which seems close to what I need, but the demos don't seem to be set up with a radgrid edit template in use. They also seem to involve a fair amount of customised coding, which I was hoping to avoid.  I also looked into the attachment grid column type, but I couldn;t get that to work either. 

Can anyone provide me a clear/simple demo (VB.net) that shows how to achieve what I need?  I would prefer to store the files (they will be small files, and only one file per record) in the SQL database, but could store them in a folder if that makes it easier.

Thanks.

Rumen
Telerik team
 answered on 08 Dec 2017
11 answers
573 views
I want to reorder the grid rows  in client side only , Without server side scripting can i do that, I sort the rows based on GridTemplateColumn (Label denotes Order of each row)
given below
<telerik:GridTemplateColumn  HeaderText ="Description"  Visible="false" Display="false">
<ItemTemplate>
<asp:Label ID="lblDisplayOrder" runat="server"></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>

akhil
Top achievements
Rank 1
 answered on 08 Dec 2017
5 answers
415 views

Hello,

I am trying to implement the following solution to enable the double-click to edit feature on a TreeList: https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/ajaxified-radgrid/how-to/go-into-edit-mode-with-ajax-double-click

However, as I am trying to convert the RadGrid-based example above to the TreeList I am unable to find an equivalent of RadGrid's editItem method on a TreeList control (https://docs.telerik.com/devtools/aspnet-ajax/controls/treelist/client-side-programming/overview). The closest I found was to call the fireCommand("Edit", "") method, but it causes the page to postback and as such causes the javascript variables to lose references to the row being edited.

 

Can you think of a way to correctly implement the double-click to edit feature on the TreeList?

 

Thanks!

Eyup
Telerik team
 answered on 07 Dec 2017
3 answers
1.4K+ views
I've created a datatable using the following query:
select str(-abs(100),10,2) as crash
(a negative number cast to string)

When I use this datatable in a grid and export it to excel, I'll get the folowwing error:
We found a problem with this formula. Try clicking Insert Function on the Formulas tab to fix it.\n\nNot trying to type a formula? When the first character is an equal (=) or minus (-) sign, RadSpreadsheet thinks it is a formula. For example, when you type =1+1 the cell shows 2.

I've implemented the workarround in https://www.telerik.com/forums/output-to-excel-error
(The cell has the Format attribute set to "@")
This works for regular strings starting with a dash, but not working for the specific situation described before.
Attila Antal
Telerik team
 answered on 07 Dec 2017
5 answers
342 views

Can I have 3D view for RadHtml column chart. I am using telerik version 2014.1.225.40. Please help.

 

Thanks,

Rosalini

Rumen
Telerik team
 answered on 07 Dec 2017
8 answers
267 views

Hello, I am using 2015.3.930.40.

I added two ImageGalleryTemplateItem and now the RadImageGallery posts back on each forward and back. Can I prevent postback? If I do need to postback, how can I keep the animation between items? Thank you.

Marin Bratanov
Telerik team
 answered on 07 Dec 2017
0 answers
126 views
Is there a way to access the filenames in the file list of AsyncUpload from script (jquery/javascript). If so, please provide sample.
Darius
Top achievements
Rank 1
 asked on 06 Dec 2017
1 answer
88 views

Is it possible to discover e.Item depth in itemdatabound?

 

Marc

Peter Milchev
Telerik team
 answered on 06 Dec 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?