This is a migrated thread and some comments may be shown as answers.

radEditor control Within radTabStrip’s RadMultiPage

5 Answers 157 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 12 May 2008, 06:46 PM

I am having problem validating my radEditor control. I have placed the radEditor inside radTabStrip’s RadMultiPage. Also I am using radAjaxPanel on the page. When I enter text in radEditor it still gives required field error. Here is the code :

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register Assembly="RadTabStrip.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<%@ Register namespace="Telerik.WebControls" assembly="RadEditor.Net2" tagPrefix="radE" %>

<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

    <title>Untitled Page</title>

</head>

<body>

    <form id="form1" runat="server">

    <rad:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">

   <rad:RadTabStrip  ID="rtsTabMain" runat="server" MultiPageID="rmpTabMain" Skin="ClassicGrey" AutoPostBack="True" CausesValidation="False">

         <Tabs>

             <rad:Tab ID="Tab1" runat="server" PageViewID="pvProfile" Text="Profile">

             </rad:Tab>

             <rad:Tab ID="Tab2" runat="server" PageViewID="pvMail" Text="Mail">

             </rad:Tab>

             <rad:Tab ID="Tab3" runat="server" PageViewID="pvBlogs" Text="Blogs">

             </rad:Tab>

             <rad:Tab ID="Tab4" runat="server" PageViewID="pvPPVPickem" Text="PPV Pick’em">

             </rad:Tab>

             <rad:Tab ID="Tab5" runat="server" PageViewID="pvSettings" Text="Settings">

             </rad:Tab>

         </Tabs>

   </rad:RadTabStrip><radA:AjaxLoadingPanel id="AjaxLoadingPanel2" runat="server" Width="75px" Height="75px">

        <asp:Image ID="Image2" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading.gif"  />

    </radA:AjaxLoadingPanel>

   <rad:RadMultiPage ID="rmpTabMain" runat="server" Width="100%" RenderSelectedPageOnly="True" SelectedIndex="0">

    <rad:PageView ID="pvProfile" runat="server"></rad:PageView>

    <rad:PageView ID="pvMail" runat="server"></rad:PageView>

    <rad:PageView ID="pvBlogs" runat="server">

   

   

    <asp:validationsummary id="vsBlog" runat="server" CssClass="error" HeaderText="You have the following errors:" ValidationGroup="a"></asp:validationsummary>

        <asp:textbox id="txbTitle" runat="server" Width="270" ValidationGroup="a"></asp:textbox>

                        <asp:requiredfieldvalidator id="rfvTitle" runat="server" ErrorMessage="Title" CssClass="error" ControlToValidate="txbTitle" ValidationGroup="a">*</asp:requiredfieldvalidator>

                <asp:RequiredFieldValidator ID="rfvBlog" runat="server" ErrorMessage="Blog" Text="*" ControlToValidate="reTxt" ValidationGroup="a"></asp:RequiredFieldValidator>

                  <radE:RadEditor ID="reTxt"  runat="server" ToolsFile="RadControls/Editor/BasicTools.xml" ConvertTagsToLower="True" ConvertToXhtml="False" DocumentsFilters="*.*" EnableClientSerialize="True" EnableContextMenus="True" EnableDocking="True" EnableEnhancedEdit="True" EnableHtmlIndentation="True" EnableServerSideRendering="True" EnableTab="True" ImagesFilters="*.gif,*.xbm,*.xpm,*.png,*.ief,*.jpg,*.jpe,*..jpeg,*.tiff,*.tif,*.rgb,*.g3f,*.xwd,*.pict,*.ppm,*.pgm,*.pbm,*.pnm,*.bmp,*.ras,*.pcd,*.cgm,*.mil,*.cal,*.fif,*.dsf,*.cmx,*.wi,*.dwg,*.dxf,*.svf" MediaFilters="*.asf,*.asx,*.wm,*.wmx,*.wmp,*.wma,*.wax,*.wmv,*.wvx,*.avi,*.wav,*.mpeg,*.mpg,*.mpe,*.mov,*.m1v,*.mp2,*.mpv2,*.mp2v,*.mpa,*.mp3,*.m3u,*.mid,*.midi,*.rm,*.rma,*.rmi,*.rmv,*.aif,*.aifc,*.aiff,*.au,*.snd" PassSessionData="True" RenderAsTextArea="False" Skin="Monochrome" SpellEditDistance="1" TemplateFilters="*.html,*.htm" ToolbarMode="Default" ToolsWidth="" ShowSubmitCancelButtons="false" ValidationGroup="a"></radE:RadEditor>

                  <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="a" />

                <asp:Button ID="btnUpdate" Visible="false" runat="server" Text="Update" ValidationGroup="a" />

   

   

   

   

    </rad:PageView>

    <rad:PageView ID="pvPPVPickem" runat="server"></rad:PageView>

    <rad:PageView ID="pvSettings" runat="server"></rad:PageView>

    </rad:RadMultiPage>

      

   

       

    </rad:RadAjaxPanel>

    </form>

</body>

</html>

5 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 14 May 2008, 11:13 AM
Hello Mark,

Thank you for reporting this problem. We were able to reproduce it and we logged it in our bug tracking system for fixing. We will fix the problem in the next hotfix of RadEditor for ASP.NET.

Regards,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Robert
Top achievements
Rank 1
answered on 18 Jul 2011, 07:09 PM
We are experiencing somewhat the same thing.

Has this been fixed?  We are using Q3 2010 and when you place a RadEditor inside a RadTabStrip w/RadMultiPage, the editor's toolbar buttons do not work.

This is occurring for us in IE9 only.
0
Kate
Telerik team
answered on 21 Jul 2011, 04:06 PM
Hello Robert,

I tested the issue but I can not reproduce it in IE9 using Q1 2011 SP1. Please take a look at the attached sample page and let me know if I am missing something in the scenario. I would be grateful if can modify it in a way that the issue is visible.

Regards,
Kate
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Robert
Top achievements
Rank 1
answered on 21 Jul 2011, 04:28 PM
I created a asp.net telerik website in visual studio using 2010 q3 version of the suite (which is what we are using right now). asp.net 3.5

I did not modify the aspx page itself, but I was able to reproduce the issue just by using the settings I mention above.

I tried to zip up the whole project and attach it but it is 8mb with the telerik suite referenced. And it looks like I can't upload a zip or rar file anyway in the forum.

Any chance you could try this with 2010 q3 asp.net 3.5 yourself? We'd rather not upgrade at this point in time as we are finishing up a release and would like to wait until our next release to upgrade our telerik suite.
0
Kate
Telerik team
answered on 22 Jul 2011, 11:06 AM
Hi Robert,

In the ticket information box it seems that the code that is provided above refers to the asp.net classic controls. Please note that we no longer provide support for them(you can read more about that here). However, since you use the 2010 Q3 version of the controls, in order to test the issue that you encounter I will need some code or some more detailed explanation on how the reproduce the problem. Since our forums do not allow attaching of  a zip file (as you have noticed) I would suggest that you open a support ticket and send us the code that demonstrates the issue so we can help you with a suitable solution.

Best wishes,
Kate
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
TabStrip
Asked by
Mark
Top achievements
Rank 1
Answers by
Paul
Telerik team
Robert
Top achievements
Rank 1
Kate
Telerik team
Share this question
or