Jim Zimmerman
Top achievements
Rank 1
Jim Zimmerman
asked on 02 Aug 2007, 06:35 AM
I am trying to make my docks scale inside of a 3 column table that has a width of 100% so that no matter the resolution of the client, the widgets will scale out. This works when setting the docks to 100%, but when i click on the dock to drag and drop it to another zone, the dock scales 100% across all three zones which make the drag and drop pretty much unusable. Any ideas on how to make this work? I am going for the dynamic scaling of widgets similar to other portals like iGoogle, etc.
thanks,
Jim
thanks,
Jim
4 Answers, 1 is accepted
0
Hello Jim,
Just don't set Width=100% and make sure that the zones have FitDocks=true. This should be enough.
Kind regards,
Valeri Hristov (Senior Developer, MCSD)
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Just don't set Width=100% and make sure that the zones have FitDocks=true. This should be enough.
Kind regards,
Valeri Hristov (Senior Developer, MCSD)
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Jim Zimmerman
Top achievements
Rank 1
answered on 02 Aug 2007, 07:10 AM
I am not seeing FitDocks in intellisense anywhere for the zone, docks or layout? Am i behind a version. I think i have the latest.
thanks,
Jim
thanks,
Jim
0
Hi Jim,
Please, download our latest version of Rad Controls Prometheus.
FitDocks is property of RadDockZone. For example:
RadDockZone1.FitDocks = true;
Also you can try the following example:
ASPX:
Codebehind:
If you have any other questions, please let us know.
Kind regards,
Petio Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please, download our latest version of Rad Controls Prometheus.
FitDocks is property of RadDockZone. For example:
RadDockZone1.FitDocks = true;
Also you can try the following example:
ASPX:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="pages_Dock_Integration_Splitter_Default" %> |
<%@ Register TagPrefix="rad" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
<!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"> |
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> |
<div> |
<rad:RadDockLayout ID="RadDockLayout1" runat="server"> |
<rad:RadDockZone ID="RadDockZone1" runat="server"> |
<rad:RadDock ID="RadDock1" runat="server" Title="RadDock1"></rad:RadDock> |
</rad:RadDockZone> |
</rad:RadDockLayout> |
</div> |
</form> |
</body> |
</html> |
using System; |
using System.Data; |
using System.Configuration; |
using System.Collections; |
using System.Web; |
using System.Web.Security; |
using System.Web.UI; |
using System.Web.UI.WebControls; |
using System.Web.UI.WebControls.WebParts; |
using System.Web.UI.HtmlControls; |
public partial class pages_Dock_Integration_Splitter_Default : System.Web.UI.Page |
{ |
protected void Page_Load(object sender, EventArgs e) |
{ |
RadDockZone1.FitDocks = true; |
} |
} |
If you have any other questions, please let us know.
Kind regards,
Petio Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Jim Zimmerman
Top achievements
Rank 1
answered on 06 Aug 2007, 03:16 AM
Thanks. I had to update to the latest. Only problem now is that i can't have the latest Telerik.Web.UI.dll for the prometheus and the new silverlight beta which uses the older Telerik.Web.UI library. I posted this question in the Silverlight forum where i thought it would be more appropriate.
thanks,
Jim
thanks,
Jim