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

[Solved] Custom edit cell in gridview similar to calendar control

2 Answers 109 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
tony
Top achievements
Rank 1
tony asked on 26 Feb 2010, 02:48 AM
Hi,

I'm developing a custom gridview column cell editor control that need to have windowing behavior similar to the datepicker control (animated drop down and a button to pop the control). Since I can't seem to go the same route as the Telerik built-in gridview datepicker control,  any advise on how to approach this problem is greatly appreciated.

Tony

2 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 26 Feb 2010, 07:17 AM
Hello tony,

Probably the best approach is to create a custom control that will play the role of an editor and then use this custom editor in RadGridView. One of my colleagues has posted a great article on this subject which can be used as a reference. 


Kind regards,
Milan
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
tony
Top achievements
Rank 1
answered on 26 Feb 2010, 06:57 PM
Hi Milan,

Unless I'm mistaken, the problem with the proposed solution is that the custom edit control appears inside the cell, thus enlarging the entire gridview row; I want to avoid this effect by doing something similar to the date picker control which slides below the cell, without enlarging the height of the entire gridview row.

I wish I can just copy the approach of the gridview datepicker control, unfortunately, it's a telerik built-in control which have access to telerik's internal template and internal class inheritance, something that I don't have access to.

Tony
Tags
GridView
Asked by
tony
Top achievements
Rank 1
Answers by
Milan
Telerik team
tony
Top achievements
Rank 1
Share this question
or