I have a customize object just like this.
01.public class Person02. {03. [CategoryAttribute("Personal Info.")]04. public Name Name { get; set; }05. [CategoryAttribute("Personal Info.")]06. public int Age { get; set; }07. [CategoryAttribute("Profession Info.")]08. public Profession Profession { get; set; }09. }10. 11. public class Profession12. {13. private Title title_;14. 15. public string Company { get; set; }16. public string Address { get; set; }17. public Title Title18. {19. get { return title_; }20. set21. {22. title_ = value;23. if (title_ == Title.Manager)24. {25.// hide property subordinates26. }27. else if (title_ == Title.Developer)28. {29.// show property subordinates30. }31. }32. }33. 34. public List<Person> Subordinate { get; set; }35. }
Is there a way to show or hide Subordinate according to the property Title? When I selected the Title with Manager, the subordinate will appear. When I selected the Title with Developer, the subordinate will hide.

I have a hierarchy
public class Corner { public string Name { get; set; } }public class Fillet : Corner { public double Radius { get; set; } }public class Chamfer : Corner { public double Distance1 { get; set; } public double Distance2 { get; set; } }and a business object,
public enum CornerMode{Fillet,Chamfer}public class CornerAttribute{public CornerMode CornerMode {get;set;}public Corner Corner {get;set;}}
I will assign a subclass instance according to the CornerMode. How to switch the type convert at runtime so that the property Corner can be expandable?
I'm not sure why this is showing up... How to not show gridview when hovering over an appointment
Second question: In the radScheduler1_AppointmentResizeEnd routine - how do I get the value for the new Start and End time after the appointment has been resized?
Thank you in advance for your assistance


I would like to know if it's possible to bind extra values other than DataTextField and DataValueField. I am using SQLDataSource.
Thanks!

I am trying to improve performance when I set GridViewColumn.IsVisible. Whenever I set that property, the ViewCellFormatting event is invoked by the grid.
I need to make several column invisible at the same time. I tried using BeginUpdate..EndUpdate and that doesn't seem to have an effect. I would like to set several columns invisible by invoking the GridViewColumn.IsVisible property without the ViewCellFormatting event from being raised for each one.
Thanks in advance,
Jim

Hello
I have a grid view where I perform Cell validation and I change the Error Icon
This grid has EnterKeyMode set to EnterMovesToNextRow
When I enter an invalid value in a cell and validate by clicking on another cell I get the proper response, i.e. Error Message and modified error Icon
but When I validate the entry with a "Return" I get the error message but the error Icon remains the default and is not changed to my custom error Icon
Also, when I validate with Enter I get a "beep" but not when I validate by selecting another cell
Here is my code for changing the error Icon
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Private Sub gvPrize_ViewCellFormatting(sender As Object, e As CellFormattingEventArgs) Handles gvPrize.ViewCellFormatting
'Change Row Error Icon
If e.RowIndex > -1 Then
If TypeOf e.CellElement Is GridRowHeaderCellElement Then
Dim aCell As GridRowHeaderCellElement = CType(e.CellElement, GridRowHeaderCellElement)
Dim ip As ImagePrimitive = CType(aCell.Children(0), ImagePrimitive)
If ip.Image IsNot Nothing Then ip.Image = My.Resources.v2_error_16
End If
End If
End Sub
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi Telerik,
RadGridView allowed (albeit didn't function neat enough) to add a set of columns under a viewdefinition in order to show them as grouped. Is there a proper way of achieving this in RadVirtualGrid? If the feature doesn't exist now, can you advise me on how to achieve this by additional GDI rendering ?
Thank you,
Saj.
I want to implement the effect that highlight the matched text part of filtered node. The visual effect is just like the solution manager of visual studio. How can I do it? Thanks!
Hi,
In my program I have two virtual grids in the same form, viewable and usable simultaneously. By selecting elements in one grid you change what data is loaded into the other. For the sake of supplying more context-sensitive help, I had intended to replace the RadVirtualGridStringId.NoDataText string in the second grid with a more specific prompt depending on why no data is found. This works, but in the event that the first grid was unable to be populated with data, it needs to have different text to the second.
The Localization page explains how to change the LocalizationProvider for all virtual grids, but is there a way to set the provider of a specific instance of the grid?
Thanks
