Telerik Forums
UI for WinForms Forum
8 answers
682 views
Morning,

I'm testing out these controls and have run into a problem...  I hope someone can help.

I have a problem with automatically setting the item heights of the dropdown items.   In the attached image, you will see that the textbox font size is much larger than the items that appear in the drop down.   Since my application is a touch screen application, I need these to be larger so the users can actually interact with the items in the drop down and also the dropdown style must be combobox like so the user's can search the drop downs.

I have tried the following in several different groupings:
RadDropDownList1.ListElement.AutoSizeItems = True
RadDropDownList1.ListElement.ItemHeight = 34
RadDropDownList1.DropDownListElement.ItemHeight = 34
RadDropDownList1.DropDownListElement.AutoSize = True
RadDropDownList1.DropDownListElement.AutoSizeItems = True

If there are additional details/settings that would help, please let me know and I will include them.
Cheers
DJ
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 May 2015
1 answer
174 views

There's a step property in the RadTimePicker, which I up untill this point believed set the amount of hours / minutes to step when the buttons in the timepicker were clicked, this however, doesn't seem to be the case. Why is there no step property for hours and minutes? 

 

To explain further: I want the user to only be able to step by one hour or by 30 minutes, is there no way of achieving this with the given properties existing within the Timepicker?

Hristo
Telerik team
 answered on 05 May 2015
1 answer
65 views
I updated my version of telerik in Telerik_UI_for_WinForms_2015_1_331_dev, it has a bug, even in demo of telerik. When scrolling the pageview with mutiple page in explorer mode. Please advise us what to do. Thanks
Dimitar
Telerik team
 answered on 04 May 2015
1 answer
97 views

I make a query to a database SQL attempt to bring the result to a radGridView .... I add the row but no data as it should?

private void radButton1_Click(object sender, EventArgs e)
{
if(txtNro.Text=="")
MessageBox.Show("DEBE INGRESAR UN NRO DE ORDEN", "ATENCION", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
else
if (txtNro.Text != "")
{
conexion.Open();
SqlCommand consulta = new SqlCommand("select Convert(varchar(10),fecIni,103) as fecIni ,Convert(Varchar(10),fecFin,103) as fecFin from ordenes where nro_orden=@nro", conexion);
consulta.Parameters.AddWithValue("@nro", Convert.ToInt32(txtNro.Text));
SqlDataReader registro = consulta.ExecuteReader();
if (registro.Read())
{
labelIni.Text = Convert.ToString(registro["fecIni"]);
labelFinal.Text = Convert.ToString(registro["fecFin"]);
}
else
{
MessageBox.Show("NO SE ENCONTRO EL NUMERO DE ORDEN INGRESADO", "ATENCION", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
labelIni.Text = "";
labelFinal.Text = "";
}
conexion.Close();
DataTable dt = new DataTable();
conexion.Open();
SqlCommand consulta2 = new SqlCommand("select medicamento,cantidad,programa,precioUnit,precioFin from DetalleOrden where nro_orden=@nro",conexion);
consulta2.Parameters.AddWithValue("@nro", Convert.ToInt32(txtNro.Text));
SqlDataAdapter da = new SqlDataAdapter(consulta2);
da.Fill(dt);
rgv.DataSource = dt;
conexion.Close();


}
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2015
1 answer
86 views

 

Input string in TextBox then use RadTreeView.FindNodes(string) to search, how can I do that can auto select the result node and focus on the result node?

very appreciated!!

 

Stefan
Telerik team
 answered on 04 May 2015
3 answers
215 views

Hi, I am using a GridViewMaskBoxColumn to edit and display a 12 character long string as follows: "AAAA-AAAA-AAAA"

I am using standard mask type and mask as  ">LLLL-LLLL-LLLL"  which forces all input characters to uppercase.

The editor works fine when inputing the string in the cell, displaying correctly the prompt characters ("_") and seperation literals ("-").

However, the text after editing is finished appears in the grid as "AAAAAAAAAAAA" instead of the desired "AAAA-AAAA-AAAA" of the mask format, which incidently is the default behavior of the maskededitbox editor I use in other parts of my application.

Can you please suggest why the desired text format behavior of the maskededitbox is not implemented in the gridview, or a way to go around this problem?

 

Regards,

 

George

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2015
1 answer
163 views

I've tried all these option to change the localization of the styles

            ((Telerik.WinControls.UI.RichTextEditorRibbonUI.StyleGalleryItem)(this.richTextEditorRibbonBar1.GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(1).GetChildAt(1).GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(1))).ToolTipText = "Titre 1";
            ((Telerik.WinControls.UI.RichTextEditorRibbonUI.StyleGalleryItem)(this.richTextEditorRibbonBar1.GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(1).GetChildAt(1).GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(1))).Image = ((System.Drawing.Image)(resources.GetObject("resource.Image3")));
            ((Telerik.WinControls.UI.RichTextEditorRibbonUI.StyleGalleryItem)(this.richTextEditorRibbonBar1.GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(1).GetChildAt(1).GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(1))).TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            ((Telerik.WinControls.UI.RichTextEditorRibbonUI.StyleGalleryItem)(this.richTextEditorRibbonBar1.GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(1).GetChildAt(1).GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(1))).TextAlignment = System.Drawing.ContentAlignment.BottomCenter;
            ((Telerik.WinControls.UI.RichTextEditorRibbonUI.StyleGalleryItem)(this.richTextEditorRibbonBar1.GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(0).GetChildAt(4).GetChildAt(1).GetChildAt(1).GetChildAt(1).GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(1))).Text = "Titre 1";

The style still stay as "heading 1" .

 

Please would you help ?

 

Dimitar
Telerik team
 answered on 04 May 2015
4 answers
355 views
Unbound radlistView, I want to highlight certain rows if its text is a certain pattern
How to achieve that?

Thanks
Vlad
Top achievements
Rank 1
 answered on 03 May 2015
1 answer
158 views

Hello,

Is it possible to have a minsize for a panel (when the user manually drags the splitter) but make it so the button still collapses the pannel completely?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 May 2015
2 answers
105 views
After docking a Tool Window i set the TabStrip.SizeInfo.Absolute size. But whenever i run the application the size never changes.
Hugues
Top achievements
Rank 1
 answered on 30 Apr 2015
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?