Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
55 views
I have a 'regular' RadWindow, one populated using the NavigateUrl property (we'll call this Window1).

The page that is used to populate it, however, includes a RadWindow (which we'll call Window2) with a <ContentTemplate> tag.

When the user clicks a button in Window1, Window2 opens. I want to be able to manually close Window2 when the user clicks a button in it, and have the user return to operating in Window1.

I tried just saying "GetRadWindow().close(), but that closed both Window2 and Window1.

Any suggestions?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 02 Jun 2011
1 answer
106 views
Hi,
We are facing problem in scroll with column freezing. when scroll goes end of grid then scroll  disappears. And other issue is header and item alignment is not correct.
Please look into code.
<%@ Page Title="" Language="C#" MasterPageFile="~/CCMMasterPage.master" AutoEventWireup="true" CodeFile="CareProviderMyTasks.aspx.cs" Inherits="Patient_CareProviderMyTasks" %>

<%@ Register Src="~/Patient/USERCONTROLS/uctlCareProviderDB.ascx" TagName="uctlCareProviderDB"
    TagPrefix="uc1" %>
<%@ Register Src="~/Patient/USERCONTROLS/uctlCareProviderDBFilters.ascx" TagName="uctlCareProviderDBFilters"
    TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CCMContentPlaceHolder" runat="Server">
    <link href="../StyleSheet/CCMStyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/Common.js" type="text/javascript"></script>
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
        <script language="javascript" type="text/javascript">
            var windowopen;
            function Openpopup(popurl, Height, Width) {
                windowopen = window.radopen(popurl, "WindowDialog1");
                windowopen.setSize(Width, Height);
                windowopen.center();
                return false;
            }
            function Closewindow() {
                windowopen.close();
                return false;
            }
            function ValidateFilterText(evt) {
                var charCode = (evt.which) ? evt.which : event.keyCode;
                if ((charCode < 48 || charCode > 57)) {
                    return false;
                }
                else {
                    return true;
                }
            }

            function OnHeaderMenuShowing(sender, eventArgs) {
                var headerName = eventArgs.get_gridColumn().get_uniqueName();
                if (headerName == "FullName") {
                    eventArgs.set_cancel(true);
                }
                if (headerName == "Reason") {
                    eventArgs.set_cancel(true);
                }
            }
        </script>
        <script type="text/javascript">
            function OnRequestStart(sender, args) {
                if (args.get_eventTarget().indexOf("Select") >= 0)
                    args.set_enableAjax(false);
            }
        </script>
    </telerik:RadScriptBlock>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rgCareDashMyTasks">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgCareDashMyTasks" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        <ClientEvents OnRequestStart="OnRequestStart" />
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
    <table border="0" cellpadding="0" cellspacing="0" align="left" width="100%">
        <tr>
            <td>
                <uc1:uctlCareProviderDB ID="uctlCareProviderDBMyTasks" runat="server" />
            </td>
        </tr>
        <tr>
            <td valign="top" align="center">
                <uc2:uctlCareProviderDBFilters ID="uctlCareProviderDBFiltersMyTasks" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
            </td>
        </tr>
        <tr>
            <td valign="top">
                <table style="margin-top: -3px;" border="0" class="Tab_hd" cellpadding="0" cellspacing="0"
                    width="100%">
                    <tr height="25px">
                        <td align="left" class="formheading" width="50%">
                            Open Tasks
                        </td>
                        <td align="right" width="50%" valign="middle">
                            <b>Health Risk Score : </b>
                            <telerik:RadComboBox ID="ddlHealthRiskScore" CssClass="dropdownp" Width="300px" MaxHeight="200"
                                runat="server" OnSelectedIndexChanged="ddlHealthRiskScore_SelectedIndexChanged"
                                AutoPostBack="true">
                            </telerik:RadComboBox>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" bgcolor="white" align="left" colspan="2">
                            <%--  <asp:UpdatePanel ID="upnlcallPage" runat="server">
                                <ContentTemplate>--%>
                            
                            <telerik:RadGrid ID="rgCareDashMyTasks" runat="server" AllowAutomaticDeletes="True"
                                Width="1000px" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" EnableHeaderContextFilterMenu="true"
                                EnableHeaderContextMenu="true" AllowPaging="True" OnPageIndexChanged="rgCareDashMyTasks_PageIndexChanged"
                                AutoGenerateColumns="False" BorderWidth="1" GridLines="None" OnItemDataBound="rgCareDashMyTasks_ItemDataBound"
                                OnNeedDataSource=" rgCareDashMyTasks_NeedDataSource" OnItemCommand="rgCareDashMyTasks_ItemCommand"
                                EnableAjaxSkinRendering="true" AllowFilteringByColumn="true">
                                <GroupingSettings CaseSensitive="false" />
                                <MasterTableView AllowSorting="true" Width="200%" TableLayout="Auto" Font-Size="Smaller"   CellPadding="0"
                                    CellSpacing="0" IsFilterItemExpanded="false" AutoGenerateColumns="False" CommandItemDisplay="None"
                                    AllowFilteringByColumn="true" DataKeyNames="UserId"
                                    EditMode="InPlace" GridLines="None" BorderWidth="1" HorizontalAlign="NotSet"
                                    PagerStyle-AlwaysVisible="true" EnableHeaderContextFilterMenu="true" EnableHeaderContextMenu="true"
                                    FooterStyle-Font-Size="Smaller">
                                    <PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" />
                                    <Columns>
                                        <%--UserId ,MemberNum,FullName,PhonePreference,AgeAndGender  ,TaskDueDate
                                            DaysLate ,AttemptsAndLastDate,NextCommunicationType,Reason,RiskScore DataFormatString="{0:MM/dd/yyyy}"--%>
                                        <telerik:GridBoundColumn DataField="UserId" HeaderText="UserID" Visible="false" ItemStyle-HorizontalAlign="Left"
                                            SortExpression="UserId" UniqueName="UserId">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TaskID" Display="false" HeaderText="TaskID" Visible="false"
                                            ItemStyle-HorizontalAlign="Left" SortExpression="TaskID" UniqueName="TaskID">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TaskGeneralizedId" Display="false" HeaderText="TaskGeneralizedId"
                                            Visible="false" ItemStyle-HorizontalAlign="Left" SortExpression="TaskGeneralizedId"
                                            UniqueName="TaskGeneralizedId">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Attempts" Display="false" HeaderText="Attempts"
                                            ItemStyle-HorizontalAlign="Left" Visible="false" SortExpression="Attempts" UniqueName="Attempts">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="CommunicationTemplateID" Display="false" HeaderText="CommunicationTemplateID"
                                            ItemStyle-HorizontalAlign="Left" SortExpression="CommunicationTemplateID" UniqueName="CommunicationTemplateID"
                                            Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="CommunicationAttemptDays" Display="false" HeaderText="CommunicationAttemptDays"
                                            ItemStyle-HorizontalAlign="Left" SortExpression="CommunicationAttemptDays" UniqueName="CommunicationAttemptDays"
                                            Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="CommunicationSequence" Display="false" HeaderText="CommunicationSequence"
                                            ItemStyle-HorizontalAlign="Left" SortExpression="CommunicationSequence" UniqueName="CommunicationSequence"
                                            Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TaskTypeCommunicationID" Display="false" HeaderText="TaskTypeCommunicationID"
                                            ItemStyle-HorizontalAlign="Left" SortExpression="TaskTypeCommunicationID" UniqueName="TaskTypeCommunicationID"
                                            Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TaskTypeID" Display="false" HeaderText="TaskTypeId"
                                            ItemStyle-HorizontalAlign="Left" SortExpression="TaskTypeID" UniqueName="TaskTypeID"
                                            Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="MemberNum" HeaderText="MRN#" ItemStyle-HorizontalAlign="Left"
                                            HeaderStyle-HorizontalAlign="Left" SortExpression="MemberNum" UniqueName="MemberNum">
                                            <HeaderStyle Width="8%" />
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn DataField="FullName" ItemStyle-CssClass="GridBorders"
                                            HeaderText="Name" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"
                                            HeaderStyle-Width="10%" SortExpression="" UniqueName="FullName" GroupByExpression="FullName Group by FullName">
                                            <ItemTemplate>
                                                <a id="lnkbtnPatientName" href="../Patient/CallPage.aspx?CMUSerID= <%#Eval("UserId") %> &role='Patient'">
                                                    <%#Eval("FullName")%></a>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridBoundColumn DataField="Phone" HeaderStyle-Width="9%" HeaderText="Phone"
                                            ItemStyle-HorizontalAlign="right" HeaderStyle-HorizontalAlign="right" SortExpression="Phone"
                                            UniqueName="Phone">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Preference" HeaderStyle-Width="4%" HeaderText="Preference"
                                            ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="left" SortExpression="Preference"
                                            UniqueName="Preference">
                                        </telerik:GridBoundColumn>
                                        <%-- <telerik:GridBoundColumn DataField="PhonePreference" HeaderText="Phone Preference"
                                            ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="9%"
                                            SortExpression="PhonePreference" UniqueName="PhonePreference">
                                        </telerik:GridBoundColumn>--%>
                                        <telerik:GridBoundColumn DataField="AgeAndGender" HeaderText="A/S" ItemStyle-HorizontalAlign="Left"
                                            HeaderStyle-HorizontalAlign="Left" SortExpression="AgeAndGender" UniqueName="AgeAndGender"
                                            HeaderTooltip="Age/Sex" HeaderStyle-Width="4%">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TaskDueDate" HeaderText="Due Date" ItemStyle-HorizontalAlign="Left"
                                            HeaderStyle-HorizontalAlign="left" SortExpression="TaskDueDate" UniqueName="TaskDueDate"
                                            HeaderStyle-Width="8%" DataFormatString="{0:MM/dd/yyyy}">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn HeaderText="Days/Late" SortExpression="DaysLate" DataField="DaysLate"
                                            UniqueName="DaysLate" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"
                                            HeaderStyle-Width="8%" GroupByExpression="DaysLate Group by DaysLate">
                                            <ItemTemplate>
                                                <asp:Label ID="lblLateDate" runat="server" Text='<%#Eval("DaysLate") %>'></asp:Label>
                                                <asp:Image ID="imgflag" ImageAlign="AbsMiddle" runat="server" />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridBoundColumn DataField="AttemptsAndLastDate" HeaderText="Attempts/LastDate"
                                            ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="9%"
                                            SortExpression="AttemptsAndLastDate" UniqueName="AttemptsAndLastDate" DataFormatString="{0:MM/dd/yyyy}">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="NextCommunicationType" HeaderText="Type" ItemStyle-HorizontalAlign="Left"
                                            HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="7%" SortExpression="NextCommunicationType"
                                            UniqueName="NextCommunicationType">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TaskTypeName" Display="false" HeaderText="TaskTypeName"
                                            ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Center" SortExpression="TaskTypeName"
                                            UniqueName="TaskTypeName" Visible="false">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn DataField="Reason" AllowFiltering="true" ShowSortIcon="false"
                                            ShowFilterIcon="false" HeaderText="Reason" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"
                                            HeaderStyle-Width="22%" SortExpression="" UniqueName="Reason" GroupByExpression="Reason Group by Reason">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lnkbtnReason" CommandName="Reason" CommandArgument='<%#Eval("TaskTypeName")%>'
                                                    runat="server" Text='<%#Eval("Reason")%>'></asp:LinkButton>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridBoundColumn DataField="AssignedCareProviderId" HeaderText="Assigned Care Provider"
                                            ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="8%"
                                            SortExpression="AssignedCareProviderId" AllowSorting="true" UniqueName="AssignedCareProviderId">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="RiskScore" HeaderText="Risk Score(%)" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="RiskScore"
                                            AllowSorting="false" UniqueName="RiskScore">
                                        </telerik:GridBoundColumn>
                                         <telerik:GridBoundColumn DataField="Total Care Gaps" HeaderText="Total Care Gaps" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Total Care Gaps"
                                            AllowSorting="false" UniqueName="Total Care Gaps">
                                        </telerik:GridBoundColumn>

                                         <telerik:GridBoundColumn DataField="Preventive" HeaderText="Preventive" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Preventive"
                                            AllowSorting="false" UniqueName="Preventive">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="COPD" HeaderText="COPD" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="COPD"
                                            AllowSorting="false" UniqueName="COPD">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="CHF" HeaderText="CHF" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="CHF"
                                            AllowSorting="false" UniqueName="CHF">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Diabetes" HeaderText="Diabetes" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Diabetes"
                                            AllowSorting="false" UniqueName="Diabetes">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Hypertension" HeaderText="Hypertension" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Hypertension"
                                            AllowSorting="false" UniqueName="Hypertension">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Asthma" HeaderText="Asthma" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Asthma"
                                            AllowSorting="false" UniqueName="Asthma">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="PCP Name" HeaderText="PCP Name" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="PCP Name"
                                            AllowSorting="false" UniqueName="PCP Name">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Care Team" HeaderText="Care Team" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Care Team"
                                            AllowSorting="false" UniqueName="Care Team">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Last interaction" HeaderText="Last interaction" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Last interaction"
                                            AllowSorting="false" UniqueName="Last interaction">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Last Visit" HeaderText="Last Visit" ItemStyle-HorizontalAlign="right"
                                            HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="11%" SortExpression="Last Visit"
                                            AllowSorting="false" UniqueName="Last Visit">
                                        </telerik:GridBoundColumn>
                                    </Columns>
                                </MasterTableView>
                                <ClientSettings AllowColumnsReorder="true" >
                                    <Scrolling AllowScroll="true" FrozenColumnsCount="2" UseStaticHeaders="true" />
                                    <ClientEvents OnCommand="gridCommand" OnHeaderMenuShowing="OnHeaderMenuShowing" />
                                </ClientSettings>
                            </telerik:RadGrid>

                            <telerik:RadWindowManager VisibleStatusbar="false" ID="RadWindowManager1" Title="Loading..."
                                DestroyOnClose="true" runat="server" AutoSizeBehaviors="WidthProportional">
                                <Windows>
                                    <telerik:RadWindow ID="WindowDialog1" runat="server" Left="150px" Title="Loading..."
                                        Modal="true" ReloadOnShow="false" ShowContentDuringLoad="false" VisibleTitlebar="true"
                                        Behaviors="Close,Move" />
                                </Windows>
                            </telerik:RadWindowManager>
                            <%--  </ContentTemplate>
                            </asp:UpdatePanel>--%>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
 
Pavlina
Telerik team
 answered on 02 Jun 2011
1 answer
63 views
Hi,

I am facing a problem that I am unable to solve with the RadFileExplorer.

Let's say I have the next hierarchy nodes (as ilustraded in the attachement):

cms -> dir1 -> dir1.1

I am using the context menu on the tree (the context menu is built by my code depending on some rules) to trigger an ajax request that delete the selected node. If I trigger an ajax request to delete node "dir1" (current directory is dir1), the node is deleted on server side without problem but when the content provider tries to fetch directories again, this process tries to fetch the deleted directory which causes an error because the directory does not exists anymore.

I already tried to clear the nodes of TreeView right after my delete code but it does not solve the problem.

Can someone help me with that problem?

Best regards,
Michael Pinheiro



Dobromir
Telerik team
 answered on 02 Jun 2011
2 answers
104 views
Hi,

I am using a RadGrid with grouping enabled. I am trying to export this grid data to a PDF but its not happening. On click of export button the grid does some processing but don't work at last.
Below is my code:

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" language="javascript">
        function requestStart(sender, args)
        {
            if (args.get_eventTarget().indexOf("DownloadPDF") > 0)
                args.set_enableAjax(false);
        }
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="CPH" runat="server">
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">

        <telerik:RadGrid ID="radGridShippedOrders" runat="server" GridLines="None" AllowPaging="True"
            PageSize="10" AllowSorting="True" AutoGenerateColumns="false" ShowStatusBar="true"
            HorizontalAlign="NotSet" AllowMultiRowEdit="false" OnNeedDataSource="radGridShippedOrders_NeedDataSource" 
            Width="100%" AllowMultiRowSelection="False" AllowFilteringByColumn="true" ShowGroupPanel="True">
            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle>
            
            <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true">
                 <Pdf PageTitle="SushiBar menu" />
            </ExportSettings>

            <MasterTableView GroupLoadMode="Client" CommandItemDisplay="Bottom">
                <CommandItemTemplate>
                    <asp:Button ID="DownloadPDF" runat="server" CommandName="ExportToPdf" Text="Export" />
                </CommandItemTemplate>
                <CommandItemSettings ShowExportToExcelButton="true" />
                <Columns>
                    <telerik:GridBoundColumn UniqueName="OACONO" HeaderText="OACONO" DataField="OACONO">
                    </telerik:GridBoundColumn>                
                    <telerik:GridBoundColumn UniqueName="OAINNO" HeaderText="OAINNO" DataField="OAINNO">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="OAORNO" HeaderText="OAORNO" DataField="OAORNO">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="OAORGN" HeaderText="OAORGN" DataField="OAORGN">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="OAHSSQ" HeaderText="OAHSSQ" DataField="OAHSSQ">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
             <ClientSettings AllowGroupExpandCollapse="True" ReorderColumnsOnClient="True" AllowDragToGroup="True"
                AllowColumnsReorder="True">
            </ClientSettings>
             <GroupingSettings ShowUnGroupButton="true" />
        </telerik:RadGrid>
        
    </telerik:RadAjaxPanel>
</asp:Content>

protected void Page_Load(object sender, EventArgs e)
        {
            RadAjaxManager AjaxManager = new RadAjaxManager();
            AjaxManager = (RadAjaxManager)this.Master.FindControl("RadAjaxManagerMP");
            if (AjaxManager != null)
            {
                AjaxManager.ClientEvents.OnRequestStart = "requestStart";
            }
        }

Ajay
Top achievements
Rank 1
 answered on 02 Jun 2011
1 answer
305 views
Hi i would like to know if there is a way to change the display image of buttonsof RadTextBoxes as well some other proprieties related to the same control.

PS: im sorry for my english :S.
Sebastian
Telerik team
 answered on 02 Jun 2011
6 answers
280 views
Greetings,

Is there an example of the radGrid with advanced data binding and filtering enabled?

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/needdatasource/defaultvb.aspx

When I enable filtering, I can only filter one column at a time. When I try to filter a second column, the grid forgets the first filter.

Thanks,
Darren

Pavlina
Telerik team
 answered on 02 Jun 2011
1 answer
91 views
We are having issues with RadEditor . When  pasted the contents from Word, which  contain bullet list. Every time it adds extra bullets when I do a cut paste of bullet contents. An we are not able to delete this extra bullet from design view.We had to use HTML view to delete this.
 
   I have attached detailed steps to reproduce this issue.

  1. Copy text from below 
  2. Paste text  into design view Rad Editor
  3. When asked if you want to clean the Word HTML, click ‘Cancel’
  4. Highlight bottom three (3) bullet items and Cut (Ctrl + X)
  5. Paragraph below the bullets indents and indentation cannot be removed
  6. Place cursor after the last paragraph but before the Contact information
  7. Hit ‘Enter’
  8. Cursor moves to below the Contact information instead of staying above it

Second Issue

  1. Copy text from below from Exclusive
  2. Paste text into design view of RadEditor
  3. When asked if you want to clean the Word HTML, click ‘OK’
  4. Highlight bottom three (3) bullet items and Copy & Paste the bullets above the contacts.
  5. Delete the original bullets that you copied and pasted. 
  6. An extra bullet will appear when you save and close the template. The only way to remove that bullet is through the HTML view.  


  
All the above issues occur in IE 7/8/9

Exclusive

hlavu. Všetko, čo už aj dvojposchodová postel môže byť také veci mám prisľúbené strihanie a neviem ako je pre utorok, sobotu idem liter päťsto a rozhadzuje mi ťa vidím, celý je potrebné.. Nevládzem zo včerajška ešte, toto je tento rok stromček v poriadku. Spolubyvajúci sa uvidí. S Mary.. Mám nakúpené na najtotálnejšej severnej časti, pričom sa včera dvojnásobne, vďaka svojim vlastným chybám pochopíš nerozvažnosť seba samého. A slnko ako funguje FTP.. Neviem, čo mi verte. Pevne to povedať ako každá veta z nás a kam som to nemajú záujem. Nikdy som ho každý deň, keď v úsili úspešne stráviť svoj faucibus quam, vitae adipiscing quam aliquam quis. In ultricies metus tellus. Nunc et quam nulla, quis rhoncus massa. Nullam id lacus felis.

  • Aliquam cursus massa et urna rutrum venenatis.
  • Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
  • Quisque accumsan, arcu ut scelerisque vulputate, nulla sem ornare nisl, ut porttitor massa justo a turpis.
  • Nulla nec orci ac sem malesuada pellentesque sit amet vel tortor.
  • Cras dignissim porta mauris sit amet molestie.

 Mauris ullamcorper justo et mauris bibendum aliquet nec ut ligula. Vivamus imperdiet est vitae orci rutrum blandit. Etiam tristique, erat id interdum lacinia, dui elit fermentum odio, a vestibulum nibh mi vel dui. Maecenas et mauris velit. Nulla ultricies elit at sem tempus tempus. Sed rutrum nibh sit amet nunc bibendum placerat accumsan lacus hendrerit. Ut egestas, lacus et feugiat molestie, ipsum massa gravida nulla, in mattis velit nulla sed massa. Aliquam erat volutpat.

[Asset.SummaryBrochureDownload]

[Asset.CADownload]

hlavu. Všetko, čo už aj dvojposchodová postel môže byť také veci mám prisľúbené strihanie a neviem ako je pre utorok, sobotu idem liter päťsto a rozhadzuje mi ťa vidím, celý je potrebné.. Nevládzem zo včerajška ešte, toto je tento rok stromček v poriadku. Spolubyvajúci sa uvidí. S Mary.. Mám nakúpené na najtotálnejšej severnej časti, pričom sa včera dvojnásobne, vďaka svojim vlastným chybám pochopíš nerozvažnosť seba samého. A slnko ako funguje FTP.. Neviem, čo mi verte. Pevne to povedať ako každá veta z nás a kam som to nemajú záujem. Nikdy som ho každý deň, keď v úsili úspešne stráviť svoj, imperdiet faucibus orci. Sed vehicula libero purus, sed dignissim nisi. Curabitur elit lorem, ultricies at pellentesque in, aliquam a sem. Morbi ac metus lorem, ut commodo est. In pellentesque lacinia venenatis.

Other

hlavu. Všetko, čo už aj dvojposchodová postel môže byť také veci mám prisľúbené strihanie a neviem ako je pre utorok, sobotu idem liter päťsto a rozhadzuje mi ťa vidím, celý je potrebné.. Nevládzem zo včerajška ešte, toto je tento rok stromček v poriadku. Spolubyvajúci sa uvidí. S Mary.. Mám nakúpené na najtotálnejšej severnej časti, pričom sa včera dvojnásobne, vďaka svojim vlastným chybám pochopíš nerozvažnosť seba samého. A slnko ako funguje FTP.. Neviem, čo mi verte. Pevne to povedať ako každá veta z nás a kam som to nemajú záujem. Nikdy som ho každý deň, keď v úsili úspešne stráviť svoj

Xxxxxx
Ecdfd Director
101-85-1111
sfdfdfdfddfun@xxdf.com

Derid Mdd
Executive Director
585-111-1111
dfrea.mpopoe@cpopoe.com


frelrgreas
Senior Associate
107-111-11111
sdfr.iffds@cpoplol.com


Cafrea Mpopops
Senior Financial Associate
105-893-11111
chry.mdtreas@cpopop.com

Rumen
Telerik team
 answered on 02 Jun 2011
2 answers
127 views
Hello,
When I ues the editor, I am adding some custom context menus and custom buttons, but it seems that the names of the fields for the stylebuilder are messed up. 

For instance, in the main table wizard dialog, on the table properties and cell properties tab, the stylebuilder button has common_stylebuilder beside it rather than just Style Builder.

And when I go to the style builder the field names are messed up as well....as shown below.....


StyleBuilder_Bold
select
StyleBuilder_Italics
select
StyleBuilder_SmallCaps
select
StyleBuilder_Capitalization














Just to make sure, I have copied and pasted my radeditor tag into the box here....

<telerik:RadEditor ID="RadEditor1" runat="server" Height="600px" Width="780px" ContentFilters="RemoveScripts, FixEnclosingP, ConvertToXhtml, IndentHTMLContent"
           NewLineBr="False" StripFormattingOnPaste="AllExceptNewLines" StripAbsoluteAnchorPaths="true"
           StripAbsoluteImagePaths="true" StripFormattingOptions="AllExceptNewLines" 
           NewLineMode="P" TableLayoutCssFile="TableLayout.css">
           <%--                                <Modules>
                   <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" />
                   <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" />
                   <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" Visible="true" />
                   <telerik:EditorModule Name="RadEditorHtmlInspector" Enabled="true" Visible="true" />
               </Modules>
           --%>
           <ImageManager ViewPaths="/content/images" DeletePaths="/content/images" UploadPaths="/content/images"
               MaxUploadFileSize="2500000" SearchPatterns="*.gif,*.png,*.jpg,*.jpeg,*.bmp" EnableImageEditor="true" />
           <DocumentManager ViewPaths="/content/documents" DeletePaths="/content/documents"
               UploadPaths="/content/documents" MaxUploadFileSize="5000000" SearchPatterns="*.pdf,*.xls,*.xlsx,*.doc,*.docx,*.ppt,*.pptx,*.zip" />
           <CssFiles>
               <telerik:EditorCssFile Value="/GCMS/App_Themes/Default/CMS.css" />
           </CssFiles>
           <Modules>
               <telerik:EditorModule Name="RadEditorNodeInspector" Visible="true" Enabled="true" />
               <telerik:EditorModule Name="RadEditorDomInspector" />
               <telerik:EditorModule Name="RadEditorStatistics"  />
           </Modules>
             
           <ContextMenus>
               <telerik:EditorContextMenu TagName="IMG">
                   <telerik:EditorTool Name="SetImageProperties" />
                   <telerik:EditorTool Name="ImageMapDialog" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="TABLE">
                   <telerik:EditorTool Name="ToggleTableBorder" />
                   <telerik:EditorTool Name="SetTableProperties" />
                   <telerik:EditorTool Name="DeleteTable" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="TD">
                   <telerik:EditorTool Name="InsertRowAbove" />
                   <telerik:EditorTool Name="InsertRowBelow" />
                   <telerik:EditorTool Name="DeleteRow" />
                   <telerik:EditorTool Name="InsertColumnLeft" />
                   <telerik:EditorTool Name="InsertColumnRight" />
                   <telerik:EditorTool Name="MergeColumns" />
                   <telerik:EditorTool Name="MergeRows" />
                   <telerik:EditorTool Name="SplitCell" />
                   <telerik:EditorTool Name="DeleteCell" />
                   <telerik:EditorTool Name="SetCellProperties" />
                   <telerik:EditorTool Name="TableProperties" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="A">
                   <telerik:EditorTool Name="SetLinkProperties" />
                   <telerik:EditorTool Name="Unlink" />
               </telerik:EditorContextMenu>
               <telerik:EditorContextMenu TagName="BODY">
                   <telerik:EditorTool Name="Cut" />
                   <telerik:EditorTool Name="Copy" />
                   <%--      <telerik:EditorTool Name="Paste" />
                   --%>
                   <telerik:EditorTool Name="PasteFromWord" Visible="false" />
                   <telerik:EditorTool Name="PastePlainText" />
                   <%--      <telerik:EditorTool Name="PasteAsHtml" />
                   --%>
               </telerik:EditorContextMenu>
           </ContextMenus>
           <Symbols>
               <telerik:EditorSymbol Char="\u2713" />
               <telerik:EditorSymbol Char="\u2022" />
               <telerik:EditorSymbol Char="\u271A" />
               <telerik:EditorSymbol Char="\u2739" />
               <telerik:EditorSymbol Char="\u2736" />
               <telerik:EditorSymbol Char="\u2715" />
               <telerik:EditorSymbol Char="\u2731" />
               <telerik:EditorSymbol Char="\u00AE" />
               <telerik:EditorSymbol Char="\u00A9" />
               <%-- Math Symbols --%>                
               <telerik:EditorSymbol Char="\u00B1" />
               <telerik:EditorSymbol Char="\u00F7" />
               <telerik:EditorSymbol Char="\u2248" />
               <telerik:EditorSymbol Char="\u2260" />
               <telerik:EditorSymbol Char="\u2264" />
               <telerik:EditorSymbol Char="\u2265" />
               <telerik:EditorSymbol Char="\u221A" />
               <telerik:EditorSymbol Char="\u221E" />
               <telerik:EditorSymbol Char="\u222B" />
               <telerik:EditorSymbol Char="\u2202" />
               <telerik:EditorSymbol Char="\u00B5" />
               <telerik:EditorSymbol Char="\u00B6" />
               <%-- Fractions --%>
               <telerik:EditorSymbol Char="\u00BC" />
               <telerik:EditorSymbol Char="\u00BD" />
               <telerik:EditorSymbol Char="\u00BE" />
               <telerik:EditorSymbol Char="\u2153" />
               <telerik:EditorSymbol Char="\u2154" />
               <telerik:EditorSymbol Char="\u215B" />
               <telerik:EditorSymbol Char="\u215C" />
               <telerik:EditorSymbol Char="\u215D" />
               <telerik:EditorSymbol Char="\u215E" />
               <%-- Accents --%>
               <telerik:EditorSymbol Char="\u00E0" />
               <telerik:EditorSymbol Char="\u00E1" />
               <telerik:EditorSymbol Char="\u00E2" />
               <telerik:EditorSymbol Char="\u00E3" />
               <telerik:EditorSymbol Char="\u00E4" />
               <telerik:EditorSymbol Char="\u00E5" />
               <telerik:EditorSymbol Char="\u00E6" />
               <telerik:EditorSymbol Char="\u00E7" />
               <telerik:EditorSymbol Char="\u00E8" />
               <telerik:EditorSymbol Char="\u00E9" />
               <telerik:EditorSymbol Char="\u00EA" />
               <telerik:EditorSymbol Char="\u00EB" />
               <telerik:EditorSymbol Char="\u00EC" />
               <telerik:EditorSymbol Char="\u00ED" />
               <telerik:EditorSymbol Char="\u00F2" />
               <telerik:EditorSymbol Char="\u00F3" />
               <telerik:EditorSymbol Char="\u00F4" />
               <telerik:EditorSymbol Char="\u00F5" />
               <telerik:EditorSymbol Char="\u00F6" />
               <telerik:EditorSymbol Char="\u00B0" />
               <telerik:EditorSymbol Char="\u00F8" />
               <telerik:EditorSymbol Char="\u00DF" />
               <telerik:EditorSymbol Char="\u00A7" />
               <telerik:EditorSymbol Char="\u01A9" />
               <telerik:EditorSymbol Char="\u0194" />
               <telerik:EditorSymbol Char="\u0197" />
               <telerik:EditorSymbol Char="\u019F" />
               <telerik:EditorSymbol Char="\u01B1" />
               <telerik:EditorSymbol Char="\u0424" />
               <telerik:EditorSymbol Char="\u03B2" />
               <telerik:EditorSymbol Char="\u0394" />
               <telerik:EditorSymbol Char="\u2122" />
               <telerik:EditorSymbol Char="\u25BA" />
           </Symbols>
           <Links>
               <telerik:EditorLink Href="http://www.uwaterloo.ca" Name="UWaterloo" />
               <telerik:EditorLink Href="http://www.grad.uwaterloo.ca" Name="Grad Office" />
               <telerik:EditorLink Href="http://www.registrar.uwaterloo.ca" Name="Registrars Office" />
               <telerik:EditorLink Href="http://www.techstudio.ca" Name="techStudio" />
               <telerik:EditorLink Href="http://www.Google.ca" Name="Google" />
           </Links>
           <Paragraphs>
               <telerik:EditorParagraph Tag="p" Title="Normal Paragraph" />
               <telerik:EditorParagraph Tag="h3" Title="<h3>Main heading</h3>" />
               <telerik:EditorParagraph Tag="h4" Title="<h4>Sub Heading</h4>" />
               <telerik:EditorParagraph Tag="h5" Title="<h5>Sub Sub Heading</h5>" />
           </Paragraphs>
           <Tools>
               <telerik:EditorToolGroup Tag="Custom">
                   <telerik:EditorTool Name="MarkForAddition" Text="Mark selected to be added" />
                   <telerik:EditorTool Name="MarkForRemove" Text="Mark selection to be deleted" />
                   <telerik:EditorTool Name="MarkAsComment" Text="Mark selected as comment" />
                   <telerik:EditorTool Name="TrackChangesDialog" />
               </telerik:EditorToolGroup>
                 
               <telerik:EditorToolGroup Tag="MainToolbar">
                   <telerik:EditorTool Name="AjaxSpellCheck" />
                   <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />
                   <telerik:EditorTool Name="Italic" ShortCut="CTRL+I" />
                   <telerik:EditorTool Name="Underline" ShortCut="CTRL+U" />
                   <telerik:EditorTool Name="Superscript" />
                   <telerik:EditorTool Name="Subscript" />
                   <telerik:EditorTool Name="StrikeThrough" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="ConvertToLower" />
                   <telerik:EditorTool Name="ConvertToUpper" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" />
                   <telerik:EditorTool Name="Cut" />
                   <telerik:EditorTool Name="Copy" ShortCut="CTRL+C" />
                   <telerik:EditorTool Name="PastePlainText" ShortCut="CTRL+V" />
                   <telerik:EditorDropDown Name="FormatStripper" >
                       <telerik:EditorDropDownItem Name="StripAll" />
                       <telerik:EditorDropDownItem Name="StripCss" />
                       <telerik:EditorDropDownItem Name="StripFont" />
                       <telerik:EditorDropDownItem Name="StripSpan" />
                       <telerik:EditorDropDownItem Name="StripWord" />
                   </telerik:EditorDropDown >
                   <telerik:EditorSplitButton Name="Undo" />
                   <telerik:EditorSplitButton Name="Redo" />
                   <telerik:EditorTool Name="Print" ShortCut="CTRL+P" />
                   <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup Tag="Inserts">
                   <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />
                   <telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" />
                   <telerik:EditorTool Name="InsertTableLight" />
                   <telerik:EditorTool Name="InsertTable" />
                   <telerik:EditorTool Name="ImageManager" />
                   <telerik:EditorTool Name="InsertParagraph" />
                   <telerik:EditorTool Name="InsertHorizontalRule" />
               </telerik:EditorToolGroup>
              <telerik:EditorToolGroup Tag="InsertToolbar">
                   <telerik:EditorTool Name="JustifyLeft" />
                   <telerik:EditorTool Name="JustifyCenter" />
                   <telerik:EditorTool Name="JustifyRight" />
                   <telerik:EditorTool Name="JustifyFull" />
                   <telerik:EditorTool Name="JustifyNone" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="Indent" />
                   <telerik:EditorTool Name="Outdent" />
                   <telerik:EditorTool Name="InsertOrderedList" />
                   <telerik:EditorTool Name="InsertUnorderedList" />
                   <telerik:EditorSeparator />
                   <telerik:EditorTool Name="ToggleTableBorder" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup>
                   <telerik:EditorTool Name="PageProperties" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup>
                   <telerik:EditorDropDown Name="FormatBlock">
                   </telerik:EditorDropDown>
                   <%--                    <telerik:EditorDropDown Name="ApplyClass">
                   </telerik:EditorDropDown>--%>
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup Tag="DropdownToolbar">
                   <telerik:EditorSplitButton Name="InsertSymbol" />
                   <telerik:EditorDropDown Name="InsertCustomLink" />
                   <telerik:EditorSeparator />
                   <telerik:EditorDropDown Name="Zoom">
                   </telerik:EditorDropDown>
                   <%--                    <telerik:Editortool Name="ModuleManager" />
                   --%>
                   <telerik:EditorTool Name="ToggleScreenMode" ShortCut="F11" />
               </telerik:EditorToolGroup>
               <telerik:EditorToolGroup Tag="DropdownToolbar">
                   <telerik:EditorDropDown Name="ApplyClass" />
                   <telerik:EditorTool Name="XhtmlValidator" Visible="True" />
               </telerik:EditorToolGroup>
           </Tools>
           <Content/>
           <ImageManager ViewPaths="/content/images" UploadPaths="/content/images" DeletePaths="/content/images"
               SearchPatterns="*.gif,*.png,*.jpg,*.jpeg,*.bmp" MaxUploadFileSize="2500000">
           </ImageManager>
           <DocumentManager ViewPaths="/content/documents" UploadPaths="/content/documents"
               DeletePaths="/content/documents" SearchPatterns="*.pdf,*.xls,*.xlsx,*.doc,*.docx,*.ppt,*.pptx,*.zip"
               MaxUploadFileSize="5000000"></DocumentManager>
           <FlashManager ViewPaths="/content/media" UploadPaths="/content/media" DeletePaths="/content/media"
               MaxUploadFileSize="5000000"></FlashManager>
           <MediaManager ViewPaths="/content/media" UploadPaths="/content/media" DeletePaths="/content/media"
               SearchPatterns="*.wmv,*.swf,*.avi,*.mpg,*.mpg4" MaxUploadFileSize="10000000">
           </MediaManager>
       </telerik:RadEditor>

Thanks
Clint
Dobromir
Telerik team
 answered on 02 Jun 2011
3 answers
236 views
I tried to upgrading radtabstrip control from 2.X to 3.X
I used to use my own Css Style in the control like following, in which my own css file was used.

<radts:radtabstrip id="tab" Runat="server" 
    CssClass="TabRadTabstrip" 
    TabTextSelectedCssClass="TabLabelText"
    TabTextHoverCssClass="TabLabelText"     
    TabTextDefaultCssClass="TabLabelText"     
    TabSelectedCssClass="TabLabelSelectedStyle"     
    TabHoverCssClass="TabLabelHoverStyle"
    TabDefaultCssClass="TabLabelDefaultStyle" CssFile="~/Modules/BroadcastEmail/EmailDesigner.css" SelectedIndex="0">
</radts:radtabstrip>

In current version, those css properties are removed.  What is the easiest way I can migrate my control by using my own css styles?

Thanks
Helen
Telerik team
 answered on 02 Jun 2011
1 answer
60 views
Hi team,

I created a custom skin for my RadTabStrip based on Offcie2007 skin, then placed the 2 related CSS files (Base & Skin)  into my Theme folder. Since my concern is Skin CSS, I left the Base file intact. Things are fine and no issues there.

However, when I attempted to validate my CSS through W3C, your Base CSS failed as indicated in attached screenshot. The reason for so as I understand from validation feedback is mainly due to the following:

  1. display: -moz-inline-stack
  2. zoom: 1
  3. @media screen and (min-width:50px)
  4. :root


I'm using build 1319.

Any suggestions?

Regards,
Saed

Ivan Zhekov
Telerik team
 answered on 02 Jun 2011
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?