Telerik Forums
UI for WinForms Forum
3 answers
67 views

I have a data bound grid that has the AllowSearchRow = True

And, I have the AllowSearching Property set to true on a number of columns.

But the Search in Columns Dropdown does not contain the checked list box - it's empty... actually it doesn't even drop down!

What do I need to do to get the Master Template checked list box of columns to appear?

Dimitar
Telerik team
 answered on 16 May 2019
0 answers
77 views

Hi All,

How to save cell value to table in database ? just like radgridview even thought we have to iterate all rows.

Thanks in advance

andi
Top achievements
Rank 1
 asked on 16 May 2019
3 answers
126 views

Hello,

Please my attached screenshot.

When I reduce the width of my ribbonform, the captions of the buttons in the ribbongroup will be collapsed at first, and then the buttons will be replaced by a dropdown button for the group. The button without caption looks weird, specially for the button "image before text".

How can I make the button to be full collapsed or full displayed ?

I've tried CollapsePriority in ribbonbargroup, it doesn't work as I would like.

 

Thanks in advance.

Dimitar
Telerik team
 answered on 15 May 2019
21 answers
693 views
Does anyone know how to get rid of the box around the children in a hierarchy? There seems to be default size that is set regardless of how many children there are. I have autoresize checked to true. It makes the child records take up more room than they should and the box around the children is annoying.

Susan
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 May 2019
1 answer
108 views

Hello,

I'm contacting you because I would like help. I created a CustomEditor that inherits BaseGridEditor. I also created a CustomElement that inherits from LightVisualElement. In this element, I have a DockLayoutPanel which contains on the left a RadDropDownListElement, on the right a RadButtonElement and the rest of the space contains a RadMaskedEditBoxEditorElement. The DropDownListElement contains 2 items.

The problem is that when I edit the cell, my CustomElement appears but the DropDownListElement is not resized.

If I replace the Dock panel with a StackLayoutElement it's ok but the stacklayoutpanel's width is divided into 3 equal parts.

How to use DockLayoutPanel and autosize?

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 May 2019
3 answers
169 views
Hi,

  I have an issue with RTL Exporting. Radgrid is in Right To Left format..When i export it it goes back to Left to Right Format. Is there anyway by which we can export/print it in RTL style itself..Please Reply.

Thanks
Dimitar
Telerik team
 answered on 14 May 2019
3 answers
209 views

Hi,

I'm currently new to Telerik, which my company used in the past. One of my first task is to upgrade and copy a project by manually rewriting the files to avoid publishing issues.  I came across an error which I can't seem to find the solution.  It appears that Pdf class is no longer under Telerik.Windows.  I see that there's a Telerik.Pdf now but I can't seem to figure out what to use to make my project error-free.  Can anyone help me with this?

 

Visual Studio Error at the beginning of my form:
using Telerik.Windows.Pdf.Documents.Fixed.Model.Navigation;



Severity: Error, Code: CS0234, Description: The type or namespace name 'Pdf' does not exist in the namespace 'Telerik.Windows' (are you missing an assembly reference?), Project: Label Printing PVC, File:C:\Users\Lily\Documents\Visual Studio 2017\Projects\Label Printing PVC\Label Printing PVC\APrintLabelSystemProdGroupNew.cs, Line 10, Suppression State: Active


Tanya
Telerik team
 answered on 13 May 2019
2 answers
238 views

I'm trying to alter a datetime column in my radgridview object.

I need it to be shown as followed:

<Year  Quarter of year>

For example the dateTime value of" '28/5/2012' shold be shown as: '2012  Q2'.

I undetstand that i need to changed it with a custmize FormatProvider and also to edit the values of the cells in radgridView1_CellFormating.

I  also declared the custmize FormatProvider.

But how do I connect that formatProvider to that specific dateTime column ?

Thanks!

avishay
Top achievements
Rank 1
 answered on 13 May 2019
23 answers
963 views
I'm trying to add a button in the Titlebar, I would like to give it the same aspect than the other buttons but I'm unable to do it, see:

http://i.stack.imgur.com/cH5Zw.png

Notice that my new button has a shiner color than the others and also the size protrudes out the yellowed border.

This is the code that I'm using:
----------------------------------------------------------------------------------------------------------
Imports Telerik.WinControls.UI

Public Class RadForm_TestForm : Inherits RadForm

Public Sub New()

' This call is required by the designer.
InitializeComponent()

' Set the RadForm design.
With Me

.ThemeName = "VisualStudio2012Dark" ' The visual theme.
.FormElement.Border.ForeColor = Color.Gold ' Set the borders color.
.FormElement.Border.Width = 1I ' Set the borders width.
.FormElement.TitleBar.BorderPrimitive.ForeColor = Color.Red
.FormElement.TitleBar.ForeColor = Color.LightGray ' Set the TitleBar text color.
.FormElement.TitleBar.MinimizeButton.Enabled = False

End With

' Create a RadButtonElement.
Dim SystrayButton As New RadButtonElement()
With SystrayButton ' Set the RadForm design.

.Text = "."
.ShowBorder = False
.AutoSize = False

.Size = Me.FormElement.TitleBar.MinimizeButton.Size
' .ButtonFillElement.BackColor = Me.FormElement.TitleBar.MinimizeButton.BackColor

End With

' Add the Button in the TitleBar.
Me.FormElement.TitleBar.Children(2).Children(0).Children.Insert(0, SystrayButton)

End Sub

End Class
----------------------------------------------------------------------------------------------------------
Notice that in the code above this line is disabled:

.ButtonFillElement.BackColor = Me.FormElement.TitleBar.MinimizeButton.BackColor

Because if I change the color in that way, if I put the mouse over the button it does not change the color when it is focused so it replaces the focused state.












I'm trying to add a button in the Titlebar, I would like to
give it the same aspect than the other buttons but I'm unable to do it,
see:



Notice that my new button has a shiner color than the others and also the size protrudes out the yellowed border.

This is the code that I'm using:

Imports Telerik.WinControls.UI

Public Class RadForm_TestForm : Inherits RadForm

Public Sub New()

' This call is required by the designer.
InitializeComponent()

' Set the RadForm design.
With Me

.ThemeName = "VisualStudio2012Dark" ' The visual theme.
.FormElement.Border.ForeColor = Color.Gold ' Set the borders color.
.FormElement.Border.Width = 1I ' Set the borders width.
.FormElement.TitleBar.BorderPrimitive.ForeColor = Color.Red
.FormElement.TitleBar.ForeColor = Color.LightGray ' Set the TitleBar text color.
.FormElement.TitleBar.MinimizeButton.Enabled = False

End With

' Create a RadButtonElement.
Dim SystrayButton As New RadButtonElement()
With SystrayButton ' Set the RadForm design.

.Text = "."
.ShowBorder = False
.AutoSize = False

.Size = Me.FormElement.TitleBar.MinimizeButton.Size
' .ButtonFillElement.BackColor = Me.FormElement.TitleBar.MinimizeButton.BackColor

End With

' Add the Button in the TitleBar.
Me.FormElement.TitleBar.Children(2).Children(0).Children.Insert(0, SystrayButton)

End Sub

End Class

Notice that in the code above this line is disabled:

.ButtonFillElement.BackColor = Me.FormElement.TitleBar.MinimizeButton.BackColor

Because if I change the color in that way, if I put the mouse over the button it does not change the color when it is focused.

Maybe a solution could be applying the same theme of my RadForm on the RadButtonElement?

I've read this: http://www.telerik.com/forums/apply-theme-to-radbuttonelement

...but I really don't understand how to do it, I don't have any 'DefaultStyleBuilder' and I can't find info in telerik about what means that.


PS: Here you can read this question in other webpage: http://stackoverflow.com/questions/25635610/telerik-how-to-properly-add-a-radbuttonelement-in-a-radform-titlebar/25799876?noredirect=1#comment40391390_25799876

I need help to solve this... thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 May 2019
1 answer
246 views

Convert radGridView column after binding to a Hyperlink?

 

How can I do this?  When I converted to a radGridView the same type conversion gave errors on compile.

 

With DataGridView control I was able to access a cell and change it to a hyperlink

using very similar code to this:

 

01.void dataGridView1_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
02.{
03.    foreach (DataGridViewRow r in dataGridView1.Rows)
04.    {
05.        if (System.Uri.IsWellFormedUriString(r.Cells["Contact"].Value.ToString(), UriKind.Absolute))
06.        {
07.            r.Cells["Contact"] = new DataGridViewLinkCell();
08.            // Note that if I want a different link colour for example it must go here
09.            DataGridViewLinkCell c = r.Cells["Contact"] as DataGridViewLinkCell;
10.            c.LinkColor = Color.Green;
11.        }
12.    }
13.}
Dimitar
Telerik team
 answered on 13 May 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?