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

Custom Slider control

2 Answers 25 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Khiem
Top achievements
Rank 1
Khiem asked on 06 Jan 2012, 06:59 AM
Hi,
I have created a custom slider control with TextBlock for each selection button. The problem is i can not access to each TextBlock to update value for each in codebehind
Anyone can help me?
Thank you
Khiem

2 Answers, 1 is accepted

Sort by
0
Khiem
Top achievements
Rank 1
answered on 06 Jan 2012, 07:06 AM
This is style i used for start button

0
Tina Stancheva
Telerik team
answered on 10 Jan 2012, 05:33 PM
Hi Khiem,

You can bind the TextBlock.Text property to a business property in order to control its value. If the text will display the value of the SelectionStart/SelectionEnd properties, then you can bind those properties to the same business property as well.

I attached a sample solution to better illustrate this suggestion. Give it a try and let me know if it helps.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Slider
Asked by
Khiem
Top achievements
Rank 1
Answers by
Khiem
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or