Two questions:
1] How to make a column cells look like and act like buttons?
2] How to then capture when the user clicks on the button in the cell?
In my old code I would have something like:
.Columns("Do It").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button
Looking for the equivilent to that and then how to capture the click event.
Thanks
Deasun.
Hi,
I am trying to create a notification badge on my menu items to show when there is something new that needs the users attention. I have used the examples found here but I can't seem to get it to work right. https://www.telerik.com/support/kb/winforms/buttons/details/notification-button
Can you please supply some sample code to get this to work.
Thanks,
Tim Larson
Hello, I have a gridview as shown in the picture, I'm trying to iterate throw all group header rows, and access the progress bar in order to set a image for the progress bar.
Is this possiple?
Thanks in advance
Hello, I'm trying to build a dashboard that autosizes the tool windows.The pictures basicly tells it all. But I'm looking for a behavior align the windows when the form gets resized to fullscreen. Is there any way to do this?
Thanks in advance
On my RadContextMenu, there are multiple RadMenuItem with CheckOnClick = True. Is it possible to do multiple check without the context menu closed up? like while holding Shift button and check multiple RadMenuItem?
Thanks.
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 =
True
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.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.