Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
Hi

Think I have found an issue ion the Editor when using an imagemap and then dragging the image within the editor.  Reproducable every time :

  1. Open editor demo page
  2. Click the "RadEditor" logo then press the "Image Map Editor" button
  3. In the dialog which appears drag an image map shape over the logo (leaving all options at their defaults) then click the "Ok" button
  4. If you look at the source you should have something similar to the following :

    <img style="border-style: solid; border-width: 0px;" usemap="#rade_img_map_1255441215788" alt="product logo" src="../../Img/productLogoLight.gif" />is not simply an HTML Editor 


  1. Now go back to design mode and drag the image anywhere on the page
  2. At this point the image disappears from view and on inspecting the source only the following HTML source for the image remains :

<href="http:///">http://</a> 

Steve

Steve
Top achievements
Rank 1
 answered on 19 Oct 2009
3 answers
98 views
Hello,

I am populating the Telerik RadDatePicker field with a Date value. Then I run a JavaScript Confirm() statement asking the user to choose "ok" or "Cancel". When the message box  pops up  asking for user confirmation, the RadDatePicker field gets cleared.  After the user chooses "ok" or "cancel", the RadDatePicker value is populated again.

How can I make sure that the Rad DatePicker field, is populated even when the Confirm() message box pops on the screen.

Thanks

Ramesh
Veli
Telerik team
 answered on 19 Oct 2009
2 answers
71 views
Hi,

Right now we have to click on the OK button of the Webpart property dialog to save the content of a "RAD Editor webpart".

Is it possible to add a save button in the toolbar to save the content ? So user would click on save within the same toolbar instead of having to switch to the webpart property pane.

I've attached a picture which illustrate what I want. If this is possible, could you provide some guidelines on how to achieve this?

thank you,
Jean
Jean
Top achievements
Rank 1
 answered on 19 Oct 2009
2 answers
696 views
Hi,

I am haveing a rad window whose url is set through function SetURL() from client side. Now the problem is The url from where I am calling the rad window is
"Page/Application/SomePage.aspx". Rad window url is "Page/Lease/Somepage.aspx". Now when i tried to set url like seturl(~/Page/Lease/Somepage.aspx") it appended the url and became Page/Application/SomePage.aspx/~/Page/Lease/Somepage.aspx. How should i get through this?

Thank you
Rakesh
Princy
Top achievements
Rank 2
 answered on 19 Oct 2009
3 answers
183 views

I am currently using Telerik version 2008.3.1105.35
I have set width and height for the radwindow manager but i was not reflecting when page render. the width and height automanically changed at the runtime. following code we used for radwindow.
"<
telerik:RadWindowManager ID="RadWinMgrQualification" runat="server" Left=""  NavigateUrl="" Title="" Top="" >  

 

<Windows 

 

<telerik:RadWindow ID="Qualification" runat="server" Modal="True" Title="Qualification" Height="500px"  

 

Width="600px" Left="100px" Top="100px" ReloadOnShow="True" Behavior="None" />  

 

</Windows 

 

</telerik:RadWindowManager>"

how to give fixed height and width for radwindow.

 

 

Georgi Tunev
Telerik team
 answered on 19 Oct 2009
3 answers
81 views
hi,
i use a radwindow and a radgrid in a usercontrol.after radwindow clientclose,
$find("<%= RadGrid1.ClientID %>")
and
$find("<%= RadAjaxManager1.ClientID %>") return null.
i add usercontrol to the page in runtime using loadcontrol.
what should i do?
thanks
Sebastian
Telerik team
 answered on 19 Oct 2009
1 answer
144 views
For some reason my first editor on my page will not show modules no matter what I've tried.. does anyone have any idea why this is occuring?

  <telerik:RadTabStrip ID="radtabstrip1" runat="server" Skin="Web20" MultiPageID="RadMultiPage1"
                    <tabs> 
                        <telerik:RadTab Text="HTML"
                        </telerik:RadTab> 
                        <telerik:RadTab Text="TEXT"
                        </telerik:RadTab> 
                    </tabs> 
                </telerik:RadTabStrip> 
                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"
                    <telerik:RadPageView ID="RadPageView1" runat="server" Visible="true"
                        <telerik:RadEditor ID="HTMLEditor" OnClientLoad="OnClientLoad" EditModes="All"  
                            SkinID="BasicSetOfTools" Width="650" Height="460px" runat="server" Skin="Web20" 
                            ExternalDialogsPath="~/EditorDialogs/" EnableResize="false" > 
                            <modules> 
                                <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> 
                                <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" Visible="true" /> 
                                <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" /> 
                            </modules> 
                            <contextmenus> 
                                <telerik:EditorContextMenu TagName="A" Enabled="true"
                                    <telerik:EditorTool Name="Unlink" /> 
                                    <telerik:EditorTool Name="LinkManager" /> 
                                </telerik:EditorContextMenu> 
                                <telerik:EditorContextMenu TagName="*" Enabled="true"
                                    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> 
                                    <telerik:EditorDropDown Name="PasteFromWord" /> 
                                    <telerik:EditorDropDown Name="PastePlainText" /> 
                                    <telerik:EditorDropDown Name="LinkManager" /> 
                                </telerik:EditorContextMenu> 
                                <telerik:EditorContextMenu TagName="IMG"
                                    <telerik:EditorTool Name="Cut" /> 
                                    <telerik:EditorTool Name="Copy" /> 
                                    <telerik:EditorTool Name="Paste" /> 
                                </telerik:EditorContextMenu> 
                            </contextmenus> 
                            <tools> 
                                <telerik:EditorToolGroup> 
                                    <telerik:EditorTool Name="SaveDesign" Text="Save" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorTool name="ClearHTML" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FindAndReplace" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Cut" /> 
                                    <telerik:EditorTool Name="Copy" /> 
                                    <telerik:EditorTool Name="Paste" /> 
                                    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> 
                                    <telerik:EditorTool Name="FormatStripper" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="InsertHorizontalRule" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="Undo" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Redo" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="LinkManager" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Unlink" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="InsertTable" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ToggleScreenMode" Text="Full Screen" /> 
                                </telerik:EditorToolGroup> 
                                <telerik:EditorToolGroup> 
                                    <telerik:EditorTool Name="FormatBlock" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FontName" Text="Font" /> 
                                    <telerik:EditorTool Name="FontSize" Text="Size" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="JustifyLeft" Text="Left" /> 
                                    <telerik:EditorTool Name="JustifyCenter" Text="Center" /> 
                                    <telerik:EditorTool Name="JustifyRight" Text="Right" /> 
                                    <telerik:EditorTool Name="JustifyFull" Text="Both" /> 
                                    <telerik:EditorTool Name="JustifyNone" Text="None" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ForeColor" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="BackColor" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Bold" /> 
                                    <telerik:EditorTool Name="Italic" Text="Italic" /> 
                                    <telerik:EditorTool Name="Underline" Text="Underline" ShowIcon="true" /> 
                                </telerik:EditorToolGroup> 
                            </tools> 
                            <content></content
                             
                        </telerik:RadEditor> 
                    </telerik:RadPageView> 
                    <telerik:RadPageView ID="RadPageView2" runat="server" Visible="true"
                        <telerik:RadEditor ID="textEditor" OnClientLoad="OnClientLoadTextEditor" SkinID="BasicSetOfTools" 
                            Width="650px" Height="460px" runat="server" Skin="Web20" ExternalDialogsPath="~/EditorDialogs/" 
                            OnClientCommandExecuting="OnClientCommandExecuting" EditModes="Design" StripFormattingOptions="AllExceptNewLines" 
                            StripFormattingOnPaste="AllExceptNewLines" EnableResize="false"
                            <modules> 
                                <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> 
                                <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" Visible="true"/> 
                                <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" /> 
                            </modules> 
                            <tools> 
                                <telerik:EditorToolGroup> 
                                    <telerik:EditorTool Name="SaveDesignFromText" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorTool name="ClearText" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorTool Name="GetHtmlContent" Text="INSERT TEXT FROM HTML" ShowText="true" 
                                        ShowIcon="false" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FindAndReplace" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Cut" /> 
                                    <telerik:EditorTool Name="Copy" /> 
                                    <telerik:EditorTool Name="Paste" /> 
                                    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="Undo" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Redo" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ConvertToLower" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="ConvertToUpper" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FormatStripper" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ToggleScreenMode" Text="Full Screen" /> 
                                    <telerik:EditorTool Name="ImageManager" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="ImageEditor" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="ImageMapDialog" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="LinkManager" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="Unlink" Enabled="false" Visible="false" /> 
                                </telerik:EditorToolGroup> 
                            </tools> 
                        </telerik:RadEditor> 
                    </telerik:RadPageView> 
                </telerik:RadMultiPage> 

Rumen
Telerik team
 answered on 19 Oct 2009
3 answers
96 views

Hi,

I’ve discovered a bug in the editor version
2009.2 826.

 

Steps to reproduce:

  1. Go to HTML view
  2. Paste the following HTML into the editor:
    <table cellspacing="0" cellpadding="0">  
        <tbody> 
            <tr> 
                <td valign="top">  
                    <img width="24px" height="20px" src="http://www.telerik.com/App_Themes/ProductOverview/quotmark-left.gif" alt="" /> 
                </td> 
                <td> 
                    <href="#left-item-1" style="font-family: arial, verdana, helvetica; color: #000000;  
                        font-size: 11px; text-decoration: none;">left item 1</a> 
                </td> 
            </tr> 
        </tbody> 
    </table> 
  3. Go to Design view
  4. Go to HTML view
  5. Now the “height” and “width” attributes of the IMG tag are duplicated. Also, they’ve lost the “px” indicator.

 

Is there a way to disable the HTML reformatting of the editor completely? If not, I would like to suggest it for a future version of the editor. For us, it’s very (very!) important to leave the HTML exactly as it is provided by us.


Thanks,
Ramon

Rumen
Telerik team
 answered on 19 Oct 2009
1 answer
141 views
I have a rad grid that has 3 columns  horizontally aligned.  I want the columns to be vertically aligned and the rows returned to be horizontally aligned.  The reason is that their is plenty of space vertically but only 3 columns horizontally. 
Shinu
Top achievements
Rank 2
 answered on 19 Oct 2009
1 answer
81 views
Hello,

The problem with Dynamic Data is that there is no visual element to indicate to the user that work is being performed. Is it possible to integrate the AjaxLoadingPanel into a standard Dynamic Data application to remedy this?  I am using the Futures Preview 4 bits.

Any help is appreciated.

James
Nikolay Rusev
Telerik team
 answered on 19 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?