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

Radwindow issue while using <Object> tag.

1 Answer 23 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
CHETAN JAITLY asked on 11 Aug 2010, 02:21 PM

In our application we are using <object> attribute method for writing our register java object on aspx page.
After loaging this object I tried to open rad window as a child page but it is not showing properly.
It is getting cut the rad window's title bar and border. I have attached that image of it.

I have tried to set z-index of object tag but it did not worked.



sample code is :
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Testupload.aspx.vb" Inherits="main_Testupload" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head runat="server">
    <title>Untitled Page</title>
    <link href="App_Themes/Office2009/Window.Office2009.css" rel="Stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
function OpenRadWin()
    var page = "Window.aspx";
    var oWnd = $find("RadWindow1"); 
    return false;
    <form id="form1" runat="server">
   <table border="0" cellpadding="0" id="divLoading" style="border-collapse:collapse;" width="100%" height="100%">
                        <td width="100%" height="300px" align="center" style="border:1px solid; white-space:nowrap;">
                  <div id="appcontainer" style="background-image: url('JavaPreload_silver.gif'); background-repeat: no-repeat; background-position: center;width:100%;height:100%;">
                   <script language="JavaScript" type="text/javascript">
                    var strObject = '<object width="590" height="290" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"'
                    + ' codebase="references/,5,0,7"'
                    + ' id="rup" style="cursor:pointer;"><param name="archive" value="main/dndplus.jar">'
                    + '<param name="code" value="com.radinks.dnd.DNDAppletPlus">'
                    + '<param name="name" value="rup"><param name="max_upload" value="222">'
                    + '<param name="url" value="JavauploadPad.aspx?foldername=&ModelParam=&Culture=en-US%>'
                    + '&crypt=&VCPARAM="><param name="encode_path" value="yes">'
                    + '<param name="message" value="JavauploadPad.aspx?Culture=">'
                    + '<param name="props_file" value="radupload-properties.asp">'
                    + '<param name="browse" value="yes"><param name="mayscript" value="yes"><param name="scriptable" value="true">'
                    + '<param name="allowScriptAccess" value="always" /><comment><embed type="application/x-java-applet;version=1.5" \ '
                    + 'code="com.radinks.dnd.DNDAppletPlus" \ archive="../main/dndplus.jar" \ name="rup" \ id="rup" \ width="580" \ '
                    + 'height="280" \ max_upload="222" \ url="JavauploadPad.aspx'
                    + '?foldername=&ModelParam=&crypt=&VCPARAM=" \ encode_path="yes" \ '
                    + 'message="JavauploadPad.aspx?Culture=" \ props_file="radupload-properties.asp" \ '
                    + 'browse="yes" \ mayscript"yes" \ scriptable="true" \ allowScriptAccess="always" \ pluginspage="
                    + '<noembed></noembed></comment></object>';
                   // -->
                   <script type="text/javascript" src="Reuse/WriteObject.js"></script>
                            <asp:Button id="btnOpen" runat="server" onClientClick="return OpenRadWin();"  Text="Open radwindow" />
                    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <telerik:RadWindowManager  ID="Singleton"
            EnableEmbeddedSkins="False" Skin="Office2009"
            VisibleStatusbar="False" Behavior="Close" 
              runat="server" Behaviors="Close"
            InitialBehavior="None" Left="" 
            style="display: none;" Top="" >
                <telerik:RadWindow ID="RadWindow1" VisibleStatusbar="false" Height="420px"
                    Width="575px" Modal="true" runat="server"  >

I have attached the screenshot of radwindow.

Let me know if you have any suggestion.

Waiting for your response.


1 Answer, 1 is accepted

Sort by
Georgi Tunev
Telerik team
answered on 11 Aug 2010, 02:33 PM
Hello Jalpesh,

You need to set the WMODE property of the object and Overlay=true for the RadWindow control.

Best wishes,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question