Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
159 views
Hi Team,

    I am having a problem to solve and need your suggestions on which controls are best suited to solve such problem.

Here is description of my problem.

I have a page which need to show multiple sections. They are displayed one below other.

Ex.
------
Section1
------
Section2
------
Section3
------

I need to provide up/ down buttons in each section. These buttons will  re-order the sections(up/down). The order of the section  should be then stored to the server (database) using AJAX request.

On page load depending upon the order specified for each section, that section should get loaded.

Each section has Edit mode, and these changes need to be posted to server using AJAX request. Multiple sections can be opened in Edit mode at a given instance, and saving one section should not clear the other edit section's data. Also, re-ordering should not clear the edit section's data.

So in short I need ajaxified sections which can be reordered in ajaxified way.


Regards
Shrikant
Shrikant Kale
Top achievements
Rank 1
 answered on 18 Dec 2009
2 answers
161 views
Hi,

I am using ASP.NET controls for AJAX v2008.3.1105.35.  I have an aspx page that contains a RadTooltipManager, RadAjaxManager, Radgrid, RadTreeView, some checkboxes and option buttons.  All controls are within various ASP Panel, and all are ajaxified.

I use the RadTooltipManager to display a tooltip on a single img.  The RadToolTip always displays correctly when I hover over the image, ever time.

PROBLEM:
On initial page load, the "standard browser tooltips" display correctly.  However, when I do any ajax postback from any control on that page, the standard browser tooltips no longer display (until I do a full page load again).  For example, I have tooltips on the column headers in the grid and if I click on the column header to do a sort (ajax postback), none of the standard tooltips display on the grid (nor do they display on the other controls that are updated by ajax).  Or, if I click on a checkbox that does an ajax postback and updates the panel that contains the checkbox and the grid, the tooltips on the controls in those panels no longer display unless I do a full page postback.

If I disable the RadToolTipManager, all tooltips display after all ajax postbacks.

What is the issue?  Is there something I need to do so that the RadtooltipManager won't affect my standard tooltips?

My RadTooltipManager has the following settings:

<

 

telerik:RadToolTipManager ID="CommentToolTipManager" runat="server" Position="MiddleRight" AutoTooltipify="false"

 

 

ShowCallout="false" ShowEvent="FromCode" HideEvent="LeaveToolTip" ContentScrolling="Y" OffsetX="15"

 

 

Animation="None" Width="525px" Height="180px" RelativeTo="Element" Skin="Vista" >

 

 

<WebServiceSettings Method="GetTaskCommentToolTipData" Path="~/WebServices/APTaskCommentWS.asmx" />

 

</

 

telerik:RadToolTipManager>

 

Svetlina Anati
Telerik team
 answered on 18 Dec 2009
1 answer
69 views
I want to load 3 different sets of toolbar configurations and assign the editor the one that applies for that given moment. Unfortunately this can't be done on the server side since the information needed to decide which toolbar to use wont be supplied until the page has been loaded through javascript.

I'm wondering if it is possible to assign the editor a toolbar dynamically through client code?
Dobromir
Telerik team
 answered on 18 Dec 2009
1 answer
67 views
hi all,
         I am using a RadEditor .When i enter special charecters on editor an error is coming like this.

"Stop running this script?

A Script in this page is causing Internet explorer to run slowly.If it continues to run, your computer may become unresponsive."


....For small length no error. I think  Problem occuring only after exceeding a length limit ..problem occuring on editing time itself
 i mean not related to database......Please give suggessions

Thanks In Advance
lekha
Rumen
Telerik team
 answered on 18 Dec 2009
1 answer
79 views

 

 Hello everyone,

 

I am currently developing a prototype using some of the RadControls. I’ve faced a few challenges which I couldn’t find a solution. I would be glad if someone could give me some hints on this  issue:

 

-          When using the RadScheduler, if I set the ShowAllDayRow to false, I get the result that was expected on the week  view except, I guess, on the DayView type. When I set the ShowAllDayRow to false, the hours column on the DayView will also be hidden. Is this the default behavior? How can I overcome this? I’ve also tested on a basic solution (drag and drop RadScheduler and set of mandatory fields) and got the same result.

 

I am using the 2009.3.1103.35 version.

 

 

Thank you all for your attention,

 

 

AM

Peter
Telerik team
 answered on 18 Dec 2009
3 answers
171 views
Hello;

I currently have a window with multiple slidingpanes on it. Each pane can contain elements which also have the potential to display in other panes. Essentially we've done this to allow the user to select where they want to see certain data and save their prefereances. I've written some functions to block the user from opening the same tab(or view) in multiple panes. What I'd like to do now is have the onClientExpanded call a server side method which will load an ascx file into the expanded pane.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Start.aspx.cs" Inherits="Start" 
    MasterPageFile="~/MAIN/MasterPage.master" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="Content_Start" ContentPlaceHolderID="Main" runat="Server">  
    <telerik:RadScriptBlock runat="server" ID="radScriptBlock">  
 
        <script type="text/javascript">  
 
            // Arrays used to store dynamic panes.  
            arrWhereUsed = new Array("slidepaneWhereUsedLBL", "slidepaneWhereUsedLBR", "slidepaneWhereUsedTRT", "slidepaneWhereUsedBRB");  
            arrChildGrid = new Array("slidepaneChildGridLBL", "slidepaneChildGridLBR", "slidepaneChildGridTRT", "slidepaneChildGridBRB");  
            arrInventory = new Array("slidepaneInventoryLBL", "slidepaneInventoryLBR", "slidepaneInventoryTRT", "slidepaneInventoryBRB");  
            arrMasterParts = new Array("slidepaneMasterPartsListLBL", "slidepaneMasterPartsListLBR", "slidepaneMasterPartsListTRT", "slidepaneMasterPartsListBRB");  
            arrDownLook = new Array("slidepaneDownLookTRT", "slidepaneDownLookBRB");  
            arrPricingActuals = new Array("slidepanePricingActualsLBL", "slidepanePricingActualsLBR");  
 
            /// <summary> 
            /// Resize panes before they're expanded so that they fill their panel.  
            /// </summary> 
            function ResizeBeforeExpand(sender, Args) {  
                var slidePane = sender.get_id();  
                var parentPane = sender.get_parentPane();  
                sender.set_height(parentPane.get_height() - 18);  
                sender.set_width(parentPane.get_width());  
            }  
 
            /// <summary> 
            /// Hide or show tabs based on whether or not one of that type is already shown.  
            /// </summary> 
            /// <param name="callingpane">string: name of pane making the call.</param> 
            /// <param name="arrSliders">array: of sliders to hide or show. Arrays defined above.</param> 
            /// <param name="expandcollapse">int: 1 = Expand2 = Collapse3 = Dock4 = Undock </param> 
            function EnableDisableSliders(callingpane, arrSliders, action) {  
 
                for (ix = 0; ix < arrSliders.length; ix++) {  
 
                    // Get panelocation for current item in array.  
                    var panelocation = arrSliders[ix].slice(arrSliders[ix].length - 3, arrSliders[ix].length);  
 
                    // Check panelocation to determine what we should do.  
                    switch (panelocation) {  
                        case "LBL":  
 
                            // Initialize SlidingZones.  
                            var slidezoneLBL = $find("<%= slidezoneLBL.ClientID %>");  
 
                            // Get sliding pane.  
                            var slidepane = slidezoneLBL.getPaneById("ctl00_Main_" + arrSliders[ix]);  
                            var sliderId = slidepane.get_id();  
 
                            // If the paneIds match we need to leave it alone and possibly resize.  
                            // If not then we need to disable the pane.  
                            if (action == 1 || action == 4) {  
                                if (sliderId == callingpane) {  
 
                                    // Get parentpane object.  
                                    var parentpane = slidepane.get_parentPane();  
                                    slidepane.set_height(parentpane.get_height());  
                                    slidepane.set_width(parentpane.get_width());  
 
                                    // Set maxHeight and maxWidth equal to current height/ width plus 75%.  
                                    var maxHeight = parentpane.get_height() + (parentpane.get_height() * .75);  
                                    var maxWidth = parentpane.get_width() + (parentpane.get_width() * .75);  
 
                                    // Set parentPane size.  
                                    parentpane.set_maxHeight(maxHeight);  
                                    parentpane.set_maxWidth(maxWidth);  
 
                                    slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                                    slidepane.ajaxRequest("ExpandPane")  
                                }  
                                else {  
                                    slidepane.HideTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                            }  
                            else {  
                                slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                            }  
 
                            break;  
 
                        case "LBR":  
 
                            // Initialize SlidingZones.  
                            var slidezoneLBR = $find("<%= slidezoneLBR.ClientID %>");  
                            // Get sliding pane.  
                            var slidepane = slidezoneLBR.getPaneById("ctl00_Main_" + arrSliders[ix]);  
                            var sliderId = slidepane.get_id();  
 
                            // If the paneIds match we need to leave it alone and possibly resize.  
                            // If not then we need to disable the pane.  
                            if (action == 1 || action == 4) {  
                                if (sliderId == callingpane) {  
 
                                    // Get parentpane object.  
                                    var parentpane = slidepane.get_parentPane();  
                                    slidepane.set_height(parentpane.get_height());  
                                    slidepane.set_width(parentpane.get_width());  
 
                                    // Set maxHeight and maxWidth equal to current height/ width plus 75%.  
                                    var maxHeight = parentpane.get_height() + (parentpane.get_height() * .75);  
                                    var maxWidth = parentpane.get_width() + (parentpane.get_width() * .75);  
 
                                    // Set parentPane size.  
                                    parentpane.set_maxHeight(maxHeight);  
                                    parentpane.set_maxWidth(maxWidth);  
 
                                    slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                                else {  
                                    slidepane.HideTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                            }  
                            else {  
                                slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                            }  
                            break;  
 
                        case "TRT":  
 
                            // Initialize SlidingZones.  
                            var slidezoneTRT = $find("<%= slidezoneTRT.ClientID %>");  
                            // Get sliding pane.  
                            var slidepane = slidezoneTRT.getPaneById("ctl00_Main_" + arrSliders[ix]);  
                            var sliderId = slidepane.get_id();  
 
                            // If the paneIds match we need to leave it alone and possibly resize.  
                            // If not then we need to disable the pane.  
                            if (action == 1 || action == 4) {  
                                if (sliderId == callingpane) {  
 
                                    // Get parentpane object.  
                                    var parentpane = slidepane.get_parentPane();  
                                    slidepane.set_height(parentpane.get_height());  
                                    slidepane.set_width(parentpane.get_width());  
 
                                    // Set maxHeight and maxWidth equal to current height/ width plus 75%.  
                                    var maxHeight = parentpane.get_height() + (parentpane.get_height() * .75);  
                                    var maxWidth = parentpane.get_width() + (parentpane.get_width() * .75);  
 
                                    // Set parentPane size.  
                                    parentpane.set_maxHeight(maxHeight);  
                                    parentpane.set_maxWidth(maxWidth);  
 
                                    slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                                else {  
                                    slidepane.HideTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                            }  
                            else {  
                                slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                            }  
                            break;  
 
                        case "BRB":  
 
                            // Initialize SlidingZones.  
                            var slidezoneBRB = $find("<%= slidezoneBRB.ClientID %>");  
                            // Get sliding pane.  
                            var slidepane = slidezoneBRB.getPaneById("ctl00_Main_" + arrSliders[ix]);  
                            var sliderId = slidepane.get_id();  
 
                            // If the paneIds match we need to leave it alone and possibly resize.  
                            // If not then we need to disable the pane.  
                            if (action == 1 || action == 4) {  
                                if (sliderId == callingpane) {  
 
                                    // Get parentpane object.  
                                    var parentpane = slidepane.get_parentPane();  
                                    slidepane.set_height(parentpane.get_height());  
                                    slidepane.set_width(parentpane.get_width());  
 
                                    // Set maxHeight and maxWidth equal to current height/ width plus 75%.  
                                    var maxHeight = parentpane.get_height() + (parentpane.get_height() * .75);  
                                    var maxWidth = parentpane.get_width() + (parentpane.get_width() * .75);  
 
                                    // Set parentPane size.  
                                    parentpane.set_maxHeight(maxHeight);  
                                    parentpane.set_maxWidth(maxWidth);  
 
                                    slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                                else {  
                                    slidepane.HideTab("ctl00_Main_" + arrSliders[ix]);  
                                }  
                            }  
                            else {  
                                slidepane.ShowTab("ctl00_Main_" + arrSliders[ix]);  
                            }  
                            break;  
                    }  
                }  
            }  
 
            /// <summary> 
            /// Handles expanding of pane. Hides all other tabs with same name.  
            /// </summary> 
            /// <param name="sender"></param> 
            /// <param name="eventArgs"></param> 
            function PaneExpanded(sender, eventArgs) {  
 
                // Get pane from sender arguement.  
                var pane = sender;  
                callingPane = pane.get_id();  
 
                // Get originating control name by taking off the first 20 and last 3 characters.  
                controlname = new String(callingPane.slice(20, callingPane.length - 3));  
 
                // Call Disable method based on the calling pane and the appropriate array.  
                switch (controlname.toLowerCase()) {  
                    case "whereused":  
                        EnableDisableSliders(callingPane, arrWhereUsed, 1);  
                        break;  
                    case "childgrid":  
                        EnableDisableSliders(callingPane, arrChildGrid, 1);  
                        break;  
                    case "inventory":  
                        EnableDisableSliders(callingPane, arrInventory, 1);  
                        break;  
                    case "masterpartslist":  
                        EnableDisableSliders(callingPane, arrMasterParts, 1);  
                        break;  
                    case "downlook":  
                        EnableDisableSliders(callingPane, arrDownLook, 1);  
                        break;  
                    case "PricingActuals":  
                        EnableDisableSliders(callingPane, arrPricingActuals, 1);  
                        break;  
                }  
            }  
 
            /// <summary> 
            /// Handles collapsing of pane. Shows all other tabs with same name.  
            /// </summary> 
            /// <param name="sender"></param> 
            /// <param name="eventArgs"></param> 
            function PaneCollapsed(sender, eventArgs) {  
 
                // Get pane from sender arguement.  
                var pane = sender;  
                callingPane = pane.get_id();  
 
                // Get originating control name by taking off the first 20 and last 3 characters.  
                controlname = new String(callingPane.slice(20, callingPane.length - 3));  
 
                // Call Disable method based on the calling pane and the appropriate array.  
                switch (controlname.toLowerCase()) {  
                    case "whereused":  
                        EnableDisableSliders(callingPane, arrWhereUsed, 0);  
                        break;  
                    case "childgrid":  
                        EnableDisableSliders(callingPane, arrChildGrid, 0);  
                        break;  
                    case "inventory":  
                        EnableDisableSliders(callingPane, arrInventory, 0);  
                        break;  
                    case "masterpartslist":  
                        EnableDisableSliders(callingPane, arrMasterParts, 0);  
                        break;  
                    case "downlook":  
                        EnableDisableSliders(callingPane, arrDownLook, 0);  
                        break;  
                    case "PricingActuals":  
                        EnableDisableSliders(callingPane, arrPricingActuals, 0);  
                        break;  
                }  
            }  
 
            /// <summary> 
            /// Handles docking of pane. Hides all other tabs with same name.  
            /// </summary> 
            /// <param name="sender"></param> 
            /// <param name="eventArgs"></param> 
            function PaneDocked(sender, eventArgs) {  
 
                // Get pane from sender arguement.  
                var pane = sender;  
                callingPane = pane.get_id();  
 
                // Get originating control name by taking off the first 20 and last 3 characters.  
                controlname = new String(callingPane.slice(20, callingPane.length - 3));  
 
                // Call Disable method based on the calling pane and the appropriate array.  
                switch (controlname.toLowerCase()) {  
                    case "whereused":  
                        EnableDisableSliders(callingPane, arrWhereUsed, 1);  
                        break;  
                    case "childgrid":  
                        EnableDisableSliders(callingPane, arrChildGrid, 1);  
                        break;  
                    case "inventory":  
                        EnableDisableSliders(callingPane, arrInventory, 1);  
                        break;  
                    case "masterpartslist":  
                        EnableDisableSliders(callingPane, arrMasterParts, 1);  
                        break;  
                    case "downlook":  
                        EnableDisableSliders(callingPane, arrDownLook, 1);  
                        break;  
                    case "PricingActuals":  
                        EnableDisableSliders(callingPane, arrPricingActuals, 1);  
                        break;  
                }  
            }  
 
            /// <summary> 
            /// Handles undocking of pane. Hides all other tabs with same name.  
            /// </summary> 
            /// <param name="sender"></param> 
            /// <param name="eventArgs"></param> 
            function PaneUndocked(sender, eventArgs) {  
 
                // Get pane from sender arguement.  
                var pane = sender;  
                callingPane = pane.get_id();  
 
                // Get originating control name by taking off the first 20 and last 3 characters.  
                controlname = new String(callingPane.slice(20, callingPane.length - 3));  
 
                // Call Disable method based on the calling pane and the appropriate array.  
                switch (controlname.toLowerCase()) {  
                    case "whereused":  
                        EnableDisableSliders(callingPane, arrWhereUsed, 1);  
                        break;  
                    case "childgrid":  
                        EnableDisableSliders(callingPane, arrChildGrid, 1);  
                        break;  
                    case "inventory":  
                        EnableDisableSliders(callingPane, arrInventory, 1);  
                        break;  
                    case "masterpartslist":  
                        EnableDisableSliders(callingPane, arrMasterParts, 1);  
                        break;  
                    case "downlook":  
                        EnableDisableSliders(callingPane, arrDownLook, 1);  
                        break;  
                    case "PricingActuals":  
                        EnableDisableSliders(callingPane, arrPricingActuals, 1);  
                        break;  
                }  
            }  
      
      
        </script> 
 
        <%-- Hides title bar for each slider --%> 
        <style type="text/css">  
            .rspSlideHeaderIconWrapper, .rspSlideTitleContainer  
            {  
                display: none !important;  
            }  
            .rspSlideTitle, .rspSlideTitleContainer  
            {  
                background-image: none !important;  
                height: 1px !important;  
            }  
        </style> 
          
    </telerik:RadScriptBlock> 
    <telerik:RadSplitter ID="splitterMain" runat="server" Orientation="Vertical" Width="100%" 
        Height="100%">  
        <%--BEGIN: Left Side Pane - ToolBar, TreeView, LeftBottomLeft, RightBottomRight--%> 
        <telerik:RadPane ID="paneLeftSide" runat="server" Width="70%" Height="100%">  
            <telerik:RadSplitter ID="splitterLeftHorizontal" runat="server" Orientation="Horizontal" 
                Width="100%" Height="100%">  
                <telerik:RadPane ID="paneLeftTop" runat="server" Height="75%">  
                    <telerik:RadSplitter ID="splitterToolBarTree" runat="server" Orientation="Horizontal" 
                        Width="100%" Height="100%">  
                        <%-- BEGIN: LeftTopToolBar - ToolBar --%> 
                        <telerik:RadPane ID="paneToolBar" runat="server" Height="100px">  
                        </telerik:RadPane> 
                        <%-- END: LeftTopToolBar - ToolBar --%> 
                        <%-- BEGIN: LeftTopTreeView - TreeView  --%> 
                        <telerik:RadPane ID="paneTree" runat="server">  
                        </telerik:RadPane> 
                        <%-- END: LeftTopTreeView - TreeView  --%> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="splitbarLeftHoriz" runat="server" /> 
                <telerik:RadPane ID="paneLeftBottom" runat="server" Height="25%">  
                    <telerik:RadSplitter ID="splitterLeftBottom" runat="server" Orientation="Vertical" 
                        Width="100%" Height="100%">  
                        <%-- BEGIN: LeftBottomLeft - Dynamic Controls  --%> 
                        <telerik:RadPane ID="paneLeftBottomLeft" runat="server" Width="50%" Height="100%" 
                            Scrolling="None">  
                            <telerik:RadSlidingZone ID="slidezoneLBL" runat="server" ClickToOpen="True"   
                                SlideDirection="Bottom">  
                                <telerik:RadSlidingPane ID="slidepaneChildGridLBL" runat="server" Title="Child Grid" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelChildGridLBL" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepaneWhereUsedLBL" runat="server" Title="Where Used" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelWhereUsedLBL" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepaneInventoryLBL" runat="server" Title="Inventory" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelInventoryLBL" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepaneMasterPartsListLBL" runat="server" Title="Master Parts List" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelMasterPartsListLBL" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepanePricingActualsLBL" runat="server" Title="Pricing Actuals" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelPricingActualsLBL" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                            </telerik:RadSlidingZone> 
                        </telerik:RadPane> 
                        <%-- END: LeftBottomLeft - Dynamic Controls  --%> 
                        <telerik:RadSplitBar ID="splitbarLeftBottomVSplitter" runat="server" /> 
                        <%-- BEGIN: LeftBottomRight - Dynamic Controls  --%> 
                        <telerik:RadPane ID="paneLeftBottomRight" runat="server" Width="50%" Height="100%" 
                            Scrolling="None">  
                            <telerik:RadSlidingZone ID="slidezoneLBR" runat="server" ClickToOpen="True" SlideDirection="Bottom">  
                                <telerik:RadSlidingPane ID="slidepaneChildGridLBR" runat="server" Title="Child Grid" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelChildGridLBR" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepaneWhereUsedLBR" runat="server" Title="Where Used" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelWhereUsedLBR" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepaneInventoryLBR" runat="server" Title="Inventory" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelInventoryLBR" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepaneMasterPartsListLBR" runat="server" Title="Master Parts List" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelMasterPartsListLBR" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slidepanePricingActualsLBR" runat="server" Title="Pricing Actuals" 
                                    OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                                    EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                                    OnClientUndocked="PaneUndocked">  
                                    <asp:Panel ID="panelPricingActualsLBR" runat="server">  
                                    </asp:Panel> 
                                </telerik:RadSlidingPane> 
                            </telerik:RadSlidingZone> 
                        </telerik:RadPane> 
                        <%-- END: LeftBottomRight - Dynamic Controls  --%> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
        <%--END: Left Side Pane - ToolBar, TreeView, LeftBottomLeft, RightBottomRight--%> 
        <telerik:RadSplitBar ID="splitbarRightToLeft" runat="server" /> 
        <telerik:RadPane ID="paneRight" runat="server" Width="30%">  
            <telerik:RadSplitter ID="splitterTopRightHoriz" runat="server" Orientation="Horizontal" 
                Width="100%" Height="100%">  
                <%-- BEGIN: RightTop - Dynamic Controls  --%> 
                <telerik:RadPane ID="paneTopRightTop" runat="server" Height="50%" Scrolling="None">  
                    <telerik:RadSlidingZone ID="slidezoneTRT" runat="server" ClickToOpen="True" SlideDirection="Bottom">  
                        <telerik:RadSlidingPane ID="slidepaneChildGridTRT" runat="server" Title="Child Grid" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelChildGridTRT" runat="server">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneWhereUsedTRT" runat="server" Title="Where Used" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelWhereUsedTRT" runat="server">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneInventoryTRT" runat="server" Title="Inventory" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelInventoryTRT" runat="server">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneMasterPartsListTRT" runat="server" Title="Master Parts List" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelMasterPartsListTRT" runat="server">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneDownLookTRT" runat="server" Title="DownLook" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelDownLookTRT" runat="server">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                    </telerik:RadSlidingZone> 
                </telerik:RadPane> 
                <%-- END: RightTop - Dynamic Controls  --%> 
                <telerik:RadSplitBar ID="splitbarTRHoriz" runat="server" /> 
                <%-- BEGIN: RightBottom - Dynamic Controls  --%> 
                <telerik:RadPane ID="paneTopRightBottom" runat="server" Height="50%" Scrolling="None">  
                    <telerik:RadSlidingZone ID="slidezoneBRB" runat="server" ClickToOpen="True" SlideDirection="Bottom" 
                        SkinID="Office2007">  
                        <telerik:RadSlidingPane ID="slidepaneChildGridBRB" runat="server" Title="Child Grid" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelChildGridBRB" runat="server" Height="100%" Width="100%">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneWhereUsedBRB" runat="server" Title="Where Used" 
                            OnClientBeforeExpand="ResizeBeforeExpand"   
                            OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelWhereUsedBRB" runat="server" Height="100%" Width="100%">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneInventoryBRB" runat="server" Title="Inventory" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelInventoryBRB" runat="server" Height="100%" Width="100%">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneMasterPartsListBRB" runat="server" Title="Master Parts List" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelMasterPartsListBRB" runat="server" Height="100%" Width="100%">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="slidepaneDownLookBRB" runat="server" Title="DownLook" 
                            OnClientBeforeExpand="ResizeBeforeExpand" OnClientCollapsed="PaneCollapsed" Scrolling="None" 
                            EnableDock="false" OnClientExpanded="PaneExpanded" OnClientDocked="PaneDocked" 
                            OnClientUndocked="PaneUndocked">  
                            <asp:Panel ID="panelDownLookBRB" runat="server" Height="100%" Width="100%">  
                            </asp:Panel> 
                        </telerik:RadSlidingPane> 
                    </telerik:RadSlidingZone> 
                </telerik:RadPane> 
                <%-- END: RightBottom - Dynamic Controls  --%> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
</asp:Content> 
 
Svetlina Anati
Telerik team
 answered on 18 Dec 2009
3 answers
588 views
Hello,

I like the example called "Use controls container" shown here:

http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx

for an application I am working on. I am displaying a list of investments on a grid, and by selecting a grid row, I would like to display the investment historical returns in a Rad Window. I would also like to allow them to move from one investment to another and have the historical returns update in the rad window. I have all of this working fine, however I would like to initially have the window hidden. So if they aren't interested in historical returns they don't have to view them. I would like to show the window only if they select a row for display. I'm having trouble doing this. Can you point me in the right direction? Basically, I would like the example for User Controls Container to work exactly as is, however initially the window is not visible.
Svetlina Anati
Telerik team
 answered on 18 Dec 2009
1 answer
140 views
Hi,

I'm trying to prevent particular users from being able to delete appointments but not having much luck so far.

Following the various threads on the same topic I've added the logic into the AppointmentDataBound event.

Protected Sub rd_Schedule_AppointmentDataBound(ByVal sender As ObjectByVal e As SchedulerEventArgs)  
         
        'Control Access to Edit and Delete Appointments  
        If Page.User.IsInRole("BasicAccess") then  
              e.Appointment.AllowDelete = False 
        End If 
 
End Sub 

In stepping through the code the if statement happily evaluates to true and then sets the e.Appointment.AllowDelete to false. However the context menu delete still causes the Confirm Delete Dialog to display and will still delete the appointment. I've added in the AppointmentDelete event and checked the AllowDelete for the appointment and it evaluates to false despite deleting the appointment.

Is there a more comprehensive example of this or anything I can look at that might be effecting it?
Cheers,
Damien
Shinu
Top achievements
Rank 2
 answered on 18 Dec 2009
3 answers
125 views
Hi there,

We are using Q3 2008 RadControls For ASP.NetAjax.
We have requirement of multiple dynamic count scheduler inside DataList.
Here is complete details of the problem:
RadScheduler is inside a Closable-Div in DataList: ItemTemplate. Using Ajax partial Post backs to Create/Update Appointments inside a Scheduler results in the disturbance of the Appointment BackColor of the rest of the Schedulers inside DataList.
You can see the image before ajax call at http://i33.tinypic.com/2cpu6uh.jpg
But after creating some Appointments in a schedule (Left one in Image) http://i38.tinypic.com/a0i1s1.jpg the appointments BackColor of the other Schedulers inside DataList (the right one in image) resets/disturbs.
(Note: In Appointment Creation Ajax postback, we only rebinds that particular scheduler).

Any significant help will be really appriciated in this regards.

Thanks
Sajid Wahab
Muhammad
Top achievements
Rank 1
 answered on 18 Dec 2009
7 answers
195 views
Hi -

I'm using a simple routing handler (http://chriscavanagh.wordpress.com/2009/01/20/aspnet-routing-in-vbnet/) for a small project.  When I try to place Rad controls such as a menu or combo box on a page, they work fine if the routing indicates the root directory (where the physical page actually is), however if the routing indicates an "interior" page such as "root/About Us/Bios", the Rad links to the AXD file appear to break - I get no CSS and no JavaScript on the controls.  Have you run across similar situations?

Thanks,

Rod

Georgi Krustev
Telerik team
 answered on 18 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?