Telerik Forums
UI for WinForms Forum
1 answer
139 views
Hi,

I have a Hierarchical Rad Grid with two child templates. One of the child templates have more than 1000 records and i would like to show only 100 records for each page. Can Rad Grid support paging option for in this case. Please could you tell me if this is possible and if so how.


Regards,
Vinoth
Stefan
Telerik team
 answered on 10 Sep 2012
5 answers
199 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
192 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
160 views
How can I get the list of colors for the default palettes ?
Boryana
Telerik team
 answered on 10 Sep 2012
1 answer
99 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
121 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
83 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
448 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
279 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
202 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
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
ProgressBar
CheckedDropDownList
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
VirtualKeyboard
NavigationView
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?