<%
@ Page Language="VB" AutoEventWireup="false" %>
<%
@ 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>demo</title>
</
head>
<
body >
<form id="frmMaster" runat="server">
<iframe id="MainFrame" src="raddocktest.aspx" height="700" frameborder=0 width="500" scrolling="no" >
</iframe>
</form>
</
body>
</
html>
RADDOCKTEST.ASPX<%
@ Page Language="VB" AutoEventWireup="false" CodeFile="raddocktest.aspx.vb" Inherits="raddocktest" %>
<%
@ 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>
<form id="form1" runat="server">
<div>
<asp:Panel runat=server ID="MainArea"></asp:Panel>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
</div>
</form>
</
body>
</
html>
RADDOCKTEST.aspx.vbImports
Telerik.Web.UI
Partial
Class raddocktest
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim Raddock As New RadDock
Raddock.Width = 200
Raddock.Height = 100
Raddock.Top = 200
Raddock.Left = 200
Raddock.Title =
"hello"
Raddock.ID =
"MYRADDOCK"
MainArea.Controls.Add(Raddock)
End Sub
End
Class
Hello,
I am sending my earlier message again as it seems to have been overlooked ( probably something I did wrong ).
Sadly you do not appear to have yet ported your excellent RadEditor to Silverlight. No problem, I thought, I will just overlay the Ajax version over the top of the latest version of Silverlight, using a div with display:none and display:block. All works fine except that after I hide the Editor (display:none), none of the direction keys, or back button work in the Silverlight text boxes. Also the cursor from the RadEditor remains on the Silverlight page. Although this is irritating, I can live with it. Does anyone have any idea what can be done about the arrow keys ? Please do not hesitate to ask if I have have not made the problem clear. I have a working example that demonstrates my problem, which I am more than happy to send if you tell me how.
If it is not too much trouble, could someone please indicate that my message has got through this time. If the reason noone has replied, is because this is the wrong place, could someone please let me know so I can contact the right people.
Many thanks,
Pete.
<script language="javascript" type="text/javascript">
//show the window
function showDialog() {
//Force reload in order to guarantee that the onload event handler of the dialog which configures it executes on every show.
var oWnd = window.radopen(null, "DialogWindow");
oWnd.setUrl(oWnd.get_navigateUrl());
if (oWnd != null) {
oWnd.setUrl(oWnd.get_navigateUrl());
}
}
//dialog for Edit Group
function openRadEditWindow(Group_Id, Group_Name, Group_Desc) {
var oWnd = radopen("EditGroupDialog.aspx?Group_Id=" + Group_Id + "&Group_Name=" + Group_Name + "&Group_Desc=" + Group_Desc, "EditWindow");
oWnd.center();
}
// Called when a window is being closed.
function OnClientclose(radWindow) {
//to refresh the parent window
document.location.href=document.location.href;
}
</script>
Code for radwindow dialog page is:
<
script type="text/javascript">
//This code is used to provide a reference to the radwindow "wrapper"
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
function ConfigureDialog() {
//Get a reference to the radWindow wrapper
var oWindow = GetRadWindow();
}
function Cancel_Clicked()
{
var oWindow = GetRadWindow();
oWindow.close();
}
</script>
<telerik:RadGrid ID="rdActions" runat="server" AllowFilteringByColumn="True"
AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
GridLines="None" Skin="Sunset" PageSize="20">
<PagerStyle AlwaysVisible="True" Mode="NextPrevNumericAndAdvanced" />
<
MasterTableView DataKeyNames="itemiID" AllowFilteringByColumn="true" ShowFooter="true">
<
RowIndicatorColumn>
<
HeaderStyle Width="20px"></HeaderStyle>
</
RowIndicatorColumn>
<
ExpandCollapseColumn>
<
HeaderStyle Width="20px"></HeaderStyle>
</
ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="dateCol" AutoPostBackOnFilter="true" HeaderText="Date" UniqueName="datCol">
<HeaderStyle Font-Bold="true" />
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn AutoPostBackOnFilter="True" HeaderText="Broker"
UniqueName="brokerCol">
<ItemTemplate>
<a href='<%# gettheURL(DataBinder.Eval(Container, "DataItem.itemiID")) %>'><b>
<%
# formatUser(DataBinder.Eval(Container, "DataItem.BrokeriID")) %>
</b></a>
</ItemTemplate>
<HeaderStyle Font-Bold="True" />
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn AutoPostBackOnFilter="True" HeaderText="BDE"
UniqueName="bdeCol">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# formatUser(DataBinder.Eval(Container, "DataItem.BDEiID")) %>'>
</asp:Label>
</ItemTemplate>
<HeaderStyle Font-Bold="True" />
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn AutoPostBackOnFilter="True" DataField="VisitType"
HeaderText="Visit Type" UniqueName="visitTypeCol">
<HeaderStyle Font-Bold="True" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Status" HeaderText="Status"
UniqueName="statusCol" AutoPostBackOnFilter="True">
<HeaderStyle Font-Bold="True" />
</telerik:GridBoundColumn>
</Columns>
</
MasterTableView>
<
FilterMenu EnableTheming="True">
<
CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</
FilterMenu>
</telerik:RadGrid>
Protected Sub rdActions_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles rdActions.NeedDataSource
Try
Dim BookInfo As New BrokerDirectController
rdActions.DataSource = BookInfo.BDEGetBookVisits(ModuleId, WaaLBL.Text, iIDLBL.Text)
Catch exc As Exception
ProcessModuleLoadException(
Me, exc)
End Try
End Sub
Please help me out with this.
Thanks
Atiq