Telerik Forums
UI for WinForms Forum
5 answers
215 views
Hi,

I am using Q3 2011 telerikmetroblue theme. How do I change the applicationbutton background style ?
Ivan Petrov
Telerik team
 answered on 10 Sep 2012
7 answers
202 views
I am using the below code for the fill handle like excel but i have one more issue. Please help on this.please have look the attached images. when i drag it will copy one cell value to selected range of cell but  scroll is not working remaining cell at the right side.scroll bar is not move automatically.

     Private Sub gv_CPS_MouseUp(sender As System.Object, e As System.Windows.Forms.MouseEventArgs) Handles gv_CPS.MouseUp

            If gv_CPS.Rows.Count > 0 Then
            If gv_CPS.SelectedCells.Count > 1 Then
                Dim objSelecteCellValue As Object = Nothing
                For Each dc As Telerik.WinControls.UI.GridViewCellInfo In gv_CPS.SelectedCells
                    If dc.IsCurrent Then
                        objSelecteCellValue = dc.Value
                    End If
                  Next
                For Each dc As Telerik.WinControls.UI.GridViewCellInfo In gv_CPS.SelectedCells
                    If Not dc.IsCurrent Then
                        If Not dc.[ReadOnly] Then
                            If Validate(Convert.ToString(objSelecteCellValue)) Then
                                dc.Value = objSelecteCellValue
                            Else
                                Exit For
                            End If
                        End If
                    End If
                Next
            End If
        End If
    End Sub

thanks in advance
Svett
Telerik team
 answered on 10 Sep 2012
1 answer
178 views
How can I get the list of colors for the default palettes ?
Boryana
Telerik team
 answered on 10 Sep 2012
1 answer
105 views
Using Hierarchical grid how can we get or set the width of border around child view template?

Attached is a sample

Thanks in advance


Stefan
Telerik team
 answered on 10 Sep 2012
1 answer
138 views
Hi Telerik team,

I added a CommandBarDropDownButton to a CommandBar. Then I set properties of the button like following:
DrawText = True
Text = &New
UseMnemonic = True
However, the N character was not underlined and nothing happened when Alt + N pressed. How to solve this?

Regards
Ivan Todorov
Telerik team
 answered on 10 Sep 2012
1 answer
85 views
Hi,

how kann i add lines of text with different background colors to the radrichtextbox ?

Stefan
Telerik team
 answered on 10 Sep 2012
5 answers
460 views
Hello,

I have two questions. I've created an unbound combo box column like this:

            const string aceptar = "Aceptar";
            GridViewComboBoxColumn aceptarColumn = new GridViewComboBoxColumn(aceptar, aceptar);
            aceptarColumn.HeaderText = aceptar;
            aceptarColumn.Width = 120;            
            aceptarColumn.DataType = typeof(String);
            aceptarColumn.DataSource = new String[] { "Sí", "No", "No lo sé" };
            gridViewPedidos.Columns.Add(aceptarColumn);

1) How can I set the default value to "No lo sé" (the 3rd element?) By defoult the combos are empty.

2) Is it possible to achieve this at design time? I mean, without having to write none of the above lines of code?

Best regards,

Gonzalo
Nikolay
Telerik team
 answered on 10 Sep 2012
2 answers
295 views

In winforms, I try to merge cell using cell border style.
There are some problem in cell border color.

attached file is screen shot.
plz help me

        private void BtnDel_Click(object sender, EventArgs e)
        {
            MergeCell(GvMain, new int[] { 1, 2, 3, 4, 5 });
        }

        private void MergeCell(RadGridView gv, int [] idx)
        {
            GridViewRowInfo Prev = null;
           
            foreach (GridViewRowInfo item in gv.Rows)
            {
                if (Prev != null)
                {
                    string s1 = string.Empty;
                    string s2 = string.Empty;

                    foreach (int i in idx)
                    {
                        GridViewCellInfo c1 = Prev.Cells[i];
                        GridViewCellInfo c2 = item.Cells[i];

                        //s1 += "|" + (c1 != null && c1.Value != null ? c1.Value.ToString() : string.Empty);
                        //s2 += "|" + (c2 != null && c2.Value != null ? c2.Value.ToString() : string.Empty);
                        s1 = (c1 != null && c1.Value != null ? c1.Value.ToString() : string.Empty);
                        s2 = (c2 != null && c2.Value != null ? c2.Value.ToString() : string.Empty);

                        if (s1 == s2)
                        {
                            //c2.Value = string.Empty;
                            c2.Style.ForeColor = Color.Transparent;

                            //c2.Style.DrawBorder = true;
                            c2.Style.CustomizeBorder = true;
                            c2.Style.BorderTopWidth = 0;
                            //c2.Style.BorderTopColor = Color.Transparent;
                        }
                        else
                        {
                            //c2.Style.CustomizeBorder = false;
                            Prev = item;

                            break;
                        }
                    }
                }
                else
                {
                    Prev = item;
                }
            }
        }

HyunBae
Top achievements
Rank 1
 answered on 08 Sep 2012
6 answers
215 views
I am binding a chart to a data table at run time. This works great. However, if there are leading zeros in the x-axis labels they are removed automatically. How can I retain leading zeros in the x-axis labels?
DroidSlave
Top achievements
Rank 2
 answered on 07 Sep 2012
2 answers
209 views
Greetings.
I downloaded and installed the RadControls for WinForms Q2 2012 SP1 trial version and I'm very interested to use and customize the telerikEditor application, very powerful and optimal for my needs.
I have some problems to open and use the application from vs 2008 because I can't register 2 dll:
Telerik.WinControls.RichTextBox and Telerik.WinControls.SpellChecker.
Visual studio  seems not to find them, and returns an error "Assembly not found" despite I refer them correctly in the directory BIN40.
I made something wrong? It is a license problem or what?
I'm using a Windows 7 professional PC 64 bit.
looking forward for your help,

Giovanni

Fabrizio
Top achievements
Rank 1
 answered on 07 Sep 2012
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?