add a link button in raddcockable object title bar

8 posts, 0 answers
  1. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 19 May 2008 Link to this post

    hi team
    how can i add a link button on the radockable object title bar

    thanx in advance
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 19 May 2008 Link to this post

    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
  3. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 19 May 2008 Link to this post

    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

  4. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 19 May 2008 Link to this post

    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
  5. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 21 May 2008 Link to this post

    hi Sophy 
     i dont have the Telerik.Web.UI  dll
  6. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 21 May 2008 Link to this post

    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
  7. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 21 May 2008 Link to this post

    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

  8. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 22 May 2008 Link to this post

    thanx team
    the problem fixed by adding a command in the source code with name, enable true and postback true

Back to Top