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

RadDock & Asp.Net Ajax

1 Answer 115 Views
Dock
This is a migrated thread and some comments may be shown as answers.
luca bongioanni
Top achievements
Rank 1
luca bongioanni asked on 22 May 2007, 12:37 PM
Hi,

i've downloaded the last version of Telerik.Web.UI.dll.
I've create a page with code like that

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default6.aspx.vb" Inherits="Default6" %>

<%@ Register TagPrefix="telerik" 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>NoTitle</title>

</head>

<body>

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<telerik:RadDockLayout runat="server" ID="RadDockLayout1" EnableEmbeddedSkins="false">

<telerik:RadDock ID="RadDock1" runat="server" Pinned="false" DockMode="Floating">

<Commands>

<telerik:DockExpandCollapseCommand />

<telerik:DockPinUnpinCommand />

<telerik:DockCommand AutoPostBack="true" Text="ciao ciao" />

</Commands>

<TitlebarTemplate>

header

</TitlebarTemplate>

<ContentTemplate>

<asp:Button ID="Btn1" runat="server" Text="Click Me" />

<asp:Label ID="Lbl1" runat="server"></asp:Label>

</ContentTemplate>

</telerik:RadDock>

<asp:UpdatePanel ID="UpdatePanel2" runat="server">

<ContentTemplate>

<telerik:RadDock runat="server" ID="RadDock3" Title="Custom Commands + Close">

<Commands>

<telerik:DockCloseCommand />

<telerik:DockCommand AutoPostBack="true" Name="Simple Custom Command" />

</Commands>

<ContentTemplate>

<br />

<ul>

<li>Click the first or the second icon in the titlebar to see the action of the custom

commands.</li>

<li>Click the Close button on the title bar to close the object.</li>

</ul>

<br />

</ContentTemplate>

</telerik:RadDock>

</ContentTemplate>

</asp:UpdatePanel>

</telerik:RadDockLayout>

</form>

</body>

</html>



I would like to make this page Ajax enabled (with no real postback on DockCommand and Btn1).

How can i do this?

Thanks in advice

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 22 May 2007, 03:40 PM
Hello,

Please, find attached a simple project that demonstrates how to AJAX enable your page. If you have questions or problems, please write us again. Make sure that you are using the latest version of the control as of today.

Regards,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
luca bongioanni
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or