Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
135 views
Hi,

I have created a new CustomComboBox control using RadComboBox control,when i tested the CustomCombobox it is working as good as  the RadComboBox contorl.
.

Now i want to apply custom skin or css for my CustomComboBox  control.
.
created a simple style like below,but the style is not applying to the control

.mycustomskin
{
background-color:Gray;
font-family:Arial;
color:white;
}

i checked in the page source and overwrite the style of rcblist  it worked,but i don't want to write like this.

.RadComboBox_Default  .rcblist
{
background_color:Gray 
font-family:Arial;
color:white;
}

is there any way that  i can  give mycontrol name and stylename instead of .RadComboBox_Default  .rcblist 

like

CustomComboBox_myskin .bgstyle
{
background_color:Gray  
font-family:Arial;
color:yellow
}

i heard about RadStylebuilder, what it will do?,if i use it ,will it solve my problem?, please help me..


Thanks and Regards
Sreekanth J.

Ivan Zhekov
Telerik team
 answered on 05 Apr 2012
2 answers
96 views
I'm using jQuery UI to make cloud items draggable. However, dragged items dissappear under the cloud container. I've tried setting z-index on item parents but can't get it right.

I was hoping you could suggest a possible road to a solution where cloud items would appear on top of everything else.

Please see code snippets belos and attached screen shots.

Code:
$(function () {
  $('li.rtcTagItem a').draggable({ zIndex: 2701, revert: true });
  ...
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 05 Apr 2012
1 answer
180 views
I am at a total loss, no matter what I do, one of these two scenarios will throw a Sys is undefined error while utilized the RadAjaxManager:

My two scenarios, what they have in common:
    I have a Master Page, on that Master Page I have a RadAjaxManager.

   Scenario 1: I have a content page where User Controls are Dynamically Added to the Page and inside of the UserControls I reference the SharedAjaxManager and AddAjaxSettings for controls within my custom USer Controls

   Scenario 2: I have a simple content page with Telerik Controls on It.

No matter how I define the RadAjaxManager it will ALWAYS fail one of these two scenarios when i try to ajaxify controls

I tried Defining it in the 3 following ways (2 ways are Programmatically in the Master Page, 1 way is By putting it in the MasterPage Markup)

protected override void OnInit(EventArgs e)
       {
           base.OnInit(e);
           if (MasterAjaxManager == null)
           {
               Telerik.Web.UI.RadAjaxManager SharedAjaxManager = new Telerik.Web.UI.RadAjaxManager();
               SharedAjaxManager.ID = "SharedAjaxManager";
              SharedAjaxManager.DefaultLoadingPanelID = RALP.UniqueID;
               form1.Controls.Add(SharedAjaxManager);
           }
public Telerik.Web.UI.RadAjaxManager MasterAjaxManager
       {
           get { return (Telerik.Web.UI.RadAjaxManager)this.form1.FindControl("SharedAjaxManager"); }
        }
       }

I also tried defining by:
protected void Page_Init(object sender, EventArgs e)
        {
           Telerik.Web.UI.RadAjaxManager SharedAjaxManager = new Telerik.Web.UI.RadAjaxManager();
            SharedAjaxManager.ID = "SharedAjaxManager";
            SharedAjaxManager.DefaultLoadingPanelID = RALP.UniqueID;
            this.Page.Form.Controls.Add(SharedAjaxManager);
        }
  
       public Telerik.Web.UI.RadAjaxManager MasterAjaxManager
        {
            get { return Telerik.Web.UI.RadAjaxManager.GetCurrent(Page); }
        }

And by:
<telerik:RadAjaxManager ID="SharedAjaxManager" runat="server" DefaultLoadingPanelID="RALP">
        </telerik:RadAjaxManager>
  
        public Telerik.Web.UI.RadAjaxManager MasterAjaxManager
        {
            get { return SharedAjaxManager; }
        }


And in each case where I ajaxify Controls I do this: (i tried referencing it through my own way and by RadAjaxManager.GetCurrent(Page) //I also tried using RadAjaxManagerProxy and setting it in the aspx page, but it still throws the same error
protected void Page_Load(object sender, EventArgs e)
        {
                         RegisterAjaxControls();
  
        }//end of PageLoad
  
 protected void RegisterAjaxControls()
        {
            //Needed to ajaxify this control
            RadAjaxManager manager = SharedAjaxManager;// RadAjaxManager.GetCurrent(Page);
            manager.AjaxSettings.AddAjaxSetting(btnCreateUser, panelEditUserContent);
            manager.AjaxSettings.AddAjaxSetting(cblCompanyFilter, panelEditUserContent);
            manager.AjaxSettings.AddAjaxSetting(rgUsers, panelEditUserContent);
        }


But the problem is.... My User Control way works fine and my controls are ajaxified, but the simpler of the two ways, on just the content page.. it will throw the sys is undefined error....

Why will it only work in one of the two instances?

Thanks,
Patrick
Top achievements
Rank 1
 answered on 05 Apr 2012
2 answers
108 views
I have a handler that serves documents similar to this poster: http://www.telerik.com/community/forums/aspnet-ajax/compression/radcompression-ashx-content-length-header-flush.aspx 

This stopped working when I enabled RadCompression, so I tried disabling it for the handler, but it still corrupts the reponse. I have verified that removing RadCompression completely fixes the problem, but I'd like to be able to use it for UI pages.

Am I doing this right?

Here's the relevant code from my web.config:
  <sectionGroup name="telerik.web.ui">
    <section name="radCompression" type="Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, Version=2011.1.519.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>
  </sectionGroup>
 
 
<telerik.web.ui>
    <radCompression enablePostbackCompression="false">
        <excludeHandlers>
            <!--Exclude document handler -->
            <add handlerPath="*.wmdoc" matchExact="false"/>
        </excludeHandlers>
    </radCompression>
</telerik.web.ui>
 
 
  <httpHandlers>
    <add type="MMS_Document" verb="*" path="*.wmdoc" validate="false"/>
  </httpHandlers>
Lucania
Top achievements
Rank 1
 answered on 05 Apr 2012
5 answers
293 views
Hello
I have an strange issue w/ the GridEditColumn expanding to a very large size in order to stretch the RadGrid to fill the horizontal display area, but only when the ButtonType of that column is set to "ImageButton".  When using "LinkButton" or "PushButton", all the columns of the RadGrid expand proportionally to fill the horizontal display.  The underlying data connection is an Oracle db, and the issue happens on different tables (but not all of them). It seems to depend on the total number of columns and therefore the total horizontal width of the grid.  If there are more columns than can be displayed, the horizontal scroll bar appears as expected. When the entire grid can be displayed, the columns expand proportionally to fit the width, but not if using "ImageButton",  In that case, the GridEditColumn is not proportionally expanded, but is overly wide.

Please see attached screen shots. I've tried changing the image used for the GridEditColumn, but that had no affect.
Using Telerik version: 2009.3.1314.20

Code is as follows:
<telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Horizontal" Width="100%"<br>        Height="100%" FullScreenMode="True" BorderSize="0" ResizeWithBrowserWindow="true" ResizeMode="Proportional" ResizeWithParentPane="False"><br> <telerik:RadPane ID="HeaderPane" runat="server" CssClass="header" Height="48px" Scrolling="None"><br> <table id="TableHeader" width="100%" style="height: 100%; "><br>  <tbody><br>  <tr valign="middle"><br>   <td style="font-size: 10pt; color: white;" width="48px"><br>    <img alt="" src="Images/CodeMaintLogo.gif" /><br>   </td><br>   <td align="left" style="font-size: 14pt; color: white;">&nbsp;Code Maintenance&nbsp;&nbsp;<br>   </td><br>   <td align="left" style="font-size: 10pt; color: white;" width="50px"><br>    <asp:Label ID="LinkOptions" runat="server" Font-Underline="True" ForeColor="White" Text="Options"> </asp:Label><br>   </td><br>   <td align="left" style="font-size: 10pt; color: white;" width="50px"><br>    <asp:Label ID="LabelLogout" runat="server" Font-Underline="True" ForeColor="White" Text="Logout"></asp:Label><br>   </td><br>   <td align="left" style="font-size: 10pt; color: white;" width="50px"><br>    <asp:Label ID="LabelUserID" runat="server" Font-Bold="True" Font-Size="12pt" Font-Underline="False" ForeColor="White"></asp:Label><br>   </td><br>  </tr><br>  </tbody><br> </table><br> </telerik:RadPane><br><br> <telerik:RadPane ID="MainPane" runat="server" Scrolling="None"><br>  <telerik:RadSplitter ID="RadSplitter2" runat="server" Width="100%" Height="100%" LiveResize="True" BorderSize="0"  FullScreenMode="True"><br>   <telerik:RadPane ID="TreePane" runat="server" CssClass="treepane_default" Width="300px" Height="100%"><br>    <telerik:RadTreeView ID="TreeView1" runat="server" SingleExpandPath="True"></telerik:RadTreeView><br>   </telerik:RadPane><br>   <br>   <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" Height="100%" Width="100%" /><br>    <telerik:RadPane ID="GridPane" runat="server" BackColor="#E0E0E0" Height="100%" Scrolling="None" Width="100%"><br>     <br>     <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" CssClass="MasterTable_Default" GridLines="None" PageSize="15" ShowDesignTimeSmartTagMessage="False" ShowGroupPanel="True" ShowStatusBar="True" Skin="Web20" Width="100%" Height="100%"><br>     <PagerStyle AlwaysVisible="True" BackColor="#D2D6DB" ForeColor="Blue" Mode="NextPrevAndNumeric"></PagerStyle><br>     <ClientSettings AllowDragToGroup="True" AllowGroupExpandCollapse="True"><br>      <Scrolling AllowScroll="True" ScrollHeight="100%"></Scrolling><br>      <ClientEvents OnColumnMouseOut="OnColumnMouseOut" OnColumnMouseOver="OnColumnMouseOver" OnFilterMenuShowing="OnFilterMenuShowing" OnGridCreated="GridCreated" OnRowDblClick="RowDblClick" /><br>     </ClientSettings><br>    <br>    <MasterTableView CellPadding="1" CommandItemDisplay="Top" EditMode="InPlace" GridLines="None" GroupLoadMode="Client"><br>      <HeaderStyle CssClass="grid_header" ForeColor="White" Wrap="False"></HeaderStyle><br>      <CommandItemTemplate><br>       <table width="900px" style="height: 100%"><br>        <tr align="left" valign="middle"><br>         <td align="center"><br>          <img alt="" src="RadControls/Grid/Skins/AddRecord.gif" style="border: 0px" /><br>          <asp:LinkButton ID="btnAdd" runat="server" CommandName="InitInsert" Text="Add new item"></asp:LinkButton><br>         </td><br>         <td align="center"><br>          <img alt="" src="Images/Filter.JPG" style="border: 0px" /><br>          <asp:LinkButton ID="BtnFilter" runat="server" CommandName="ShowFilter" Text="Show filter"></asp:LinkButton><br>         </td><br>         <td align="center"><br>          <img alt="" src="Images/Import.JPG" style="border: 0px" /><br>          <asp:LinkButton ID="BtnImport" runat="server" CommandName="Import" Text="Import data"></asp:LinkButton><br>         </td><br>         <td align="center"><br>          <img alt="" src="Images/Export.JPG" style="border: 0px" /><br>          <asp:LinkButton ID="BtnExport" runat="server" CommandName="Export" Text="Export data"></asp:LinkButton><br>         </td><br>         <td align="center"><br>          <img alt="" src="Images/History.JPG" style="border: 0px" /><br>          <asp:LinkButton ID="BtnHistory" runat="server" CommandName="History" Text="History"></asp:LinkButton><br>         </td><br>         <td align="center"><br>          <img alt="" src="RadControls/Grid/Skins/Refresh.gif" style="border: 0px" /><br>          <asp:LinkButton ID="btnRefresh" runat="server" CommandName="Rebind" Text="Refresh data"></asp:LinkButton><br>         </td><br>         <td> &#160; </td><br>        </tr><br>       </table><br>      </CommandItemTemplate><br>    <br>      <EditFormSettings CaptionFormatString="Update Code Table" ColumnNumber="2"><br>       <FormStyle BackColor="#EEF2EA" BorderColor="#6788BE" BorderStyle="Solid" BorderWidth="1px" CssClass="Grid_EditForm"></FormStyle><br>       <EditColumn ButtonType="PushButton" UniqueName="EditCommandColumn1"><br>       </EditColumn><br>       <FormTableButtonRowStyle HorizontalAlign="Center"></FormTableButtonRowStyle><br>       <FormTableStyle CellPadding="2" CellSpacing="0" CssClass="module" GridLines="Horizontal" /><br>       <FormCaptionStyle CssClass="Grid_EditFormHeader" Font-Bold="True" HorizontalAlign="Left" /><br>       <FormMainTableStyle CellPadding="3" CellSpacing="0" /><br>       <FormTableItemStyle Wrap="False" /><br>      </EditFormSettings><br>      <Columns><br>       <telerik:GridEditCommandColumn ButtonType="ImageButton" Reorderable="False" ShowSortIcon="False"><br>        <HeaderStyle ForeColor="DimGray" Width="20px" /><br>        <ItemStyle HorizontalAlign="Center" Width="20px" /><br>       </telerik:GridEditCommandColumn><br><br>       <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="DELETE" ConfirmText="Are you sure you want to Delete this record?" HeaderButtonType="PushButton" ImageUrl="~/RadControls/Grid/Skins/Web20/Delete.gif" Reorderable="False" ShowSortIcon="False" UniqueName="DeleteColumn"><br>        <ItemStyle HorizontalAlign="Center" /><br>       </telerik:GridButtonColumn><br>      </Columns><br>      <br>      <ExpandCollapseColumn Resizable="False" Visible="False"><br>       <HeaderStyle Width="20px"></HeaderStyle><br>      </ExpandCollapseColumn><br><br>      <RowIndicatorColumn Visible="False"><br>       <HeaderStyle Width="20px"></HeaderStyle><br>      </RowIndicatorColumn><br><br>      <FilterItemStyle BackColor="#D6D6D6" Wrap="False" /><br>      <EditItemStyle BackColor="#DCFC5C" VerticalAlign="Middle" Wrap="False" /><br>    </MasterTableView><br><br>    <EditItemStyle BackColor="#DCFC5C" VerticalAlign="Middle" Wrap="False"></EditItemStyle><br>    <ExportSettings><br>     <Pdf PageBottomMargin="" PageFooterMargin="" PageHeaderMargin="" PageHeight="11in" PageLeftMargin="" PageRightMargin="" PageTopMargin="" PageWidth="8.5in" /><br>    </ExportSettings><br>    <br>    <FilterItemStyle Wrap="False" /><br>    <GroupHeaderItemStyle BackColor="#FFEBCC" Font-Bold="True" Wrap="False" /><br>   </telerik:RadGrid><br>  </telerik:RadPane><br> </telerik:RadSplitter><br></telerik:RadPane><br><br><telerik:RadPane ID="FooterPane" runat="server" CssClass="footer" Height="20px"><br> <div style="text-align: right"><br><asp:Label ID="LabelVersion" runat="server" Font-Size="7pt" ForeColor="White" Text="1.0.0"></asp:Label><br><br></div><br></telerik:RadPane> <br></telerik:RadSplitter>

Any advise would be greatly appreciated.
Pavlina
Telerik team
 answered on 04 Apr 2012
10 answers
298 views
Hi Veronica,

My co-worker and I are trying to create a test user profile to test our application and we saw a javacript error like:
    Sys.InvalidOperationException: Handler must be a function

This error prevented us to retrieve our appointments on RadScheduler. 
I researched the Internet and somebody suggested to remove brackets/parenthenses when we call the event on the client side.  For example, before I had this on my RadScheduler:  
    OnClientFormCreated="OnClientFormCreated()"     I changed this into:  OnClientFormCreated="OnClientFormCreated"   

It works.  However, all my javacript codes inside this function are not working.  For example, I tried to hide options of reccurences like Hourly, Monthly, Yearly, End after, Saturday and Sunday checkboxes of weekly recurrence (see my following codes).  My question is which argument I should use to make these work like before:

function OnClientFormCreated(sender, eventArgs) 
                {
                    $telerik.$(".rsRecurrenceOptionList li:first-child").hide();
                    $telerik.$(".rsRecurrenceOptionList li:eq(1)").hide();                                                                    
                    $telerik.$(".rsRecurrenceOptionList li:eq(4)").hide();   
                    $telerik.$('input[id=RadScheduler1_Form_WeeklyWeekDaySaturday]').attr('checked', false); 
                    $telerik.$('input[id=RadScheduler1_Form_WeeklyWeekDaySunday]').attr('checked', false);                                
                    $telerik.$(".rsAdvWeekly_WeekDays li:eq(0)").hide();
                    $telerik.$(".rsAdvWeekly_WeekDays li:nth-child(5)").css("clear","");                     
                    $telerik.$(".rsAdvWeekly_WeekDays li:eq(6)").hide();                                                  
                    $telerik.$(".rsAdvRecurrenceRangePanel .rsAdvOptionsPanel ul li:nth-child(2)").hide();                                   
                }
Please help! 

Thanks so much!

Tiffany Phan


Cheri
Top achievements
Rank 1
 answered on 04 Apr 2012
4 answers
155 views
Hi there,

I am using Q3, asp.net 2.0 and I have run into this error: Exception has been thrown by the target of an invocation.

I do know what causes it, but I cannot find out how to solve.

I wrap a detailsview into the RadAjaxPanel and everything works fine. The problem is that I have some textboxes which do not allow the value null. Everything is fine if I type some values in these textboxes, but it throws this error if this textboxes are left null.

 I have set the RequiredFieldValidator for these textboxes, hoping it to show some alert messages to users to type in these boxes but they do not work with RadAjaxPanel. Perhaps I miss something with using validation with RadAjaxPanel?

Please advice.
Thanks.
Don
Top achievements
Rank 1
 answered on 04 Apr 2012
4 answers
296 views
HELP! (please)
I have a RadGrid.  I have two updatable columns.  When I try to update, nothing happens.

Here is my front end....
<telerik:RadGrid Width="550px" ID="RadGrid1" AllowMultiRowEdit="True" runat="server"
    OnItemCommand="RadGrid1_ItemCommand" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound">
    <MasterTableView DataKeyNames="HandlingPriceEstimationID" AutoGenerateColumns="False" EditMode="InPlace"
        CommandItemDisplay="Bottom">
        <Columns>
            <telerik:GridBoundColumn ReadOnly="true" DataField="HandlingPriceEstimationID" UniqueName="HandlingPriceEstimationID"
                Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn ReadOnly="true" DataField="UoMCode" UniqueName="UoMCode"
                Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn ReadOnly="true" DataField="UoMName" UniqueName="UoMName"
                HeaderText="UOM">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn ReadOnly="true" DataField="DimCode" UniqueName="DimCode"
                HeaderText="IBU">
            </telerik:GridBoundColumn>
            <telerik:GridNumericColumn ReadOnly="False" DataField="FirstItem" UniqueName="FirstItem"
                HeaderText="First Item" />
            <telerik:GridNumericColumn ReadOnly="False" DataField="RemainItem" UniqueName="RemainItem"
                HeaderText="Remaining Item" />
            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" />
        </Columns>
        <CommandItemTemplate>
            <asp:Button runat="server" ID="UpdateAll" Text="Update" CommandName="UpdateAll" />
        </CommandItemTemplate>
    </MasterTableView>
</telerik:RadGrid>

Here is my back end...  (my data source is in a data access layer)
protected void RadGrid1_NeedDataSource(Object source, GridNeedDataSourceEventArgs e)
        {
            CP_PortalDb db = new CP_PortalDb();
            DataTable dataTable = new DataTable();
            dataTable = db.StoredProcedures.stp_HandlingPriceEstimationGETALL_Command();
 
            string prevHPEID = "";
 
            foreach (DataRow dRow in dataTable.Rows)
            {
                string newHPEID = dataTable.Rows[0]["HandlingPriceEstimationID"].ToString();
 
                if (prevHPEID != newHPEID)
                {
                    dRow["HandlingPriceEstimationID"] = Convert.ToInt32(dataTable.Rows[0]["HandlingPriceEstimationID"]);
                    dRow["DimCode"] = dataTable.Rows[0]["DimCode"].ToString();
                    dRow["UoMCode"] = dataTable.Rows[0]["UoMCode"].ToString();
                    dRow["UoMName"] = dataTable.Rows[0]["UoMName"].ToString();
                    dRow["FirstItem"] = dataTable.Rows[0]["FirstItem"].ToString();
                    dRow["RemainItem"] = dataTable.Rows[0]["RemainItem"].ToString();
                }
                prevHPEID = newHPEID;
            }
 
            RadGrid1.DataSource = dataTable;
        }
 
        protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
        {
            CP_PortalDb db = new CP_PortalDb();
 
            if (e.CommandName == "UpdateAll")
            {
                if (RadGrid1.EditIndexes.Count == 0)
                {
                    return;
                }
 
                foreach (GridDataItem editedItem in RadGrid1.EditItems)
                {
                    Hashtable newValues = new Hashtable();
                    //The GridTableView will fill the values from all editable columns in the hash
                    e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem );
 
                    int returnedID = Convert.ToInt32(editedItem.GetDataKeyValue("HandlingPriceEstimationID"));
                     
 
                    if (e.Item is GridDataItem)
                    {
                        GridDataItem fItem = (GridDataItem) e.Item;
                        GridDataItem rItem = (GridDataItem) e.Item;
 
                        double fItemHandPrice = Convert.ToDouble(fItem["FirstItem"]);
                        double rItemHandPrice = Convert.ToDouble(rItem["RemainingItem"]);
 
                        db.StoredProcedures.stp_MaterialHandlingEstimationUPDATE_Command(returnedID, fItemHandPrice, rItemHandPrice);
                    }
 
                    editedItem.Edit = false;
 
                }
                e.Item.OwnerTableView.Rebind();
            }
        }
 
        protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem && e.Item.IsInEditMode)
            {
                GridDataItem dataItem = e.Item as GridDataItem;
                //Hides the Update button for each edit form
                dataItem["EditCommandColumn"].Controls[0].Visible = false;
            }
        }


My update is a stored procedure that requires three Parameters... the ID of the edited row, the value of the edited column, or columns.
I can't get it to do the actual update.  I've looked at samples, and tried to match the examples (with  minor changes for my stored procedures - and population).  However, I'm still not able to get the update working.

If you can pinpoint my error and help me correct it, I'd be very much obliged.

Thanks, in advance. :-)
Mark
Top achievements
Rank 1
 answered on 04 Apr 2012
1 answer
100 views
Hello, 

I am having the same issue in my application with the drag and drop on the Scheduler. I have the version 2012.1.215.40. Every time I am using Chrome when I try to drag and drop my event inside the scheduler in go to the top of the column day or active the click event on the new position that I drop it. I saw that this and old issue so I dont know if I am missing some configuration in my controls since this is an old application.

 Thanks
 
Ivana
Telerik team
 answered on 04 Apr 2012
5 answers
92 views
Hi,

We have a RadEditor with AutoResizeHeight="true" that is located inside a outer div that has scroll.
When the entire window is about the same size as the div (in our case the div is always resized with the window), the page scrolls away and content that were located above the editor is not visible anymore!
In our case it is the outer div that handles the scroll, so we have set the page to not display scroll at all (overflow:none).

A simplified example:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="test.aspx.vb" Inherits="WebApplication1.test" %>
 
<!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" style="overflow: hidden">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="s" runat="server">
    </asp:ScriptManager>
    <div style="background-color: Red; color: White">
        Some other content!!!
    </div>
    <div style="width: 800px; height: 300px; overflow: auto; background-color: Black">
        <telerik:RadEditor ID="aa" runat="server" ContentAreaMode="Div" AutoResizeHeight="true">
        </telerik:RadEditor>
    </div>
    </form>
</body>
</html>

In this simplified example I have hardcoded the div size, to simulate this behavior you have to resize the browser window to ~same size as the div.
When doing this, first enter new-lines until there is a substantial scroll in the div, then paste some content last in the editor.
When pasted you can notice that the text above the editor disappears, the entire page has scrolled instead of the div!!!

I have only seen this behavior in IE9, and it is a kinda new thing, I have only tested with 2012 Q1 release where it happens, and 2011.2.915 release where it doesn't happen at all!
It appears in both Div-mode and Iframe-mode...

Regards
Caesar

Dobromir
Telerik team
 answered on 04 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?