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

User editable RadPane Header

5 Answers 36 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 02 Mar 2012, 03:56 PM
I have been unsuccessful in making the Header editable.  Ideally I am looking to allow the user to edit the Header text when the double click on it.  I have followed the example you have to do this with the RadTab but this didn't provide enough assistance on the RadPane control.  I also have implemented the ControlTemplate necessary to move the close button inside the Header.  Systematically I have been attempting to replace Content with a DataTemplate consisting of simply a TextBlox to identify the locations within the ControlTemplate I need to account for. 

Would you please provide some guidance on how I can accomplish this objective?

Thank you

Paul

5 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 07 Mar 2012, 09:31 AM
Hi Paul,

The approach is the same as with the TabControl. Could you please send us the edited templates and styles, so that we can review them and track down the source of the problem. Ideally, sending us your project stripped, so that we can run it here locally will be very helpful for providing you with solution in a timely manner.

Thank you in advance.

Greetings,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Paul
Top achievements
Rank 1
answered on 14 Mar 2012, 02:27 PM
Konstatina, where can I send the .zip file being that I cannot post it here or rename it to an allowed file type?

Thanks
Paul
0
Accepted
Konstantina
Telerik team
answered on 15 Mar 2012, 09:13 AM
Hello Paul,

You need to open a support ticket and there you will be able to attach a file with a 25MB maximum size. So, if the project is getting bigger, you can delete the bin and obj folders in order to reduce its size.

Please let us know if you need further assistance with that.

Regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Paul
Top achievements
Rank 1
answered on 20 Mar 2012, 03:58 PM
I submitted ticket 524831.

Thanks
0
Paul
Top achievements
Rank 1
answered on 04 Apr 2012, 02:35 PM
For those interested the code below was the basis for the overall solution.
public void AddPane()
{
RadPane pane = new RadPane();
QueueView view = new QueueView();
pane.Content = view;
PaneViewModel paneModel = new PaneViewModel(this);
paneModel.Text = "New Text";
pane.Header = paneModel;
Panes.Add(pane);
}


<root:EditableContentControl Content="{Binding Text, Mode=TwoWay}" />


<root:EditableContentControl Content="{Binding Text, Mode=TwoWay}" />
Tags
Docking
Asked by
Paul
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Paul
Top achievements
Rank 1
Share this question
or