Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
214 views
I want to remove the default classes RadTreeView RadTreeView_Default. so that the containing div of the treeview does not have class="RadTreeView RadTreeView_Default". I have created a custom control that inherits from RadTreeView and in there I am overriding the CssClassFormatString property and returning an empty string.

When I use this custom class is my control the 'class="RadTreeView RadTreeView_Default"' is removed, but treeview no longer shows the boxes to expand the tree after the first level which I am expanding in code.  The html source shows all of the additional levels are still being generated.

Is there something that I need to set to maintain the expanding nodes, or is there an easier way to remove the default classes without creating a custom control that inherits the RadTreeView?

Thanks
Peter
Plamen
Telerik team
 answered on 21 Feb 2012
2 answers
647 views
Hi,
 is there a easy way to change the font-family style and eventually size to all controls  ?

regards
Alessandro
Eim
Top achievements
Rank 1
 answered on 21 Feb 2012
1 answer
124 views

If EnableDragAndDrop="true" the Textbox in ItemTemplate is not editable. Interestingly, I can right-click in the TextBox and it becomes editable but normal left-click does nothing. Setting EnableDragAndDrop="false" makes everything work normally.

Seems like a bug to me, but is there some type of work-around or additional property that needs to be set? Thanks!

The following code works fine, but setting EnableDragAndDrop="true" stops the TextBox from being edited (unless you right-click it as mentioned prior).

<telerik:RadListBox ID="RadListBox2" runat="server"
    AllowReorder="true"
    Width="300px"
    Height="400px"
    EnableDragAndDrop="false"
    AutoPostBackOnReorder="true"
    AutoPostBackOnTransfer="true"
    >
    <Items>
        <telerik:RadListBoxItem runat="server" Text="RadListBoxItem1" />
        <telerik:RadListBoxItem runat="server" Text="RadListBoxItem2" />
    </Items>
    <ItemTemplate>
        <div >
            <div>
                <%# DataBinder.Eval(Container, "Text")%>
            </div>
            <div>
                <div style="float:left;">
                    <asp:CheckBox ID="chkShowTitle" runat="server" Text="Checkbox" />
                </div>
                <div style="float:right;">
                    Title <asp:TextBox ID="txtTitle" runat="server" />
                </div>
            </div>
        </div>
    </ItemTemplate>
</telerik:RadListBox>

Bozhidar
Telerik team
 answered on 21 Feb 2012
2 answers
67 views
In case anybody hasn't mentioned it thus far...

I prefer the previous toolbox arrangement where all the components were in one toolbox. Now I have to hunt through all the toolboxes trying to find the component that I'm looking for. Please change it back to the way it was.

No real gripes about the release other than that.

Thanks,
Joe
Joe
Top achievements
Rank 2
 answered on 21 Feb 2012
6 answers
515 views
During an attempt to delete individual items from the RadFileExplorer, the below Message from webpage results:

The selected file could not be deleted because the application did not have enough permissions. Please, contact the administrator.

However, I am able to delete a folder from the RadFileExplorer. 

Below is the code - .aspx and C# ; The RadFileExplorer is populated in the C#, after a read to an SQL Server table; 

Any insight is appreciated;

<telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server" Width="100%" Height="600px" ExplorerMode="FileTree" onclientitemselected="OnClientItemSelected" 
                    OnClientLoad="OnFileExplorerLoad" VisibleControls="TreeView, Grid, Toolbar, ContextMenus" TreePaneWidth="100%" BorderColor="Transparent" BorderStyle="None" 
                    EnableCopy="True" EnableOpenFile="False" MaxUploadFileSize="2147483647" ViewStateMode="Enabled">
             </telerik:RadFileExplorer>
using (SqlConnection connection = new SqlConnection(newConnect))
                       {
                           // Create the Command and Parameter objects;
                           SqlCommand command = new SqlCommand(queryString, connection);
                           // Open the connection in a try/catch block; 
                           // Create and execute the DataReader; 
                           try
                           {
                               connection.Open();
                               SqlDataReader reader = command.ExecuteReader();
                                 
                               while (reader.Read())
                               {                                   
                                   UsernameDB = (reader[1]).ToString();
                                   listViewPaths.Add(reader.GetString(3));
                                   listUploadDeletePaths.Add(reader.GetString(4));
                                   WebPageTitle = (reader[5]).ToString();
                               }
                               reader.Close();
                           }
                           catch (Exception ex)
                           {
                           }
                       }
                   }
               }
               Page.Title = WebPageTitle;
               RadFileExplorer1.Configuration.ViewPaths = listViewPaths.ToArray();
               RadFileExplorer1.Configuration.UploadPaths = listUploadDeletePaths.ToArray();
               RadFileExplorer1.Configuration.DeletePaths = listUploadDeletePaths.ToArray();
Dobromir
Telerik team
 answered on 21 Feb 2012
4 answers
101 views
Hello Everyone,

In my grid I have a a career row that I would like to either insert into the footer, or dynamically move to the bottom of the grid after a sort. The career totals that I have to calculate are complex in nature and I am not sure I can do the calculations in the footer. Any advice would be much appreciated.

Thanks in Advance,
Brad
Brad
Top achievements
Rank 2
 answered on 21 Feb 2012
1 answer
129 views
I am using radgrid with client side binding and virtual scrolling enabled. I am facing an issue when user scrolls and he is in the middle of the page, the grid displays empty elements. I would like to render next page records when user scrolls and display it instead of displaying empty rows. The behavior is same in the demo "http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpagingclientbinding/defaultcs.aspx". Please find attach image for more information.
Maria Ilieva
Telerik team
 answered on 21 Feb 2012
1 answer
96 views
I am trying to use the following code from your demo to try and use the windows control:

function openRadWin() {
        radopen("http://www.telerik.com", "RadWindow1");
    }

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server" ShowContentDuringLoad="false" Width="400px"
            Height="400px" Title="Telerik RadWindow" Behaviors="Default">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>

<button style="width: 150px; margin-bottom: 3px;" onclick="openRadWin(); return false;">open RadWindow</button>

I get an error, screen capture attached. 

Marin Bratanov
Telerik team
 answered on 21 Feb 2012
1 answer
81 views

Team

 

I am using radalert in my application.

I have a requirement to close radalert box on ESC key press.

I have done some search & found the following link

http://www.telerik.com/community/forums/aspnet-ajax/window/using-radalert-as-server-side-quot-messagebox-quot.aspx

Is it available in DLL V2011.3.1115.40?

Can you please let me know whether it is possible or not & if yes then please let me know How I can implement this?

Marin Bratanov
Telerik team
 answered on 21 Feb 2012
6 answers
136 views
Hi Team,

          May i know can we install different version in same PC. Currently i'm installed Ver. 2010.3 1317 Jan 17, 2011  on my developing pc. It's not integrate  project template in VS2010 professional (not sure express). Ver 2011.3 1115 Nov 16, 2011 is support for that (not sure express). Now i need to develope new project with VS2010. All of my projects are used Ver. 2010.3 1317 Jan 17, 2011 and VS2005. So my question are

1. Can i install new version 2011.3 1115 Nov 16, 2011 on my developing pc?
2. If i can install, what is my old project control it will be change to new version (i don't want to upgrade).
3. Any documentation for that?

Noted: Question for RadControls for ASP.NET AJAX

Regards,
Alex
ALEX
Top achievements
Rank 1
 answered on 21 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?