Telerik Forums
UI for WinForms Forum
2 answers
489 views

Is there a way to expand a dropdownlist item when the list is open and a user hovers their cursor over an item?  I have a RadDropDownList with some list items that have long text values that don't fit in the width of the dropdownlist.  Ideally, I'd like to make it so they can see the entire list item string when they hover over the list item.

 Thanks in advance for your help!

Matthew
Top achievements
Rank 1
 answered on 29 May 2015
3 answers
226 views

I'm using VS 2010 C# Winform. I was wanting to know if its possible to scroll to a specific row in a hierarchical grid like you can with the parent grid?

 Example: this.gridview.TableElement.ScrollToRow(3);

 

Dimitar
Telerik team
 answered on 29 May 2015
1 answer
393 views

Hello 

I need to change  back color of GridTextBoxColumn while editing in RadGridView control.

My application have two themes BLACK and WHITE.

For BLACK theme textcolor is white editing GridTextBoxColumn  the backcolor is white and textcolor is same so I'm unable see the typed text.

So far I have tried below approach

 GridViewDataRowInfo row = new GridViewDataRowInfo(this.dataGridView1.MasterView);
                row.Cells[0].Value = "";
                row.Cells[1].Value = "";
                row.Cells[0].Style.CustomizeFill = true;
                row.Cells[0].Style.DrawFill = true;
                row.Cells[0].Style.BackColor = ColorTranslator.FromHtml("41,44,41");
                dataGridView1.Rows.Add(row);

 

Where-

row.Cells[0] is GridTextBoxColumn

row.Cells[1] is GridCommandColumn 

but the changes are not affecting white editing text.

Please help.

 

Thanks in advance.

 

Todor
Telerik team
 answered on 29 May 2015
1 answer
462 views

How do I change the Font and Color of the text of a ChartView's title?

 

Laura

Stefan
Telerik team
 answered on 29 May 2015
1 answer
118 views

Hi All -

I have the following bit of code which works fine....I'm formatting a column based on the data in another column.

The problem I have arises when I try to sort on 'Display1' column by clicking the header. If I try to do when the grid is first populated, it doesn't sort. If I've scrolled thru the data once, then everything is fine.

I understand why this happens: Since the RowFormatting method is not called until the row in question is displayed, the 'Display1' values have not yet been populated in my non-visible rows.

So my question is this: What is the best way to get 'Display1' to sort properly? Do I simulate scrolling thru the grid to force RowFormatting to do its work? Or is there a better way?

Thanks as always,

Hugh

      

private void MasterTemplate_RowFormatting(object sender, RowFormattingEventArgs e)
    {           
    if (e.RowElement.RowInfo.Cells["Data1"] != null)
        {
        if ((String)e.RowElement.RowInfo.Cells["Data1"].Value == "")
            e.RowElement.RowInfo.Cells["Display1"].Value = "";
        else
            e.RowElement.RowInfo.Cells["Display1"].Value =
                                FormatData(e.RowElement.RowInfo.Cells["Data1"].Value);                   
        }
    }

Dimitar
Telerik team
 answered on 28 May 2015
1 answer
123 views
In my Report i used Year,Month and Date fields in the ColumnGroupDescriptions .But fields are shown as Integers.How can i set fields with Date Behaviour.
Hristo
Telerik team
 answered on 28 May 2015
2 answers
320 views

Hello,

How can I set Node Text Multiline?

Is there any worktrought?

thanks

Matteo Fabris
Top achievements
Rank 2
 answered on 28 May 2015
7 answers
339 views

Hi I have a Rad Grid View that I am exporting to excel using the code below. This works fine, but I would like the code to export the grouped data so that excel sees it as grouped data rather than static cells. Is there a way to achieve this?

Thanks in advance.



private void button4_Click(object sender, EventArgs e)
  {
      ExportToExcelML exporter = new ExportToExcelML(this.radGridView1);
      exporter.HiddenColumnOption = Telerik.WinControls.UI.Export.HiddenOption.DoNotExport;
      exporter.ExportVisualSettings = true;
      exporter.SheetName = "Films";
      string fileName = "C:\\ExportedData.xls";
      exporter.RunExport(fileName);
  }
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 May 2015
1 answer
126 views
Hello, recently we began to encounter exceptions using Telerik GridView. Exception message:

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Telerik.WinControls.Keyboard.ChordMessageFilter.CreateInstance()
   at Telerik.WinControls.Keyboard.Shortcuts.AddShortcutsSupport()
   at Telerik.WinControls.Keyboard.Shortcuts..ctor(Control owner)
   at Telerik.WinControls.RadControl.EndInit()
   at Telerik.WinControls.UI.RadGridView.EndInit()
   at CreditAdmin.CardAdmin.Controls.Notifications.InitializeComponent() in c:\_Projects\CreditAdminTeboil\EmsAdmin\CreditAdmin\CardAdmin\Controls\Notifications.Designer.cs:line 149
   at CreditAdmin.CardAdmin.Controls.Notifications..ctor() in c:\_Projects\CreditAdminTeboil\EmsAdmin\CreditAdmin\CardAdmin\Controls\Notifications.cs:line 17...

It seems like this happens only when we use ALT shortcuts (to navigate trough tabs ant some other functions). Does anyone knows what could be the cause of this problem ?
Dimitar
Telerik team
 answered on 28 May 2015
7 answers
250 views
Hello,

Is it possible to save the columns/rows position to a xml file to load it later?

Thank you,
Eduard
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 May 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
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?