Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
84 views
Hello,
I have a RadPanelBar inside a RadPane/Splitter and it expands/collaps very slow and the navigateUrl opens slow. This is only in IE7, other browsers work fast (IE8, FF3.6, Safari, Chrome) When I click the PanelBarItem, the CPU will rice to 100% for a short period, until it finally expands/collaps or opens the navigateUrl.

If the RadPanelBar is outside of the RadPane/Splitter it still expands/collaps slow, but slightly faster than inside the RadPane/Splitter. The demos I see at the Telerik website also run slow on IE7 (tested this on 3 different computers)

The RadPanelBar is initialised like this:

<telerik:RadPanelBar runat="server" ID="LeftMenu" Width="200" ExpandMode="SingleExpandedItem"
    AllowCollapseAllItems="true" CollapseAnimation-Type="None" CollapseAnimation-Duration="0"   
    ExpandAnimation-Duration="0" ExpandAnimation-Type="None" PersistStateInCookie="false"
     EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="false" EnableViewState="true" CollapseDelay="0"
      ExpandDelay="0"
     >
</telerik:RadPanelBar>

The PanelBarItems are added dynamicly, but for some (I use multiple RadPanelBars on a single page) they are in the aspx. There is no difference in behaviour.

Does anyone know this issue?

With kind regards,

Kees de Wit
Chuck
Top achievements
Rank 1
 answered on 11 Jan 2012
4 answers
129 views
Chrome,Mozilla and IE 8 do not
haven't tried IE9 yet
Safari-sometimes it does,sometimes it doesn't
Elliott
Top achievements
Rank 2
 answered on 10 Jan 2012
1 answer
94 views
I have a radgrid and i used AllowFilteringByColumn ="true" to filter the columns. The filtering works perfect. Now, i also have a tree beside this grid. depending on the node clicked i update the grid. The problem occurs when :

1. on an existing grid, i applied a filter. The result is perfect.

2. Now, when i click another node in the tree, a new grid is coming up (but with the same filter as previous). In my ocndition, when i click another node the filter shouldn't be applied. so this is what i did :

Private Sub RadTreeView1_NodeClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles RadTreeView1.NodeClick
        For i As Integer = 0 To RadGrid1.Columns.Count - 1
            RadGrid1.Columns(i).ResetCurrentFilterValue()
        Next
        RadGrid1.DataSource = Nothing
        RadGrid1.Rebind()       
    End Sub

But it is not working. The new grid result has filter on it. Can some one please tell me how to remove the filter in the code behind. Thanks
Sagar
Top achievements
Rank 1
 answered on 10 Jan 2012
0 answers
68 views
Hi
I want to show or hide  group Panel with javascript
please help to me
Salman
Top achievements
Rank 1
 asked on 10 Jan 2012
0 answers
72 views
All good
Kieren
Top achievements
Rank 1
 asked on 10 Jan 2012
9 answers
111 views
Hello everyone.  I have a page with a grid in which the grid and sort works properly when used against the personal webserver that comes with Visual Studio but not when used against the remote server.  When I say remote server I mean from one of the those hosting companies that you pay a small fee per month.  In trying to solve this problem I even allowed reordering but it still didn't solve the problem and even with reordering turned on the project works fine off of the personal web server.  Can someone please give me a hand with this?


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <title></title>
 <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  <Scripts>
   <%--Needed for JavaScript IntelliSense in VS2010--%>
   <%--For VS2008 replace RadScriptManager with ScriptManager--%>
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
  </Scripts>
 </telerik:RadScriptManager>
 <script type="text/javascript">
  //Put your JavaScript code here.
    </script>
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
 </telerik:RadAjaxManager>
 <div>
        <telerik:RadGrid runat="server" AllowFilteringByColumn="True"
            AllowPaging="True" AllowSorting="True" CellSpacing="0"
            DataSourceID="PeopleDBds" GridLines="None">
            <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
<MasterTableView AutoGenerateColumns="False" DataKeyNames="ContactID"
                DataSourceID="PeopleDBds">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

    <Columns>
        <telerik:GridBoundColumn DataField="ContactID" DataType="System.Int32"
            FilterControlAltText="Filter ContactID column" HeaderText="ContactID"
            ReadOnly="True" SortExpression="ContactID" UniqueName="ContactID">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="FirstName"
            FilterControlAltText="Filter FirstName column" HeaderText="FirstName"
            SortExpression="FirstName" UniqueName="FirstName">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="LastName"
            FilterControlAltText="Filter LastName column" HeaderText="LastName"
            SortExpression="LastName" UniqueName="LastName">
        </telerik:GridBoundColumn>
    </Columns>

<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>

<FilterMenu EnableImageSprites="False"></FilterMenu>

<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
        </telerik:RadGrid>
     <asp:SqlDataSource ID="PeopleDBds" runat="server"
            ConnectionString="<%$ ConnectionStrings:DB_2381_testConnectionString %>"
            SelectCommand="SELECT * FROM [vContactTbl]"></asp:SqlDataSource>
 </div>
 </form>
</body>
</html>

Juan
Top achievements
Rank 1
 answered on 10 Jan 2012
1 answer
49 views
hello,
              I have a splitter with: left pane, splitbar and a right pane.

In the left pane i have a radio button list(which causes a postback) 

In the right pane i have a radgrid(using NeedDataSource) and this should be updated depending on the radio button clicked.

And in the SelectedIndexChanged of radio button i have 

RadGrid1.DataSource = Nothing
        RadGrid1.Rebind()

All the sequence of steps are perfect, but the Radgrid is not getting updated. Is it because AJAX only updates the left pane ? Please help. Thanks

PS:When i click on the Page 2 of the old grid, then i can see the new updated grid.
Sagar
Top achievements
Rank 1
 answered on 10 Jan 2012
3 answers
128 views
Hi all,
i have placed rad controls(RadTextBox, RadComboBox, etc) inside the asp panel, i am sending instance of asp panel to an other page and finding controls on that page can any one told me or send me a sample code that how can i find RadContols inside asp panel
Elliott
Top achievements
Rank 2
 answered on 10 Jan 2012
1 answer
205 views
Hi friends,
in our application we are using RadGrid and RadToolBar 
radToolBar having buttons like Create,Edit,Delete,Preview
here preview button is for display the selected record 's details in other page using Window.Open();


when i select a single record in radGrid,we are going to enable Edit,Delete,Preview  buttons in Radtoolbar.Otherwise these buttons will be disable mode.


 i am going to select a record by checking a check box in radGrid and will click on Preview button.Now the data will be displayed in Other widow(here i am using Window.Open() to daisplay record)
when i close the popup window which has displayed using Window.Open(), all the buttons in Radtollbar goes to disable mode...
For enable and disable buttons in Toolbar i am using a javascript function like selectAll().
This function will be exeuted when i select a record in RadGrid.

Now how can i call this function on closing popup window

observe the attachments for more clarification...


Richard
Top achievements
Rank 1
 answered on 10 Jan 2012
0 answers
78 views
Hi,

I am writing some tests in IE around our RadTreeView using WatiN. It's great for navigating the tree and expanding nodes but I am having some trouble raising our XML defined context menus via right click.

I've tried simulating a right click using
private void ContextClick(Element span)
{
            NameValueCollection eventProps = new NameValueCollection();
            eventProps.Add("button", "2");
            span.FireEvent("onmousedown", eventProps);
}
where span is the Span DOM element that contains the relevant node name. To my mind this should simulate the user right clicking on the node. All I see happening though is that the node is highlighted yellow. Anything to do with not havign a cursor/mouse position?

I've check the client-side API and I can see a function for making the Context menu disappear but I can't find anything I can call on the page to make it appear. Is there anything like this or can anyone think of a way of simulating a right mouse click on a node using server side code?

Many thanks in advance...
Andy
Top achievements
Rank 1
 asked on 10 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?