Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
Hi there

I have noticed an issue in Chrome and IE (all versions) where the Paragraph Style window is not displaying the correct format (as visible in the HTML code)

In the ToolsFile.xml, is the following code:

<paragraphs>
        <paragraph name="<h2>Heading 2</h2>" value="<h2>" />
        <paragraph name="<h3>Heading 3</h3>" value="<h3>" />
        <paragraph name="<h4>Heading 4</h4>" value="<h4>" />
    <paragraph name="<h5>Sub content</h4>" value="<h5>" />
        <paragraph name="<p>Paragraph</p>" value="<p>" />
    </paragraphs>

When selecting a block of text in chrome that has been formatted with <p> tags, or clicking inside a block of text  in Internet Explorer that has been formatted with <p> tags, the Paragraph Style window displays as 'Normal' as opposed to displaying 'Paragraph' (as it does correctly in Firefox). Other style types (H2, H3 etc) seem to display correctly in the Paragraph Style window normally in all browsers

The problem is this confused our clients who think the editor is failing to format paragraphs correctly (even though the html is correctly formatted)

Has anyone else noticed this behavior or would know a workaround?

Edit: Product version is 2010.2.929.40 by the way

Cheers
Pat
Ianko
Telerik team
 answered on 09 Dec 2013
3 answers
199 views
I am using DotNetNuke 6 I have made a dnn module and added a telerik:RadAjaxManager to smooth over postbacks. The issue that occurs is that after the postback the skin becomes all screwy, and I am not sure what about the telerik control is causing this issue. Also, it will stop some postback actions to occur from occuring**. Here is the telerik code:

**An example of this would be that I have a droplist that once selected fills another droplist, labels and textfields with data from sql. Sometimes with the telerik code in place that autofill functionality will not execute.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="Panel1">
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="Panel1"
                                    LoadingPanelID="RadAjaxLoadingPanel1" />
        </UpdatedControls>
    </telerik:AjaxSetting>       
</AjaxSettings>
</telerik:RadAjaxManager>
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"
                         Height="75px" Width="75px" style="position:absolute;" IsSticky="false"
                         MinDisplayTime="500">
<img alt="Loading..."
     src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
     style="border: 0px;" />
</telerik:RadAjaxLoadingPanel>
please note that the beforePostback.jpg occurs before any postback and reflects the skin if the telerik scripting is removed. Once added and a postback occurs I get what happens in the afterpost.jpg. Without the loading functionality of the telerik the postbacks drag but with it, the module does not function correctly and the DNN skin breaks. 
Maria Ilieva
Telerik team
 answered on 09 Dec 2013
1 answer
69 views
Hi,

Please check the attached screenshot for the problem.

White vertical lines on some tabs.

Thanks,

Charles
Kate
Telerik team
 answered on 09 Dec 2013
1 answer
47 views
Hi.
im exporting my grid to pdf. At the end i want to add some text. How to add the text at the end of pdf file?
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2013
1 answer
168 views
I need to create some icons for custom editor toolbar tools. What size do they need to have to display nicely with all default toolbar icons?
Vessy
Telerik team
 answered on 09 Dec 2013
2 answers
127 views
Dear Telerik,

I'm having the following probelm:

We have a telerik:RadGrid that uses grouping, filtering, sorting and paging. The filtering and page-size selection do not work when paging is enabled. The strange thing is: when I click on one of the column headers, the grid is sorted correctly AND filtering and page-size chainging suddenly works. As soon as I remove the AllowPaging="true" property of the RadGrid, filtering works on first load.

I noticed that there are JavaScript error messages displayed when the page loads and when you click any of the filters. These are only shown when paging is activated and you haven't sorted the grid yet.

The error messages are:

ReferenceError: WebForm_InitCallback is not defined (displayed when page is loaded)

and

TypeError: $find(...) is null (displayed every time you click on a filter icon)


What can cause there errors? Please help me. Thank you.
Michael
Top achievements
Rank 2
 answered on 09 Dec 2013
23 answers
319 views
Hi 

I have recently upgraded my browser to IE9 (version 9.0.8112.16421) , all of sudden AJAX Radlistbox stopped showing items on browser when I have headertemplate and height specified. But technically items are available when I access through client API.

Is there anyway to fix this ? in chrome its working fine
<telerik:RadListBox ID="RadListBox1" runat="server" Height ="400px"  Width="250px">
         <ButtonSettings TransferButtons="All"></ButtonSettings>
         <Items>
             <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="gssdf" Value="fg89fgf" />
             <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="565" Value="fg787fgf" />
             <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="gs676sdf" Value="f787gfgf" />
             <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="gs565sdf" Value="fg87fgf" />
         </Items>
         <HeaderTemplate >
              <input id="chkALLExpr" type="checkbox" onclick="ChkALLExpressions();" />
             Select ALL
         </HeaderTemplate>
        <%-- <FooterTemplate>
             <input id="cmdRemoveExpr" type="button" value="Delete" onclick="cmdDeleteExpression_Click();" />
             <input id="cmdNewExpression" type="button" value="New Expression" onclick="cmdNewExpression_Click();" />
         </FooterTemplate>--%>
     </telerik:RadListBox>


Thanks
Asankhan 
Bozhidar
Telerik team
 answered on 09 Dec 2013
1 answer
145 views
I have a RadTabStrip on a page with three tabs. Each tab has a user control inside it.
When the user is editing an existing record, the tabs should be enabled. But when the user is entering a new record, the tabs should be disabled. After the user enters a new record and clicks the save button and the new record has been added to the database, I want to enable the tabs.
Ideally, I would enable the tabs in the RadTabStrip Load event, but this event fires before the user control is loaded and the events which add the new record to the database.
I tried enabling the tabs in the Page LoadComplete event, but this seems to have no effect. I verified with the debugger that the tabs are enabled inside the LoadComplete event, but they aren't enabled when the page is rendered. Is there some other way to accomplish this?
protected void Page_LoadComplete(object sender, EventArgs e)
{
    bool enabled;
    if (SessionHandler.SelectedID == "Unknown")
    {
      // new record
        enabled = false;
    }
    else
    {
      // existing record
        enabled = true;
    }
    foreach (RadTab tab in RadTabStrip1.Tabs)
    {
        tab.Enabled = enabled;
    }
}
Tim
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 09 Dec 2013
1 answer
139 views
Hello,

I want to show the CommandItemTemplate in "Top" only. I am using the default commanditemtemplate of RadGrid. I have set CommandItemDisplay = "Top", then also the commanditemtemplate toolbar is showing in top and bottom.

Please look on to the following code:

<telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" AllowAutomaticUpdates="True"

        AllowAutomaticInserts="False" AllowAutomaticDeletes="False" AllowFilteringByColumn="True"

        AllowSorting="True" PageSize="20" ShowFooter="True" AllowPaging="True" runat="server"

        GridLines="None" EnableLinqExpressions="false" EnableHeaderContextMenu="true" Height="780px"

        EnableHeaderContextFilterMenu="true" AllowMultiRowSelection="True"

        OnPreRender="RadGrid1_PreRender"

        OnInsertCommand="RadGrid1_InsertCommand"

        OnUpdateCommand="RadGrid1_UpdateCommand"

        OnDeleteCommand="RadGrid1_DeleteCommand"  

        OnNeedDataSource="RadGrid1_NeedDataSource"

        OnItemCommand="RadGrid1_ItemCommand"

        OnItemCreated="RadGrid1_ItemCreated"

        OnItemEvent="RadGrid1_ItemEvent"

        OnExportCellFormatting = "RadGrid1_ExportCellFormatting">

  

        <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle>

        <GroupingSettings CaseSensitive="false"></GroupingSettings>

        <ExportSettings IgnorePaging="false" ExportOnlyData="true" OpenInNewWindow="true">

            <Pdf PageWidth="1000px" />           

        </ExportSettings>

         

        <MasterTableView DataKeyNames=" ID" AutoGenerateColumns="false" IsFilterItemExpanded="false"

            EditMode="Batch" CommandItemDisplay="Top" AllowFilteringByColumn="True"

            ShowFooter="false" TableLayout="Auto" ShowHeadersWhenNoRecords="true" Width="112%"

            CommandItemSettings-SaveChangesText="Save" CommandItemSettings-CancelChangesText="Cancel"

            CommandItemSettings-AddNewRecordText="Add">

             

            <%--Buttons Settings of Export and Add New--%>

            <CommandItemSettings ShowAddNewRecordButton="true" ShowExportToWordButton="true"

                ShowExportToExcelButton="true" ShowExportToCsvButton="false" ShowExportToPdfButton="true" />

             

            <%--Type of Edit - Show EditMode of one Cell at a time or Row at a time--%>

            <BatchEditingSettings EditType="Cell" />

             

            <%--Sort Expression Settings--%>

            <SortExpressions>

                <telerik:GridSortExpression FieldName="Product_Name" />

            </SortExpressions>

            <Columns>
                 ......
               
</Columns>
        </MasterTableView>        
        <HeaderStyle Height="40px" />
        
        <%-- Functionality Settings  --%>
        <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
            <Resizing AllowColumnResize="True" AllowRowResize="false" ClipCellContentOnResize="true"
                AllowResizeToFit="true" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />
            <Scrolling AllowScroll="true" UseStaticHeaders="True" SaveScrollPosition="true"/>
            <Selecting AllowRowSelect="true" />
            <ClientEvents  />
        </ClientSettings>
    </telerik:RadGrid>



I want to show commanditemtemplate in "Top" only.

Please suggest me, what i am missing here.

Princy
Top achievements
Rank 2
 answered on 09 Dec 2013
3 answers
178 views
Is there a way to scale a Rad Rotator image proportionally without stretching it? I basically want an image to take up the entirety of the rotator's box with no white-space on the X or Y axis, but I don't want the image to be distorted. It works now when I tell the image/item to have 100% width, but if any image is REALLY wide, I have whitespace on the top and bottom of the fixed-size rotator. The same applies if I size an image/item with 100% height... I just want the whole screen -filled- regardless of the dimensions of the image, but no stretching.

This is for a full-screen rotator that displays images on a TV, where the administrator simply drags images into a folder.
Slav
Telerik team
 answered on 09 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?