Custom Column picker control

2 posts, 0 answers
  1. Marcel
    Marcel avatar
    42 posts
    Member since:
    Jan 2014

    Posted 11 Aug 2015 Link to this post


    I am working on a custom datagrid for my application and I want to have a custom column where the cell has a Textbox and a small button. When the user clicks the button a small screen must be shown where the user can enter some values. The total of the inputting values need to be displayed back in the gridview.
    I am looking at implementing this, but have a hard time doing. I like to have the same style for the button and the subscreen as the datepicker/Calculatorpicker.
    The content of the dropdown screen need to be replacable by other content using a usercontrol.

    Whats the best way to implement this, should I create a custom control for this? And then create a custom column according to the approach below?

    Or is there a better way to implement this?

    Thank in advance.


  2. Stefan
    Stefan avatar
    1073 posts

    Posted 11 Aug 2015 Link to this post

    Hi Marcel,

    Basically, what you need to do is to define a UserControl with the needed dependency properties and set the binding in your custom column to them. You can follow the approach from the referred article, as it is demonstrating the approach.

    Can you please share some details what are the difficulties you are experiencing with it or you have already tried another one? I am also not completely able to understand what you mean by to have the same style for the button and the subscreen. Can you shed more light on that?

    Best Regards,
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top