<
td style="width:76%;" >
<asp:Panel ID="Panel2" Width="710px" style="margin-top:-18px;" BorderWidth="0" Height="390px" runat="server" >
<asp:Panel ID="bg" Height="410px" ScrollBars="Auto" runat="server" >
<asp:Image ID="CMapImage" runat="server" />
<asp:Label ID="Label1" runat="server" Visible="false" Text="Label"></asp:Label><br />
<asp:Label ID="Label2" runat="server" Visible="false" Text="Label"></asp:Label>
</asp:Panel>
<asp:Panel ID="LayerPanel1" runat="server">
<telerik:RadDockLayout ID="RadDockLayout1" runat="server">
</telerik:RadDockLayout>
</asp:Panel>
<asp:Panel ID="content" runat="server">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="middle">
<asp:Panel ID="CityNameOnTheMapPanel" style="margin-left:10px" runat="server">
<asp:Label ID="CityNameLabel" Font-Size="14pt" runat="server" ></asp:Label>
<asp:Label ID="OnTheMapLabel" runat="server" Font-Size="14pt" Font-Bold="true" Text="ON THE MAP"></asp:Label>
</asp:Panel>
</td>
<td align="right">
<asp:Label ID="excuteWindowOpenInFullScreen" runat="server" Visible="false"></asp:Label>
<asp:ImageButton ID="ImageButton1"
ImageUrl="~/Common/Img/Buttons/FullScreen.jpg" runat="server"
OnClientClick="UseRadWindow();return false;" />
<asp:ImageButton ID="ImageButton2" Visible="false" ImageUrl="~/Common/Img/Buttons/Print.jpg"
runat="server" />
</td>
</tr>
</table>
</asp:Panel>
</asp:Panel>
</td>
private
RadDock CreateRadDock(string dockNum, string bsnsName, string website, int top, int left, string colr)
{
int docksCount = CurrentDockStates.Count;
RadDock dock = new RadDock();
dock.ID =
string.Format("RadDock{0}", dockNum);
dock.Title =
string.Format("Dock {0}", dockNum);
dock.Width =
Unit.Pixel(180);
dock.EnableEmbeddedSkins =
false;
dock.Left =
Unit.Pixel(left);
dock.Top =
Unit.Pixel(top);
dock.BackColor.GetBrightness();
dock.OnClientInitialize =
"SetHandleDock";
dock.DockMode =
DockMode.Docked;
dock.DockHandle =
DockHandle.Grip;
dock.Text =
"<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td style='background-color:#" + colr + "; border-bottom-style:solid; border-left-style:solid; border-right-style:solid; border-top-style:solid; border-bottom-width:thin; border-top-width:thin; border-right-width:thin; border-left-width:thin;'><div style='margin:2px;'" + string.Format("<a href='{0}'>{1}</a> ", website, bsnsName) + "</div></td><td> </td></tr><tr><td> </td><td><img alt='' src='Common/Img/Lines/000000.gif' /></td></tr></table>";
dock.UniqueName =
Guid.NewGuid().ToString();
return dock;
}
protected
void CommonCheckBox_CheckedChanged(object sender, EventArgs e)
{
string _iDs = string.Empty;
DataLstObjctGetData _dataLstObjctGetData = new DataLstObjctGetData();
DataSet _myDataSet = new DataSet();
_myDataSet = _dataLstObjctGetData.GetHotSpots(GetCtgryLst(), City, SmallMapPosition);
DataTable _myDataTable = new DataTable();
_myDataTable = _myDataSet.Tables[0];
Session[
"HotSpotsDataTable"] = _myDataTable;
GridView1.DataSource = _myDataTable;
GridView1.DataBind();
RadDockLayout1.Controls.Clear();
foreach (DataRow _row in _myDataTable.Rows)
{
RadDock dock = CreateRadDock(_row["HSHotSpotID"].ToString(), _row["BBsnsName"].ToString(), _row["BBsnsWebsite"].ToString(), Convert.ToInt32(_row["HSYCord"]), Convert.ToInt32(_row["HSXCord"]), _row["CCtgryColr"].ToString());
RadDockLayout1.Controls.Add(dock);
if (_iDs.ToString().Equals(string.Empty))
{
_iDs += _row[
"HSHotSpotID"].ToString();
}
else
{
_iDs +=
"," + _row["HSHotSpotID"].ToString();
}
}
Label1.Text = _iDs.ToString();
}
Please, I need your help to make my raddock refers to the same point even if I scroll.
It is apprecited to send me the modified code.
Regards,
Bader
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Tests_Test" MasterPageFile="~/MasterPageEmpty.master" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ MasterType VirtualPath="~/MasterPageEmpty.master" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"ContentPlaceHolder1"
Runat
=
"Server"
>
<
telerik:RadScriptBlock
ID
=
"RadScriptBlock1"
runat
=
"server"
>
<
script
language
=
"javascript"
type
=
"text/javascript"
>
function Test() {
var combo = $find('<%=RadComboBox1.ClientID%>');
alert(combo.get_Text());
}
</
script
>
</
telerik:RadScriptBlock
>
<
atlas:UpdatePanel
ID
=
"UpdatePanel"
runat
=
"server"
>
<
ContentTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
DataTextField
=
"CompanyName"
DataValueField
=
"ID"
ItemRequestTimeout
=
"500"
Height
=
"300px"
NoWrap
=
"true"
ShowDropDownOnTextboxClick
=
"false"
EnableLoadOnDemand
=
"True"
EnableItemCaching
=
"true"
OnItemsRequested
=
"OnSupplierItemsRequested"
>
</
telerik:RadComboBox
>
<
button
onclick
=
"Test()"
>Test</
button
>
</
ContentTemplate
>
</
atlas:UpdatePanel
>
</
asp:Content
>
<
table
style
=
"width: 757pt; border-collapse: collapse;"
border
=
"0"
cellspacing
=
"0"
cellpadding
=
"0"
width
=
"1008"
>
<
colgroup
><
col
style
=
"width: 18pt;"
width
=
"24"
/><
col
style
=
"width: 98pt;"
width
=
"131"
/><
col
style
=
"width: 56pt;"
width
=
"74"
/><
col
style
=
"width: 73pt;"
width
=
"97"
/><
col
style
=
"width: 66pt;"
span
=
"2"
width
=
"88"
/><
col
style
=
"width: 80pt;"
width
=
"106"
/><
col
style
=
"width: 90pt;"
width
=
"120"
/><
col
style
=
"width: 49pt;"
width
=
"65"
/><
col
style
=
"width: 90pt;"
width
=
"120"
/><
col
style
=
"width: 71pt;"
width
=
"95"
/></
colgroup
>
<
tbody
>
<
tr
style
=
"height: 15pt;"
height
=
"20"
>
<
td
style
=
"border-bottom-color: #ece9d8; border-left: windowtext 1pt solid; background-color: transparent; border-top-color: #ece9d8; width: 18pt; height: 15pt; border-right-color: #ece9d8;"
class
=
"xl66"
align
=
"right"
><
strong
><
span
style
=
"font-family: arial; color: #0070c0; font-size: 13px;"
>1</
span
></
strong
></
td
>
<
td
style
=
"background-color: transparent; width: 668pt;border-color: #ece9d8;"
class
=
"xl67"
colspan
=
"9"
><
span
style
=
"font-family: arial; font-size: 13px;"
>Per policy, the bid exception such as a third bidder declined, sole source, or the lowest bid not selected was properly documented within the project</
span
></
td
>
<
td
style
=
"background-color: transparent; width: 71pt;border-color: #ece9d8;"
></
td
>
</
tr
>
<
tr
style
=
"height: 15pt;"
height
=
"20"
>
<
td
style
=
"border-bottom-color: #ece9d8; border-left: windowtext 1pt solid; background-color: transparent; border-top-color: #ece9d8; height: 15pt; border-right-color: #ece9d8;"
class
=
"xl66"
><
strong
><
span
style
=
"font-family: arial; color: #0070c0; font-size: 13px;"
> </
span
></
strong
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
class
=
"xl67"
colspan
=
"4"
><
span
style
=
"font-family: arial; font-size: 13px;"
>release summary. This was not deemed an exception. </
span
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
</
tr
>
<
tr
style
=
"height: 15pt;"
height
=
"20"
>
<
td
style
=
"border-bottom-color: #ece9d8; border-left: windowtext 1pt solid; background-color: transparent; border-top-color: #ece9d8; height: 15pt; border-right-color: #ece9d8;"
class
=
"xl66"
align
=
"right"
><
strong
><
span
style
=
"font-family: arial; color: #0070c0; font-size: 13px;"
>2</
span
></
strong
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
class
=
"xl68"
colspan
=
"9"
><
span
style
=
"font-family: arial; font-size: 13px;"
>Per Ken Stephenson, equipment only purchases without installation do not require signed contracts. This is not deemed an exception. </
span
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
></
td
>
</
tr
>
<
tr
style
=
"height: 15pt;"
height
=
"20"
>
<
td
style
=
"border-bottom-color: #ece9d8; border-left: windowtext 1pt solid; background-color: transparent; border-top-color: #ece9d8; height: 15pt; border-right-color: #ece9d8;"
class
=
"xl66"
align
=
"right"
><
strong
><
span
style
=
"font-family: arial; color: #0070c0; font-size: 13px;"
>3</
span
></
strong
></
td
>
<
td
style
=
"background-color: transparent;border-color: #ece9d8;"
class
=
"xl68"
colspan
=
"10"
><
span
style
=
"font-family: arial; font-size: 13px;"
>These attributes were not tested here as this is a supplemental release issued for an existing contact/PO. See testing of the initial releases #25013 and #25117.</
span
></
td
>
</
tr
>
</
tbody
>
</
table
>