Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
98 views
I have a couple of projects utilizing RadEditor with two different versions of the control suite (2011.1.519.35 and 2011.2.712.40). When an image has been uploaded into the RadEditor using the ImageManager option with specific properties set, the values aren't retained if I select the image and go back into the ImageManager.

For example, let's say I used the ImageManager tool to upload an image called "image1,jpg" and set specific properties (margins, etc.) on the image. The generated HTML looks like this:
<img alt="" style="width: 280px; margin-bottom: 8px; float: right; height: 249px; margin-left: 8px;" src="/dbfiles/images/image1.jpg" />

When I go back into the normal edit/Design mode (where the toolbars are all enabled) I can select this image (so it gets the anchors around it), click the ImageManager and that is where things stop working. Sometimes the image won't even show as selected in the ImageManager window (it's very hit or miss - no errors, just doesn't pre-select it) but consistently the image properties (margin, height, width, etc.) are never set. So when someone selects an image intending to change the margin a bit more they have to put in all of the properties again and then try to tweak the ones they intended to.

Is this intended behavior or is there a way to correct it? I've experienced it in IE8/9 and FF4.
Rumen
Telerik team
 answered on 07 Sep 2011
2 answers
95 views
I wanted to try to use a Telerik Tab Strip to maximize our available real estate on a SharePoint page by having several web part zones on tabs.  Has anybody done this before?

We're using:
VS 2010
SharePoint 2010
.NET 4.0
etc.
Cat Cheshire
Top achievements
Rank 1
 answered on 07 Sep 2011
1 answer
69 views
I want to select multiple files, which I can do, save the selection, which I can do, and reselect those files after a page load, which I can not do. Obviously I can use set the InitialPath to select one file but I need to select multiple files.
Dobromir
Telerik team
 answered on 07 Sep 2011
1 answer
145 views
Hi all,

Is there a way to restrict the Editor to only allow the user to edit a single table?

I've configured it so only the table toolbar displays, but I want to stop the user from adding extraneous content outside of the table element.

Possible?

Also, how do I specify a TH as opposed to a TD?

Thanks,

Rob
Rumen
Telerik team
 answered on 07 Sep 2011
1 answer
107 views
Hi 

I am trying to use the  Telerik ComboBox control and  it keeps throwing me "stop running this script". This happens whenever I select  the item from the  dropdown or while typing and  changing on the  combo inputbox. I have  read the  performance optimization telerik web article but that has not helped me in anyway. At any given  time the  number of combo items could be around 1500 - 2000. 

I have added the  Telerik RadComboBox control as below, 

 <telerik:RadComboBox ID="radComboCityNames" runat="server"  EnableLoadOnDemand="true" OnClientBlur="" OnClientFocus=""
   OnClientItemsRequesting = "StopRequest" onitemsrequested="radComboCityNames_ItemsRequested" skin="Default" 
   MarkFirstMatch="false" AutoPostBack="false" EnableItemCaching="true"  EnableEmbeddedScripts="false" EnableViewState = "false">
 </telerik:RadComboBox>

And on the  ItemsRequested handler I have  coded as follows, 


RadComboBox combobox = (RadComboBox)sender; 
string text = string.Format("{0}%", e.Text);


DataTable dat = dt.GetCityNamesTable(1, text);
combobox.DataTextField = "cityname";
combobox.DataSource = dat;
combobox.DataBind();

Script used ,

    function StopRequest(combobox) {
        var combo = $find("<%=radComboCityNames.ClientID  %>");
        if (combo.get_text().length < 1) {
            combo.hideDropDown();
            return false;
        }
        else {
            return true;
        }
    }

Your assistance is much appreciated. It seems may people have  raised this but none has got a proper solution.! :(

Dimitar Terziev
Telerik team
 answered on 07 Sep 2011
4 answers
133 views

Hello,

I think I am in need of some basics.

I am looking over this demo and within the example code, I don't understand what the arguments represent within the GetResource method:

    protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e) {
        if (e.Appointment.Resources.Count < 1)
            e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("Calendar", "1"));
    }

When I look at the DefaultCS.aspx included with the demo, I see where there is a title for a <div> set to "Calendar". That's the only object I see named as "Calendar". That being the case, I don't understand what GetResource is referring, and I don't understand what the second argument ("1") means either. Therefore, I don't know how to translate this demo into what I am trying to do.

What I want to do is add appointments to MSExchange. Right now, my page containing a RadScheduler is capable of displaying appointments that were already added to Exchange via Outlook. What I want to do is add the appointments via the scheduler control, instead of thru Outlook. But on my page, when I try to execute the command-line containing the GetResource method, I encounter a Null exception as follows:

System.ArgumentNullException was unhandled by user code
Message=Value cannot be null.
Parameter name: value
Source=System.Web
ParamName=value
StackTrace:
at System.Web.UI.StateManagedCollection.OnValidate(Object value)
at System.Web.UI.StateManagedCollection.System.Collections.IList.Add(Object value)
at Telerik.Web.StronglyTypedStateManagedCollection`1.Add(ItemType item)
at _Schedule.radScheduler_AppointmentInsert(Object sender, SchedulerCancelEventArgs e)
at Telerik.Web.UI.RadScheduler.OnAppointmentInsert(AppointmentInsertEventArgs args)
at Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
at Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument)
at Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:

I believe the Add method is what actually fails, since GetResource is returning a Null. But I don't know what to plug in as valid arguments for GetResource(). I've tried what I think would be logical values, all of which have resulted in the same Null exception. Here is my latest event method:

    protected void radScheduler_AppointmentInsert(object sender, SchedulerCancelEventArgs e) {
        GenericCollection<ExchangeAPI.Calendar> calAppts = ExchangeAPI.Calendar.GetAll(this.txtUsername.Text,
                                                                                       this.radScheduler.VisibleRangeStart,
                                                                                       this.radScheduler.VisibleRangeEnd);
        radScheduler.DataSource = calAppts;
        radScheduler.DataBind();

        if (e.Appointment.Subject == String.Empty) {
            e.Cancel = true;
        }
        else {
            //this.radScheduler.InsertAppointment(e.Appointment);

            if (e.Appointment.Resources.Count < 1)
                //e.Appointment.Resources.Add(radScheduler.Resources.GetResource("Calendar", "1"));
                e.Appointment.Resources.Add(radScheduler.Resources.GetResource(radScheduler.DataSourceID, "1"));
        }

The error always occurs on the last command-line that you see above. BTW, I use practically the same code (as above) to display the existing appointments in the RadScheduler. The only thing I am doing differently in the above event is that I am including the command to insert a new appointment, and that is the command that fails.

I am sure that I am mis-understanding some basics here. Can someone please help?

Thanks,
Steven

Plamen
Telerik team
 answered on 07 Sep 2011
2 answers
196 views
Is it possible to update Radgrid footer sums to show the sum of the values in cells which are in edit mode?

C#, ASP.NET 4, Windows Server 2003
ASP.NET AJAX 2011 Q2

I have created a RadGrid which is built dynamically at runtime.  The number of columns and their names are not known until the user has made their parameter selection and submitted their request for data.  The whole grid is in Edit mode when loaded (AllowMultiRowEdit=true, EditMode = GridEditMode.InPlace).  I am able to retrieve all the values programatically in code-behind for data validation before I commit the changes to my database.  I have footers showing the totals of the values in each column when the grid is first generated.

My problem is that I want to update the footer sums based on the edited values in the grid, so that the user sees a real time update of the totals.  This is to ensure that the numbers total 100 in each column.

Is this possible?  If not, is there any way to trap the Tab event using the client event KeyPress (eg when they use tab or shift-tab to change cells), or the change in cell event when you click in another cell?

Any help or advice gratefully received

Thanks
Mark
Mark
Top achievements
Rank 1
 answered on 07 Sep 2011
1 answer
138 views
HI all,
I have a grid in default.aspx,when i click a grid row the xmlhttppanel displays the selected row information in a tabstrip.in every tab i have a grid for some operations.When i click main grid row i'm getting error like:
XmlHttpPanel callback error:Exception:script control&#39;PageSizeComboBox&#39;is not a registered script control.Script Control must be registered using RegisteredScriptControl() before calling RegisteredScriptDescriptors().Parameter name:scriptControl.
Default.aspx:

<%@ Page Title="Tracker" Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
    Inherits="_Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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 id="Head1" runat="server">
    <title>Tracker</title>
    <telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
        <style type="text/css">
            .divContainer
            {
                background: url('Image.JPG')no-repeat;
                width: 100%;
                position: relative;
                height: 768px;
            }
            .body
            {
            }
            .divGrid, .divXmlHttpPanel
            {
                position: absolute;
                top: 8px;
            }
            .divXmlHttpPanel
            {
                left: 490px;
            }
            .rgInfoPart
            {
                display: none !important;
            }
            .title
            {
                font-size: 12px;
                color: #606060;
            }
            .info
            {
                color: black;
                font-size: 12px;
            }
            
            .button
            {
                border: 1px solid;
 border-color: #4E667E #5E7488 #425C71;
padding-top: 1px;
padding-bottom: 1px;
background: #D6E1E7 repeat-x 0 0 url(commonButton.gif);
color: #0D202B;
font: 12px "segoe ui",tahoma,sans-serif;
}
            
        </style>
    </telerik:RadCodeBlock>
</head>
<body style="background: #f2f2f2;" class="body">
    <form id="mainForm" method="post" runat="server" style="margin-top: -8px;">
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">

            function ShowInsertForm() {
                window.radopen("Projects.aspx", "UserListDialog");
                return false;
            }

          
        

            function ShowResourceInsertForm() {
                window.radopen("EditResource.aspx", "UserListDialog");
                return false;
            }

            function ShowResourceEditForm(id, rowIndex) {
                var grid = $find("<%= grdResource.ClientID %>");
                var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
                grid.get_masterTableView().selectItem(rowControl, true);

                window.radopen("EditResource.aspx?ResourceID=" + id, "UserListDialog");
                return false;
            }

     
            function refreshGrid(arg) {
                if (!arg) {
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
                }
                else {
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");
                }
            }

            function rowSelected(sender, args) {
                var key = args.getDataKeyValue("ProjectId");
                var panel = $find("<%=RadXmlHttpPanel1.ClientID %>");
                panel.set_value(key);
            }

        
            function grdResourceRowDblClick(sender, eventArgs) {
                window.radopen("EditResource.aspx?ResourceID=" + eventArgs.getDataKeyValue("ProjectResourceId"), "UserListDialog");
            }

          
            function gridCommand(sender, args) {
                if (args.get_commandName() == "DownloadAttachment") {
                    var manager = $find('<%= RadAjaxManager1.ClientID %>');
                    manager.set_enableAJAX(false);

                    setTimeout(function () {
                        manager.set_enableAJAX(true);
                    }, 0);
                }
            }
            function conditionalPostback(sender, eventArgs) {
                var eventArgument = eventArgs.get_eventArgument();

                if (eventArgument.indexOf("Update") > -1 || eventArgument.indexOf("PerformInsert") > -1) {
                    if (upload && upload.getFileInputs()[0].value != "") {
                        eventArgs.set_enableAjax(false);
                    }
                }
            }

            var upload = null;

            function uploadFileSelected(sender, args) {
                upload = sender;
                var uploadContainer = sender.get_element();
                var editTable = uploadContainer.parentNode.parentNode.parentNode.parentNode;
                var fileNameTextBox = editTable.rows[0].cells[1].getElementsByTagName('input')[0];

                fileNameTextBox.value = args.get_fileInputField().title;
            }


        </script>
       
        
    </telerik:RadCodeBlock>
    <telerik:RadAjaxManager  ID="RadAjaxManager1" runat="server"  EnableAJAX="true" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
    <ClientEvents OnRequestStart="conditionalPostback" />
       <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="grdFiles">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdFiles" />
                </UpdatedControls>
            </telerik:AjaxSetting>
             
       
        </AjaxSettings>
    </telerik:RadAjaxManager>
    

    
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" />
    <table width="130%">
        
        
        <tr>
            <td class="divContainer">
                <table>
                    <tr>
                        <td class="divGrid">
                            <telerik:RadGrid ID="RadGrid1" ShowFooter="true" AllowPaging="True" EnableLinqExpressions="False" RegisterWithScriptManager="false"
                                Skin="Default" AllowSorting="True" AutoGenerateColumns="False" Width="470px"
                                OnItemCreated="RadGrid1_ItemCreated" OnNeedDataSource="RadGrid1_NeedDataSource"
                                PageSize="100" ShowStatusBar="True" GridLines="None" runat="server" CellSpacing="0"
                                OnDeleteCommand="RadGrid1_DeleteCommand" OnItemDataBound="RadGrid1_ItemDataBound">
                                <ClientSettings Selecting-AllowRowSelect="true" ClientEvents-OnRowSelected="rowSelected"
                                    EnableRowHoverStyle="true">
                                    <Selecting AllowRowSelect="true" />
                                    <ClientEvents OnRowSelected="rowSelected"></ClientEvents>
                                </ClientSettings>
                                <MasterTableView Width="100%" CommandItemDisplay="Top" ClientDataKeyNames="ProjectId"
                                    DataKeyNames="ProjectId">
                                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridBoundColumn DataField="ProjectId" HeaderText="ProjectId" ReadOnly="True"
                                            SortExpression="ProjectId" UniqueName="ProjectId" Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn HeaderText="Name" UniqueName="Name" SortExpression="Title">
                                            <ItemTemplate>
                                                <asp:Label ID="lblTitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                                            </ItemTemplate>
                                            <HeaderStyle Width="50%" />
                                            <FooterTemplate>
                                                <asp:LinkButton Style="color: Blue;" ID="lnkAddproject" OnClientClick="return ShowInsertForm();"
                                                    runat="server">
                                                    <b>Add New Projects</b>
                                                </asp:LinkButton>
                                            </FooterTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn HeaderText="Status" UniqueName="Status" SortExpression="Status">
                                            <ItemTemplate>
                                                <asp:Label ID="lblStatus" runat="server" Text='<%#Eval("Status")%>' />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn HeaderText="Due Date" UniqueName="DueDate" DataField="DueDate">
                                            <ItemTemplate>
                                                <asp:Label ID="lblDueDate" runat="server" Text='<%#GetOnlyDate(Eval("DueDate"))%>' />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridButtonColumn Text="Delete" UniqueName="DeleteColumn" CommandName="Delete"
                                            ButtonType="ImageButton">
                                            <HeaderStyle Width="2%" />
                                        </telerik:GridButtonColumn>
                                    </Columns>
                                    <CommandItemTemplate>
                                        <span style="padding-left: 15px; text-decoration: none;"><b>
                                            <h2>
                                                Projects</h2>
                                        </b></span>
                                    </CommandItemTemplate>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                    <PagerStyle Mode="Slider" PageButtonCount="5" AlwaysVisible="True" />
                                </MasterTableView>
                                <FilterMenu EnableImageSprites="False" AppendDataBoundItems="True">
                                </FilterMenu>
                                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Hay">
                                </HeaderContextMenu>
                            </telerik:RadGrid>
                        </td>
                    </tr>
                    <tr>
                        <td class="divXmlHttpPanel">
                            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                                <telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" EnableClientScriptEvaluation="true"
                                    runat="server" OnServiceRequest="XmlHttpPanel_ServiceRequest" RenderMode="Block"
                                    Width="750px">
                                    <table id="tblControl" runat="server" style="width: 750px;">
                                        <tr>
                                            <td colspan="2">
                                               
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="60%" valign="top">
                                               <asp:Button ID="btnEmail" runat="server" Visible="false" Text="Email Task"
                                                    onclick="btnEmail_Click" />
                                               <br />
                                                <telerik:RadTabStrip ID="RadTabStrip1" RegisterWithScriptManager="false" runat="server" MultiPageID="RadMultiPage1" Orientation="HorizontalTop" OnTabClick="RadTabScript1_TabClick"> <%--   OnClientTabSelecting="onTabSelecting"> --%>
                                                    <Tabs>
                                                        <telerik:RadTab Text="Resources" runat="server" TabIndex="0"  PageViewID="radPageResources"></telerik:RadTab>
                                                        <telerik:RadTab Text="Tasks" runat="server" TabIndex="1" PageViewID="radPageTasks"></telerik:RadTab>
                                                        <telerik:RadTab Text="Messages" runat="server" TabIndex="2" PageViewID="radPageMessages"></telerik:RadTab>
                                                        <telerik:RadTab Text="Files" runat="server" TabIndex="3" PageViewID="radPageFiles"></telerik:RadTab>
                                                        <telerik:RadTab Text="Feedback" runat="server" TabIndex="4" PageViewID="radPageFeedback"></telerik:RadTab>
                                                    </Tabs>
                                                </telerik:RadTabStrip>
                                               
                                               
                                                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" RegisterWithScriptManager="false" >    <%-- OnPageViewCreated="RadMultiPage1_PageViewCreated" >   RenderSelectedPageOnly="true"  >  --%>
                                                        <telerik:RadPageView ID="radPageResources" runat="server" TabIndex="0">
                                                             <telerik:RadGrid runat="server" ID="grdResource" PageSize="5" Skin="Default" AllowPaging="True"
                                                    AllowSorting="true" ShowFooter="true" AutoGenerateColumns="False" Width="97%"
                                                    OnItemCreated="grdResource_ItemCreated" OnNeedDataSource="grdResource_NeedDataSource"
                                                    OnDeleteCommand="grdResource_DeleteCommand" ShowStatusBar="True" GridLines="None"
                                                    OnItemDataBound="grdResource_ItemDataBound">
                                                    <PagerStyle Mode="NumericPages" AlwaysVisible="true" />
                                                    <MasterTableView Width="100%" CommandItemDisplay="Top" ClientDataKeyNames="ProjectResourceId"
                                                        DataKeyNames="ProjectResourceId">
                                                        <Columns>
                                                            <telerik:GridTemplateColumn Visible="false">
                                                                <ItemTemplate>
                                                                    <asp:Label runat="server" ID="lblResourceID" Text='<%# Eval("ProjectResourceId") %>' />
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="30%" />
                                                            </telerik:GridTemplateColumn>
                                                            <telerik:GridTemplateColumn>
                                                                <ItemTemplate>
                                                                    <asp:Label runat="server" ID="lblUsername" Text='<%# Eval("UserName") %>' />
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="30%" />
                                                                <FooterTemplate>
                                                                    <span style="text-decoration: none;">
                                                                        <asp:LinkButton Style="color: Blue;" ID="lnkAddResource" OnClientClick="return  ShowResourceInsertForm();"
                                                                            runat="server"><b> Add New Resource</b></asp:LinkButton>
                                                                </FooterTemplate>
                                                                <FooterStyle Width="40%" />
                                                            </telerik:GridTemplateColumn>
                                                            <telerik:GridTemplateColumn UniqueName="TemplateEditColumn">
                                                                <ItemTemplate>
                                                                    <asp:ImageButton ID="EditResourceLink" runat="server" ImageUrl="~/Images/edit.gif" />
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="2%" />
                                                            </telerik:GridTemplateColumn>
                                                            <telerik:GridButtonColumn Text="Delete" UniqueName="DeleteColumn" CommandName="Delete"
                                                                ButtonType="ImageButton">
                                                                <HeaderStyle Width="2%" />
                                                            </telerik:GridButtonColumn>
                                                        </Columns>
                                                        <CommandItemTemplate>
                                                            <b>
                                                                <h3>
                                                                    Resources</h3>
                                                            </b></span>
                                                        </CommandItemTemplate>
                                                        <PagerStyle AlwaysVisible="True" />
                                                    </MasterTableView>
                                                    <ClientSettings>
                                                        <Selecting AllowRowSelect="true" />
                                                       
                                                    </ClientSettings>
                                                </telerik:RadGrid>
                                                        </telerik:RadPageView>
                                                        

                                             
                                    </table>
                                </telerik:RadXmlHttpPanel>
                            </telerik:RadAjaxPanel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
        <Windows>
            <telerik:RadWindow ID="UserListDialog" runat="server" Title="Project" Width="650"
                Height="650" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" />
        </Windows>
    </telerik:RadWindowManager>
    </form>
</body>
</html>


Help me out.
Regards,
Tirumalesh.
Pero
Telerik team
 answered on 07 Sep 2011
1 answer
111 views
Hi
I am using the Rad Editor 5.8.1.0. I have some problems with paging in the media manager, image manager, etc. wherever the paging slider is available. If any folder in these(media manager, image manager, etc.) is empty the paging displays Page 1of 2. Items 1 to 100 of 101 for the first time when we select any manager even of there are no files. Actually it has to be Page 1of 0. Items 1 to 0of 0.  When the slider is selected i.e. the increase button is selected, I am getting a script error

Callback loading error:
Non negative number required.
Parameter name: count.

This only happens for first time when the media manager loads. When a new file is added to any folder in any of the managers, the paging slider displays the right count.

Please help.
Rumen
Telerik team
 answered on 07 Sep 2011
1 answer
105 views
Hi,

I am using RadSlidingZone and RadSlidingPane which is on master page.

on record selector content place holder there is grid and clicking on grid row, the details fields get populate on other place holder area. and selector get hide which is correct scenario.

Now when doing paging, sorting or filtering it also hide the selector area. which is nor correct.

Please suggest how to stop it on this condition.

Regards,
Reyaz




    <asp:Panel ID="pnlMainUsers" runat="server">
        <telerik:RadSplitter ID="rSplManageUsers" runat="server" Height="100%" Width="100%"
            Orientation="Horizontal">
            <telerik:RadPane ID="rPanManageUsers" runat="server" Height="100%" Width="100%" Scrolling="Y">
                <telerik:RadSplitter ID="rSplUsers" runat="server" Width="100%" Height="100%">
                    <telerik:RadPane ID="rPanUserSelector" runat="server" Width="22px" Height="100%"
                        Scrolling="Both">
                        <div id="dvDockZone" runat="server" style="width: 28px; left: 0px;">
                            <telerik:RadSlidingZone ID="RecSelectSlidingZone" runat="server" Height="100%" Width="22"
                                ExpandedPaneId="RecSelectPane" ClickToOpen="true">
                                <telerik:RadSlidingPane ID="RecSelectPane" EnableDock="false" runat="server" Width="650"
                                    MinWidth="180" Title="Select">
                                    <asp:ContentPlaceHolder ID="recordselector" runat="server">
                                    </asp:ContentPlaceHolder>
                                </telerik:RadSlidingPane>
                            </telerik:RadSlidingZone>
                        </div>
                    </telerik:RadPane>
                    <telerik:RadPane ID="rPanUserDetails" runat="server" Width="100%">
                        <asp:ContentPlaceHolder ID="details" runat="server">
                        </asp:ContentPlaceHolder>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </asp:Panel>
Dobromir
Telerik team
 answered on 07 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?