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

add a link button in raddcockable object title bar

7 Answers 114 Views
Dock
This is a migrated thread and some comments may be shown as answers.
sam
Top achievements
Rank 1
sam asked on 19 May 2008, 12:18 PM
hi team
how can i add a link button on the radockable object title bar

thanx in advance

7 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 19 May 2008, 01:21 PM
Hi Sam,

You can customize the appearance of the RadDock's titlebar and add controls in it using the TitlebarTemplate which the dock provides or manipulate the TitlebarContainer controls collection from code-behind. I suggest you take a look at the Title Bar Template help article and the EditTitle online example which demonstrate how to use RadDock's TitlebarTemplate.

If you need further assistance, do contact us again.

Best wishes,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
sam
Top achievements
Rank 1
answered on 19 May 2008, 03:02 PM
Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified

that error occured when i added the following registration 

<%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>

my telerik controls version is q1 2007

0
Sophy
Telerik team
answered on 19 May 2008, 04:28 PM
Hi Sam,

Please, make sure that you have added the Telerik.Web.UI assembly in the Bin folder of your application or in the GAC and the Version and the PublicKeyToken of Telerik.Web.UI used in any configuration settings (if there are such) match the manifest of the Telerik.Web.UI dll.

All the best,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
sam
Top achievements
Rank 1
answered on 21 May 2008, 09:56 AM
hi Sophy 
 i dont have the Telerik.Web.UI  dll
0
Sophy
Telerik team
answered on 21 May 2008, 11:04 AM
Hi Sam,

The following registration requires a Telerik.Web.UI dll:
<%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>
The Telerik.Web.UI assembly contains all Telerik's controls from the RadControls for ASP.NET suite.
The examples we suggested you in our previous posts were related to RadDock for ASP.NET AJAX as this is a forum thread about RadDock for ASP.NET AJAX. Questions about RadDock for ASP.NET you can post in the corresponding forums.
Regarding your initial question for adding a link button in raddockable object title bar, the requested functionality is not supported by RadDock for ASP.NET. However, you can add custom commands and execute custom code when clicking on a custom command. An example about custom commands in RadDock for ASP.NET you can find here.

All the best,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
sam
Top achievements
Rank 1
answered on 21 May 2008, 02:38 PM
hi Sophy

thanx for reply
the last reply help me but i faced aproblem when i added a new RadDockableObjectCommand in my rad dockable object
the page load but with errors :(0)is null or not an object

even i add the following code in my code behind
override protected void OnInit(EventArgs e)
{

InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.TestObj.Command += new System.EventHandler(this.TestObj_Command);
this.Load += new System.EventHandler(this.Page_Load);
}

protected void TestObj_Command(object sender, EventArgs e)
{
RadDockableObject dockableObject = (RadDockableObject)sender;
RadDockableObjectCommandEventArgs commandEventArgs = (RadDockableObjectCommandEventArgs)e;
}

*ps. i faced the porblem if i added the previuos code or not

thanx in advance

0
sam
Top achievements
Rank 1
answered on 22 May 2008, 11:31 AM
thanx team
the problem fixed by adding a command in the source code with name, enable true and postback true

Tags
Dock
Asked by
sam
Top achievements
Rank 1
Answers by
Sophy
Telerik team
sam
Top achievements
Rank 1
Share this question
or