Telerik Forums
UI for WinForms Forum
2 answers
125 views

Hello,

I am customizing titlebar apperance with Visual Style Builder. In the builder I got I want apperance. But when I try in the theme viewer or in my app, buttons have changed.

What could be the problem? Why the buttons lose that margin/paddin?

 

 

Thank you!

Dimitar
Telerik team
 answered on 03 Sep 2019
4 answers
430 views
I need code in vb.net to show row number in the row header column of a gridview
Nadya | Tech Support Engineer
Telerik team
 answered on 03 Sep 2019
3 answers
1.4K+ views

Hi,

 

I have recently converted my application to Telerik UI. It was fine before conversion into Telerik but now, after installation on client side, they're complaining for very slow performance. Forms are taking time to load.

 

Can you please tell me why its happening? Any bug you have noticed in your current version?

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Sep 2019
5 answers
834 views

I've can change the size of the main checkbox dropdown, but I can't figure out how to change the size of the autocomplete dropdown. Here's what I've tried, along with a bunch of other stuff:

 

var itemWidth = 200;
var itemHeight = 36;
radCheckedDropDownList1.AutoCompleteMode = AutoCompleteMode.Suggest;
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.SuggestMode = SuggestMode.Contains;
radCheckedDropDownList1.DropDownListElement.ListElement.ItemHeight = itemHeight;
radCheckedDropDownList1.DropDownMinSize = new Size(itemWidth, (people.Count * itemHeight) + itemHeight);
radCheckedDropDownList1.DropDownMaxSize = new Size(itemWidth, (people.Count * itemHeight) + itemHeight);
radCheckedDropDownList1.DropDownMaxSize = new Size(itemWidth, (people.Count * itemHeight) + itemHeight);
RadCheckedAutoCompleteBoxListElement autoCompleteList = radCheckedDropDownList1.CheckedDropDownListElement.AutoCompleteEditableAreaElement.AutoCompleteTextBox.ListElement as RadCheckedAutoCompleteBoxListElement;
autoCompleteList.ItemHeight = itemHeight;
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DropDownSizingMode = SizingMode.None;
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DropDownMinSize = new Size(itemWidth, 400);
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DropDownMaxSize = new Size(itemWidth, 400);

David
Top achievements
Rank 1
 answered on 29 Aug 2019
5 answers
910 views
in demo of text box control bing icon is displayed on left side of text control, i can't change that icon. there is only option for changing the background image of text box control. how to add icon in it?
Nadya | Tech Support Engineer
Telerik team
 answered on 29 Aug 2019
2 answers
420 views

Hi admin,

 

I want to rotate individual pages. Not radpdfviewer of rotation. I found individual page logic but exactly not correct . please see attach file.

 

 

Thanks

Moe

Vladislav
Telerik team
 answered on 28 Aug 2019
2 answers
199 views

Hi Admin,

 

After RadPdfViewer1.LoadDocument , I want to default focus to page no 6. May I know how to do in winform.

 

Thanks

Moe

Moe
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 28 Aug 2019
1 answer
187 views

Hello,

I am developing one windows application. in one of the page i am using Telerik.WinControls.UI.RadGridView and added Edit and Delete button in grid. While first time my page appears i click on "Delete" button, it shows MessageBox.Show message with confirmation "Yes" and "No" buttons. while i click on No button it works as expected. While i click on "Edit" button it open new form in window and save and close that form. now rebind grid in "Edit" and "Delete" button. Now, if i click on delete button, it asks for MessageBox.show with confirmation "Yes" and "No" buttons. While i click on "No" button message box appear twice. while user clicks on "NO" we called "return". still its not working. Can anyone please help me out for this issue. Need help ASAP.

 

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Aug 2019
1 answer
172 views

I have a custom visual item class derived from RadListVisualItem. My custom visual item is being created in the CreatingVisualListItem event, but the "Padding" property is ignored. I've tried Margin, as well, but no luck. My class is below. What am I missing?

 

public class CustomVisualItem : RadListVisualItem
{
DockLayoutPanel mainContainer;
StackLayoutElement leftColumn;
StackLayoutElement rightColumn;
LightVisualElement titleElement;
LightVisualElement photoElement;

private ImagePrimitive image;
public ImagePrimitive Image
{
get
{
return this.image;
}
}

protected override Type ThemeEffectiveType
{
get
{
return typeof(RadListVisualItem);
}
}

protected override void CreateChildElements()
{
base.CreateChildElements();

mainContainer = new DockLayoutPanel();
leftColumn = new StackLayoutElement();
rightColumn = new StackLayoutElement();
photoElement = new LightVisualElement();
titleElement = new LightVisualElement();

this.Children.Add(mainContainer);
mainContainer.LastChildFill = true;

leftColumn.Orientation = Orientation.Vertical;
leftColumn.Children.Add(photoElement);
photoElement.DrawBorder = true;
photoElement.Shape = new CircleShape();
photoElement.BackColor = Color.Transparent;
photoElement.BackColor2 = Color.Transparent;
photoElement.BackColor3 = Color.Transparent;
photoElement.BackColor4 = Color.Transparent;
photoElement.AutoSize = false;

rightColumn.Orientation = Orientation.Vertical;
rightColumn.Children.Add(titleElement);
titleElement.Padding = new Padding(50);
titleElement.AutoSize = false;
titleElement.DrawBorder = true;
titleElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders;
titleElement.BorderLeftWidth = 0;
titleElement.BorderTopWidth = 1;
titleElement.BorderRightWidth = 0;
titleElement.BorderBottomWidth = 0;

mainContainer.Children.Add(leftColumn);
mainContainer.Children.Add(rightColumn);
DockLayoutPanel.SetDock(leftColumn, Telerik.WinControls.Layouts.Dock.Left);
DockLayoutPanel.SetDock(rightColumn, Telerik.WinControls.Layouts.Dock.Right);
leftColumn.NotifyParentOnMouseInput = true;
rightColumn.NotifyParentOnMouseInput = true;
titleElement.NotifyParentOnMouseInput = true;
photoElement.NotifyParentOnMouseInput = true;
}
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Aug 2019
6 answers
413 views

I am having trouble just trying to get a user's currently selected cell when using this control.

https://docs.telerik.com/devtools/winforms/controls/spreadsheet/features/ui-working-with-selection.html

from this page I can't even get this to work with my control (Selection seems to not be found so I Underlined and Bolded it)

Selection selection_2 = this.radSpreadsheet.SpreadsheetElement.ActiveWorksheetEditor.Selection;

selection_2.Select(new CellIndex(0, 0), false);

yes I have all the required References added to my project and form.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Aug 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)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?