RadEditor toolbar dropdown items not showing inside Radwindow

3 posts, 0 answers
  1. Neal
    Neal avatar
    114 posts
    Member since:
    Apr 2008

    Posted 30 Mar 2009 Link to this post

    Hi Guys,

    2 issues: RadEditor in RadWindow ...and RadTabstrip (Q2 2008) in RadWindow .  (no problem if in non popup radwindow)

    Scenario:
    I pop up a radwindow from some other aspx, in it I have a RadMultipage and Tabstrip, 2 of the PageViews have a grid in them, (simple .. bind the grids using need datasource,   the third tab/pageview has a RadEditor...All basic std use/setup/functionality

    1)  RadEdior:   When I run the app and call the popup-radwindow , the dropdowns don't drop down,  and other toolbar items don't do anything postback (eg.Bold or Italics or any one of them ).

    If HOWEVER i run this "popup" directly (select the popped up aspx from Solution explorer and View  in Browser), it works.

    I HAVE TRIED IT IN using vers.  q4 2006 and  q2 2008,  (also mixing the two versions  (Q2 2008 for the radeditor, Q4 2006 for the Tabstrip)...View in browser as non popup,..no problem. as popup ...No Go

    2)  the Tabstrip (Q2 2008 in the same popup/radwindow) will not work in a popup situation, (Won't change tabs)  but does in a Standalone non - popup scenario. (Q4 2006 works fine in RadWindow Popup scenario,..only Radeditor toolbar items non-responsive).

    Thirdly ..(bye the bye)   Also, the Rad window repositions itself ...?

    I get the Browser status bar error (again only in popup mode..and  irrespective of code I have in the Markup or CodeBehind (eg removing the grids and their Code behind events)

    Line 5821
    Char 12
    Sys.ArgumentOutOfRange Exception:
    Value must be an integer
    Parameter name: x
    Actual value was Nan
    Code:0

    TIA
    Neal

    Markup....Registrations

    <%

    @ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

     

     

    Namespace="System.Web.UI" TagPrefix="asp" %>

     

    <%

    @ Register Assembly="Telerik.Web.UI, Version=2008.2.723.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

     

     

    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

     

     

    <%

    @ Register TagPrefix="radG" Namespace="Telerik.WebControls" Assembly="RadGrid.Net2" %>

     

    <%

    @ Register TagPrefix="rada" Namespace="Telerik.WebControls" Assembly="RadAjax.NET2" %>

     

    <%

    @ Register tagprefix="radW" namespace = "Telerik.WebControls" assembly="RadWindow.Net2" %>

     

    ...
    ...
    ...

     

    <telerik:RadTabStrip ID="rtsContact" runat="server" Orientation="HorizontalTop"

     

     

    MultiPageID="RadMultiPage1" Visible="true" skin="Outlook"

     

     

    SelectedIndex="0" PerTabScrolling="True" Width="100%" >

     

     

    <Tabs>

     

     

    <telerik:RadTab PageViewID="PageView1" Text="Sched. Detls & Prem Calc. "

     

     

    Width="250px" runat="server" Selected="True">

     

     

    </telerik:RadTab>

     

     

    <telerik:RadTab PageViewID="PageView2" Text="Banking Details"

     

     

    runat="server"

     

     

    Width="250px">

     

     

    </telerik:RadTab>

     

     

    <telerik:RadTab PageViewID="PageView3" Text="Notes"

     

     

    runat="server"

     

     

    Width="250px">

     

     

    </telerik:RadTab>

     

     

    </Tabs>

     

     

    </telerik:RadTabStrip>

     

     

    <telerik:RadMultiPage ID="RadMultiPage1"

     

     

    runat="server" SelectedIndex="0" Height="100%">

     

     

     

    <telerik:RadPageView ID="PageView1" runat="server" Width="100%" Height="100%">

     

     

     

     

     

            ....Typical RadGrid here
    </
    telerik:RadPageView>

     

     

     

    <telerik:RadPageView ID="PageView2"

     

     

    runat="server" Width="550px" Height="300px">

     

    ....  ....Typical RadGrid here
    </telerik:RadPageView>

     

     

    <telerik:RadPageView ID="PageView3"

     

     

    runat="server" Width="550px" Height="300px">

     

     

    <asp:Panel ID="pnlBottom" runat="server" >

     

     

    <telerik:RadEditor

     

     

    ID="RadEditor1"

     

     

    runat="server"

     

     

    Style="position: relative; left: 0px;"

     

     

    Width="99%" Height="300px"

     

     

    enabled="true">

     

     

    <Content>

     

     

    </Content>

     

     

    </telerik:RadEditor>

     

     

    <%

    --Scripts for RadEditor ..custom dropdowns..invoking their scripts and the __DoPostback--%>

     

         Telerik.Web.UI.Editor.CommandList[

    "Save"] = function(commandName, editor, args)

     

         {

           __doPostBack(commandName,args);

         };

    </

    script>

     

     

     

    </asp:Panel>

     

     

    </telerik:RadPageView>

     

     

    </telerik:RadMultiPage>

     

     

    <div>

     

     

    </div>

     

     

    </form>

     

    </

    body>

     

    </

    html>

     


  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 01 Apr 2009 Link to this post

    Hello Neal,

    We tried to reproduce the problem with both 2009.1 311 and 2008.2.723.20 but everything is working as expected. Please open a support ticket and send us a small sample project (make sure it can be run locally) and we will do our best to help you.

    Regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Neal
    Neal avatar
    114 posts
    Member since:
    Apr 2008

    Posted 02 Apr 2009 Link to this post

    Hi Georgi,


    Thanks,...after much headscratching, the only thing which could have been different was the versions in use.  Sure enough, I was using a much older version of the RadWindow as dialog from the calling page (maybe still 2006.4), whilst the rest was upgraded to 2008.2 or 2209.1.
    So,..Changed it's dll.refresh path to the new  Telerik.Web.UI.dll and All's well.
    (It had affected the tabs on the tabstrip as well, ir not changing tabs,..spoke to Georgi re this as well.)
    Now it seems everything is working perfectly again.

    Rgds
    Neal

Back to Top