I've been playing around with SaveLayout and gotten it to work with the standard SaveLayout.
But I'm looking for a way to save ONLY the layout information (column width, column order,visible columns, etc).
I can't seem to find a way to do it.
This is what I've tried so far:
RadGridView1.XmlSerializationInfo.SerializationMetadata.Clear()RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(RadGridView), "MasterTemplate", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewTemplate), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "LogicalOperator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "PropertyName", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Operator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Value", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "IsFilterEditor", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewTemplate), "Columns", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewDataColumn), "Name", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewDataColumn), "Width", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.SaveLayout(mStream)
It gives me a blank result.
THIS works for filtering but not any of the column info (width, order, visible):
RadGridView1.XmlSerializationInfo.DisregardOriginalSerializationVisibility = TrueRadGridView1.XmlSerializationInfo.SerializationMetadata.Clear()RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(RadGridView), "MasterTemplate", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewTemplate), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "LogicalOperator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "PropertyName", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Operator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Value", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "IsFilterEditor", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)RadGridView1.SaveLayout(mStream)
What am I missing?

Hi
How to I hide / minimise the size of a CommandBar that is empty? (See attached image)
Also, there is a small border around the edge of the area (like a Margin or Padding) that I cant reduce. Is there a way to make the CommandBar be positioned tight to the edge?
I hope this makes sense.
Regards
Duane Suter


Hello,
How can i get position of a message in the whole conversation of chat UI. So that i will be able to auto scroll the chat to that location. So that the particular msg can be highlighted.
Thanks.

Hi,
Myself Niharika
I wanted to know how to test .Net winform applications using Telerik Test studio
Do i need to install any testing framework
Can you please update any demo for the same
Thank you
Niharika

Greetings,
For resizing form's controls, I use this
However, I want to resize the width of RadRibbonBarGroups, so that there is no empty space (gap) left between elements of the RibbonBarTab. (All RadRibbonBarGroups should fill up the available space in RibbonBarTab , according to RibbonBarTab's width (form's width))
I would appreciate any help
Thanks

Evening all,
I have a button on the startmenu that calls up a Feedback form for the users to fill in.
No problems getting the form to appear.
My issue is the Startmenu dos not disappear, so it appears on top of the new form till you click on it.
I tried setting focus on the new form but that did nothing.
Is there some sort of Startmenu.visibility.hide I could call after clicking the menu button that calls up the 2nd form?
Or is this a bug! :(
See attached image of the issue.
Hi folks - I know this same question has been asked several times and each time was extremely helpful except every solution I've seen so far ONLY deals with the "Textbox" region of a RadDropDownList.
What I want to do is change the Border Color (if there is one) AND the background color (Fillcolor?) of JUST the dropdown.
You can see my "FromThis.png" and "ToThis.png" attachments to see far more clearly what I'm talking about.
Thanks again in advance everyone!
-Curtis