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

[Solved] ImageManager in Grid

5 Answers 200 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Raymond Mui
Top achievements
Rank 1
Raymond Mui asked on 20 May 2008, 08:16 AM

I have a Radgrid, when editing, a column changes to RadEditor within a RadPageView.  Part of the aspx as follows:

<EditItemTemplate>
<asp:Label ID="BrandLogoFileNameLabel" runat="server" Text='<%# Eval("BrandLogoFileName") %>'
        Visible="false" />
   <div style="float: left; width: 200px">
    <div style="padding: 2px;">
   <b style="width: 70px; float: left">
          Brand ID:</b>
       <asp:Label ID="BrandIDLabel" runat="server" Text='<%# Eval("BrandID") %>' /><br />
       <b style="width: 70px; float: left">
          Name:</b>
       <asp:TextBox ID="BrandNameTextBox" runat="server" Text='<%# Bind("BrandName") %>'
          Width="180px" MaxLength="255" /><br />
       <b style="width: 70px; float: left">
          Active:</b>
       <asp:CheckBox ID="ActiveCheckBox" Width="40px" Checked='<%# Bind("Active") %>'
          runat="server" />
     </div>
     <div style="padding: 2px; margin-top: 10px">
      <b>
          Logo:</b><br />
       <asp:Image ID="BrandLogoImageEdit" runat="server" />
     </div>
     </div>
      <div style="padding: 2px; width: 380px">
       <telerik:RadTabStrip ID="ts1" runat="server" Skin="Telerik" MultiPageID="mpage1"
         SelectedIndex="0">
         <Tabs>
          <telerik:RadTab runat="server" Text="Default Short Description">
          </telerik:RadTab>
          <telerik:RadTab runat="server" Text="Default Long Description" Selected="True">
          </telerik:RadTab>
         </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="mpage1" runat="server" SelectedIndex="0">
         <telerik:RadPageView ID="pvShort" runat="server">
          <telerik:RadEditor ID="editorDefaultShortDesc" runat="server" Skin="Telerik"
           Height="250px" Width="360px" ToolsFile="~/Common/CustomizedRadXML/ToolsFile2.xml"
           EditModes="Design">
           <ImageManager SearchPatterns="*.gif,*.jpg" MaxUploadFileSize="200000" />
           <FlashManager SearchPatterns="*.swf" MaxUploadFileSize="200000" />
           <DocumentManager SearchPatterns="*.pdf,*.doc" />
           <Content>
            
           </Content>
          </telerik:RadEditor>
         </telerik:RadPageView>
         <telerik:RadPageView ID="pvLong" runat="server">
          <telerik:RadEditor ID="editorDefaultLongDesc" runat="server" Skin="Telerik"
           Height="250px" ToolsFile="~/Common/CustomizedRadXML/ToolsFile2.xml"
           EditModes="Design" Width="360px">
           <ImageManager SearchPatterns="*.gif,*.jpg" MaxUploadFileSize="200000" />
           <FlashManager SearchPatterns="*.swf" MaxUploadFileSize="200000" />
           <DocumentManager SearchPatterns="*.pdf,*.doc" />
           <Content>
           </Content>
          </telerik:RadEditor>
         </telerik:RadPageView>
        </telerik:RadMultiPage>
       </div>
      </EditItemTemplate>

My problem: when I call Image Manager (clicking the image button in the Editor), the pop-up dialog box is very short, only the upper part of the dialog box can be seen.  Is there anything I can check?

Thanks

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 May 2008, 09:53 AM
Hi Raymond,

Could you please copy and paste the provided in the installation Skins folder in the root of your web application? After that import via LINK tags the css files for the RadWindow dialog in the page with the editor:

    <link href="Skins/Window.css" rel="stylesheet" type="text/css" />
    <link href="Skins/Default/Window.Default.css" rel="stylesheet" type="text/css" />

Save the file and test the editor's dialogs.

If this does not help to solve the problem, please open a support ticket and send a sample running project that demonstrates the issue. We will do our best to provide a solution once we reproduce the problem on our side.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Raymond Mui
Top achievements
Rank 1
answered on 20 May 2008, 10:01 AM
Hi Rumen,

Do you copying the aspx and aspx.vb files to c:\program files\telerik\?

Thanks
0
Raymond Mui
Top achievements
Rank 1
answered on 21 May 2008, 12:34 AM
sorry but i have no idea to copy what to where.  Can you elaborate more?

I have found that there is a RadWindow in the masterpage.  After I remove the RadWindow, the RadEditor's ImageManager dialog box is even smaller.  So now, there is no RadWindow in the pages, both the master and content pages.

Any more hint?
0
Raymond Mui
Top achievements
Rank 1
answered on 21 May 2008, 05:32 AM
Hi..

I have just upgraded to 2008.1.515.  It seems that the ImageManager dialog problem got resolved.  The dialog is shown in normal size.

However, if I use Vista skin, the dialog box shows all buttons and contents in it.  When using Telerik skin, the bottom part (probably around 10 pixels) is not shown -- it shows only part of the "Insert" and "cancel" buttons.

Probably it is the css that caused the problem.  For the time being, I will use Vista skin for the RadEditor.

Thanks
0
Rumen
Telerik team
answered on 23 May 2008, 11:39 AM
Hi Raymond,

Thank you for reporting this problem.

We are aware of the Telerik skin issue and we will do our best to solve it in the next hotfix of RadEditor.


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Raymond Mui
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Raymond Mui
Top achievements
Rank 1
Share this question
or