hi,
i have a little problem positionning raddock in my scenario.
if i click on the image the raddock show but not at the right position, it's positionning at left = 1 and top = 1 but on a div. it's suppose to be on the screen a thought.
If you move the dock and close it, after that if you click again on the image the dock show a the right position on the screen and not on a div.
code behind
someone can help me to understand what's the problem ?
Thanks
Eric
i have a little problem positionning raddock in my scenario.
if i click on the image the raddock show but not at the right position, it's positionning at left = 1 and top = 1 but on a div. it's suppose to be on the screen a thought.
If you move the dock and close it, after that if you click again on the image the dock show a the right position on the screen and not on a div.
| <%@ Page Language="VB" AutoEventWireup="false" CodeFile="TestFile.aspx.vb" Inherits="TestFile" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!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 style="margin: 0px; |
| padding: 0px; |
| min-height: 100% !important; /*For all browser except IE */ |
| height: auto !important; |
| height: 100%; /*IE hack since IE doesn't understand min-height */ |
| background-position: center top; |
| width: 100%; |
| position: absolute; |
| top: 0px; |
| left: 0px; |
| background-image: url('./Images/background.gif'); |
| background-repeat: repeat-y;"> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <div id="DivGlobal" style="padding: 0px; |
| width: 990px; |
| margin: 0px auto 0px auto; |
| position: relative; |
| background-color: #F9F9F9; |
| min-height: 100% !important; /*For all browser except IE */ |
| height: auto !important; |
| height: 100%; /*IE hack since IE doesn't understand min-height */ " > |
| <div style="width: 690px; |
| min-height: 100% !important; /*For all browser except IE */ |
| height: auto !important; |
| height: 100%; /*IE hack since IE doesn't understand min-height */ |
| position: relative; |
| float: left; |
| padding: 0px; |
| margin: 0px;"> |
| <div id="DivContent" style="padding: 0px; |
| margin: 0px; |
| width: 690px; |
| min-height: 100% !important; /*For all browser except IE */ |
| height: auto !important; |
| height: 100%; /*IE hack since IE doesn't understand min-height */ |
| background-color: #F9F9F9; |
| float: left;" > |
| <telerik:RadCodeBlock ID="RadCodeBlock2" runat="server"> |
| <script type="text/javascript"> |
| function ShowDock5() { |
| var dock = $find("<%=RadDock5.ClientID%>"); |
| var dockStyle = document.getElementById("<%= RadDock5.ClientID %>"); |
| dock.set_height(100); |
| dock.set_width(100); |
| dockStyle.style.left = 1 + "px"; |
| dockStyle.style.top = 1 + "px"; |
| dock.get_element().style.zIndex = 1999; |
| dock.set_closed(false); |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
| </telerik:RadWindowManager> |
| <div style="background-color: #FFFFFF; |
| float: left; |
| min-height: 100% !important; /*For all browser except IE */ |
| height: auto !important; |
| height: 100%; /*IE hack since IE doesn't understand min-height */ |
| position: relative; |
| width: 825px; |
| padding: 0px; |
| margin: 0px;"> |
| <telerik:RadDock ID="RadDock5" runat="server" AutoPostBack="false" Resizable="true" CloseText="Fermer" |
| DockMode="Floating" DefaultCommands="Close" Height="1px" Width="1px" Top="1px" Left="1px" > |
| <ContentTemplate> |
| <asp:Image ID="Image3" runat="server" /> |
| </ContentTemplate> |
| </telerik:RadDock> |
| <div id="imagePreviewPanel" style="display: block;"> |
| <asp:ImageButton ID="imagePreview" runat="server" ImageUrl="../../Images/Contenu/imagegallery/spacer.gif" Height="192px" |
| Width="272px" AlternateText="Photo" BorderWidth="0" |
| OnClientClick="ShowDock5(); return false;" |
| /> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </form> |
| </body> |
| </html> |
code behind
| Imports System |
| Imports System.Net |
| Partial Class TestFile |
| Inherits System.Web.UI.Page |
| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| RadDock5.Closed = True |
| End Sub |
| End Class |
someone can help me to understand what's the problem ?
Thanks
Eric