Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
81 views
I'm attempting to use the radfileexplorer to browse a folder on the root of my web application.  The application is in source control, although I do have the directory I'm wishing to use checked out.

I cannot get it to display any of the files contained in this directory (although it will show child directories).  All of the buttons in the toolbar are disabled.

<telerik:RadFileExplorer runat="server" ID="FileExplorer1" EnableOpenFile="true" DisplayUpFolderItem="true" EnableCreateNewFolder="true" Enabled="true">                   
<Configuration ViewPaths="~/test" UploadPaths="~/test" DeletePaths="~/test" />
</telerik:RadFileExplorer>

I've also attempted setting the paths in the codebehind also to no effect.

protected void Page_Load(object sender, EventArgs e)
    {
        string[] applicationName = new string[] { this.ResolveUrl("~/test") };
        string[] allowedUploadPaths = new string[] { this.ResolveUrl("~/test") };
        string[] allowedDeletePaths = new string[] { this.ResolveUrl("~/test") };
 
        FileExplorer1.Configuration.ViewPaths = applicationName;
        FileExplorer1.Configuration.DeletePaths = allowedDeletePaths;
        FileExplorer1.Configuration.UploadPaths = allowedUploadPaths;
    }


thanks
~Dave
Fiko
Telerik team
 answered on 17 Aug 2010
1 answer
227 views
how can i set the text property of the RadPanelItem using the inline c# code block? my code line is below. the variables are declared as global "protected string" in the c# code.

 

<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Skin="Web20">
    <Items>
        <telerik:RadPanelItem Text="Quick Links" Expanded="true" PreventCollapse="true">
            <Items>
                <telerik:RadPanelItem Text="<%= textProperty %>" NavigateUrl="<%= urlProperty %>" />
            </Items>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

 

 

Nikolay Tsenkov
Telerik team
 answered on 17 Aug 2010
1 answer
67 views
Hi,

I am quite new to the telerik controls, so I apologize in advance if the question is newby :)

Sometimes when I refresh the page, (It's RadWindow with UserControl dinamicly added to it on the codebehind and the updatepanel is on the masterpage)

This isn't happening on every refresh and I can't find the exact logic regarding when it happens.
Rosen
Telerik team
 answered on 17 Aug 2010
4 answers
152 views
Hi

We are trying to copy and paste 20-30 pages of a word document containing tables into the telerik rad editor and it is hung and
unresponsiveness any further editing/deleting that we are trying to do is taking a lot of time. 


What is the maximum amount of data a telerik rad editor can support with out any performance issues?


Regards,
Kishore


Rumen
Telerik team
 answered on 17 Aug 2010
1 answer
106 views
I'm finding a huge difference in speed between clicking on a tab or selecting the tab in code behind using:
RadTabStrip1.Tabs(1).Enabled = True
RadTabStrip1.Tabs(1).Selected = True
mvPost.SelectedIndex = 1

Is there a reason for this? 

If I click on the tab directly it is pretty much instant to select the tab and view the pageview but if I use a next button with the above code it takes about 10-15 seconds to load, what is the difference?

Thanks,
Paula
Yana
Telerik team
 answered on 17 Aug 2010
1 answer
127 views
Hi Telerik Team,

I have 2 problems in the radtabstrip.
i am building "div" control if its a editor content or "iframe" if its a internal or external link.
and finally adding any one of these controls to "RadPageView".

Problem 1: (only with IE)
     If i add the internal link to tab refering to same page, then this tab is not loaded.

Problem 2
: (only with Safari)
     If i add the any internal link to tab, then this tab is not loaded.
     this problem is due to AJAX enabled.(contents inside RADAJAXPANEL).
     if i disable ajax then everything works fine in safari.

Plzz help me aspd....

Thanks
K²
Yana
Telerik team
 answered on 17 Aug 2010
3 answers
154 views
Hello, Exist an event in the Refresh button of the RadGrid?

I need execute transactions when the user click on the Refresh button.

Can you help me?

Thanks.
Nikolay Rusev
Telerik team
 answered on 17 Aug 2010
6 answers
296 views
hi. Using the drag and drop method... which is awesome. i can't get the detail table where i dropped my rows onto to rebind though.
scenario: two grids, Radgrid2 drops onto Radgrid1 which has a detailTables hierarchy. I am using the method to only allow for one detail table to be open at a time. user can drop either into the detail or straight onto the master.
I am calling detailTables(0).rebind()  at the end of my insert, but that isn't firing. however if I rebind the whole grid it works?
mac




Protected Sub RadGrid1_ItemCommand(ByVal source As ObjectByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand  
        If e.CommandName = RadGrid.ExpandCollapseCommandName Then 
            Dim item As GridItem  
            For Each item In e.Item.OwnerTableView.Items  
                If item.Expanded AndAlso Not item Is e.Item Then 
                    item.Expanded = False 
                End If 
            Next item  
        End If 
    End Sub 
 
    Protected Sub RadGrid1_DetailTableDataBind(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles RadGrid1.DetailTableDataBind  
        msg.Text = e.DetailTableView.ParentItem.GetDataKeyValue("costcentre").ToString  
    End Sub 
 
    Protected Sub RadGrid2_RowDrop(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridDragDropEventArgs) Handles RadGrid2.RowDrop  
        Dim dest As String = "" 
        Dim empid As String = e.DraggedItems.Item(0).GetDataKeyValue("Emp_id")  
        If e.DestDataItem.GetDataKeyValue("costcentre") IsNot Nothing Then 
            dest = e.DestDataItem.GetDataKeyValue("costcentre")  
        Else 
            dest = msg.Text ' in the event that the user has opened the detailtable(0)  
        End If 
        If dest IsNot Nothing Then 
            For i As Integer = 0 To e.DraggedItems.Count - 1  
                'insert the items  
                functions.nonqry(ConnStrings.ConnectionStrings, "insert into account (name,accountno) values ('" & dest & "','" & e.DraggedItems.Item(i).GetDataKeyValue("Emp_id") & "')")  
            Next 
        End If 
        Literal1.Text = "CC = " & dest & " " & Date.Now & empid & "     " & e.DestinationGrid.UniqueID.ToString  
        'update the detail table  
        RadGrid1.MasterTableView.DetailTables(0).Rebind()  
 
    End Sub 
    <div> 
         <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Conn %>" 
             SelectCommand="SELECT distinct  [Cost_centre]+ '-' + [Site] as costcentre,  [ID] FROM [tbl_delegate]">  
         </asp:SqlDataSource> 
         <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Conn %>" 
             SelectCommand="SELECT [name] AS costcentre , accountNo as  Emp_id    
             FROM dbo.account WHERE (name = @CostCentre)"> 
             <SelectParameters> 
                 <asp:ControlParameter ControlID="RadGrid1" Name="CostCentre" PropertyName="SelectedValue" /> 
             </SelectParameters> 
         </asp:SqlDataSource><asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:PHCJobPostsConn %>" 
             SelectCommand="Select top 20 Emp_id, EmpFirstName, EmpLastname from tbl_Current_status">  
         </asp:SqlDataSource> 
         <br /> 
         <telerik:RadGrid ID="RadGrid2" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource3" 
             GridLines="None" AllowPaging="True" AllowMultiRowSelection="True" Width="200px">  
             <MasterTableView DataKeyNames="Emp_id" DataSourceID="SqlDataSource3">  
                 <RowIndicatorColumn> 
                     <HeaderStyle Width="20px" /> 
                 </RowIndicatorColumn> 
                 <ExpandCollapseColumn> 
                     <HeaderStyle Width="20px" /> 
                 </ExpandCollapseColumn> 
                 <Columns> 
                     <telerik:GridBoundColumn DataField="Emp_id" HeaderText="Emp_id" ReadOnly="True" SortExpression="Emp_id" 
                         UniqueName="Emp_id">  
                     </telerik:GridBoundColumn> 
                     <telerik:GridBoundColumn DataField="EmpFirstName" HeaderText="EmpFirstName" SortExpression="EmpFirstName" 
                         UniqueName="EmpFirstName">  
                     </telerik:GridBoundColumn> 
                     <telerik:GridBoundColumn DataField="EmpLastname" HeaderText="EmpLastname" SortExpression="EmpLastname" 
                         UniqueName="EmpLastname">  
                     </telerik:GridBoundColumn> 
                 </Columns> 
             </MasterTableView> 
             <ClientSettings AllowRowsDragDrop="True">  
                 <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" /> 
             </ClientSettings> 
             <FilterMenu EnableTheming="True">  
                 <CollapseAnimation Duration="200" Type="OutQuint" /> 
             </FilterMenu> 
         </telerik:RadGrid><br /> 
         <br /> 
         <br /> 
         <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" 
             GridLines="None" AllowPaging="True" Width="500px">  
             <MasterTableView DataKeyNames="costcentre" DataSourceID="SqlDataSource1">  
                 <DetailTables> 
                     <telerik:GridTableView runat="server"  AutoGenerateColumns="True" DataKeyNames="emp_id" 
                         DataSourceID="SQLDataSource2">  
                         <ParentTableRelation> 
                         <telerik:GridRelationFields DetailKeyField="costcentre" MasterKeyField="costcentre" /> 
                         </ParentTableRelation> 
                         <RowIndicatorColumn> 
                             <HeaderStyle Width="20px" /> 
                         </RowIndicatorColumn> 
                         <ExpandCollapseColumn> 
                                                 <HeaderStyle Width="20px"  /> 
                                              
                         </ExpandCollapseColumn> 
                         <PagerStyle Mode="Slider" /> 
                     </telerik:GridTableView> 
                 </DetailTables> 
                     <Columns> 
                     <telerik:GridBoundColumn DataField="Costcentre" HeaderText="Cost_centre" SortExpression="Cost_centre" 
                         UniqueName="Cost_centre">  
                     </telerik:GridBoundColumn> 
                                         <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" HeaderText="ID" ReadOnly="True" 
                         SortExpression="ID" UniqueName="ID">  
                     </telerik:GridBoundColumn> 
                 </Columns> 
                   
             </MasterTableView> 
               
             <FilterMenu EnableTheming="True">  
                 <CollapseAnimation Duration="200" Type="OutQuint" /> 
             </FilterMenu> 
          
               
         </telerik:RadGrid> 
         <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
             <AjaxSettings> 
                 <telerik:AjaxSetting AjaxControlID="RadGrid2">  
                     <UpdatedControls> 
                         <telerik:AjaxUpdatedControl ControlID="RadGrid2" /> 
                         <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                         <telerik:AjaxUpdatedControl ControlID="msg" /> 
                         <telerik:AjaxUpdatedControl ControlID="Literal1" /> 
                     </UpdatedControls> 
                 </telerik:AjaxSetting> 
                 <telerik:AjaxSetting AjaxControlID="RadGrid1">  
                     <UpdatedControls> 
                         <telerik:AjaxUpdatedControl ControlID="msg" /> 
                         <telerik:AjaxUpdatedControl ControlID="Literal1" /> 
                     </UpdatedControls> 
                 </telerik:AjaxSetting> 
             </AjaxSettings> 
         </telerik:RadAjaxManager> 
         <br /> 
         <br /> 
         <asp:Literal ID="msg" runat="server"></asp:Literal> 
         <asp:Literal ID="Literal1" runat="server"></asp:Literal></div>  
 

Dan
Top achievements
Rank 1
 answered on 17 Aug 2010
3 answers
114 views
hello, 

Is is possible to have just 1 pane inside of the splitter and have that resize? pretty much just a box that has the ability to resize the height.

<telerik:RadSplitter Orientation="Horizontal" ResizeMode="AdjacentPane" Width="100%" ID="rsSplitter" runat="server">
    <telerik:RadPane ID="spltPane" Scrolling="Y" runat="server">
        <div>sdasdsadasd</div>
    </telerik:RadPane>
    <telerik:RadSplitBar AdjacentPanesNames-TopPaneName="spltPane" ID="splitter1"  runat="server" />
   
</telerik:RadSplitter>
 
this shows the content that i want and the resize bar but the bar does not allow you to resize without a second pane. Are there any work arounds for this so that we can use just a single pane?
Svetlina Anati
Telerik team
 answered on 17 Aug 2010
7 answers
192 views
I have a sample rad upload on my website.
It run fine but progress area not show if upload large file (> 30 Mb).
I have configured file web.config : <httpRuntime maxRequestLength="100000" executionTimeout="3600" />
Please help me!
Thanks a lot!
Regards,
Genady Sergeev
Telerik team
 answered on 17 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?