Telerik Forums
UI for WinForms Forum
1 answer
88 views
I have followed the following guide
http://www.telerik.com/help/winforms/chartview-features-drill-down.html

I have then edited the code following the guide.

However when i go the grid view and click on it noting happens am i suppose to link the radchartview to a click method?
Dimitar
Telerik team
 answered on 14 Feb 2014
2 answers
109 views
On most of my grids the horizontal scroll bar works correctly, but on the ones where I set the ViewDefinition to a HtmlViewDefinition it does not seem to be working.  I force the scrollbar to always show, but it does not let me scroll over to the columns off of the right side of the grid.  The scrollbar only lets me scroll a tiny bit (about half a column) to the right despite there being a dozen or more columns off of the right side of the grid.  No matter how I resize the window the scrollbar "bar" takes up about 98% of the space with about 2% "empty" space. 

Do you have any suggestions on what I can look at that could cause this?
George
Telerik team
 answered on 14 Feb 2014
0 answers
89 views
I need the value of current cell's immediate Parent Row Index but this has been depreciated. So how do I get it?

int currentParentIndex = cell.RowInfo.ParentRow.Index;
Priyam
Top achievements
Rank 1
 asked on 13 Feb 2014
1 answer
47 views
Hi,

I'm developing an application similar to the Mail application. I used AutoCompleteBox for TO List and i want to store selected items values in db. But i didnt find Value field in Databinding Properties. How can store seleceted values in db and restore back?

Thank you.
Dimitar
Telerik team
 answered on 13 Feb 2014
8 answers
281 views
hello, well I tested the demo of your product working with the listview control by the database
radlistview1.DataSource = dt
dt.Columns radlistview1.DisplayMember = (1). ToString


and post pictures in the ItemDataBound event to perfect the problem there is that I require key press selects the first item that Start with good lyrics that I hope your help thanks.


I tried this and nothing


For i = 0 To ViewVideos.Items.Count - 1
             If ViewVideos.Items (i). Text = "sauce" Then
                 ViewVideos.SelectedIndex = i

                 MsgBox (i)
             else
             End If
         Next

regards
George
Telerik team
 answered on 13 Feb 2014
2 answers
67 views
Hi, this is a little potential bug I found. Could you please confirm? 
Here's the setup: a RadGridView with two columns, named column 1 and column 2 (index 0 and 1) and an event handler method on the SortChanged event.
Use the column sort functionality in the UI on column 1. Then do it again for column 2 but break in the SortChanged event handler method.
The new item now states that the sortdescriptor is for column 1 while the old item now states that the sortdescriptor within is for column 2. That is to say, the new item and old item seem to be reversed? 
Is this how its meant to be or am I viewing this the wrong way?
Stefan
Telerik team
 answered on 13 Feb 2014
4 answers
127 views
Hi,

I have a few datatables (as children) on the first level.
How to show all the tables in the foreground (without the tabs)?
Stefan
Telerik team
 answered on 13 Feb 2014
2 answers
62 views
Hi Telerik
I am going to report a bug in Visual Style Builder application.
In some tools, when you click on browse button of ImageLayout or BackgroundImageLayout, nothing opens.
And you should write down by hand.

For example:
1. Select from Control Structure panel: RadListView > RadListViewElement > DetailListViewHeaderCellElement
2. In Elements panel, open DetailListViewHeaderCellElement.
Now when you click on browse button of ImageLayout or BackgroundImageLayout, nothing happens and  you should write down Center or Tile or etc.

Thanks.
Stefan
Telerik team
 answered on 13 Feb 2014
1 answer
509 views
Hello,
I'm new to Rad controls and i'm having a problem accessing the parent radfrom of a child on (MDI not enabled). would appreciate the assistance.

in the parent form when i click a button it does this:

frmAddExtraItem fax = new frmAddExtraItem();

fax.Show(this);

and it shows the child form, but when i click a button in the child form the code is this:

((MainForm)this.ParentForm).dataGridView1.Rows.Add(insertitem.EDescription);


now datagridview1 is public, but this.ParentForm is always null, i tried all combinations possible for both code snippets, trying this.Parent, and even this.Parent.Parent multiple times, and also in the first code i tried fax.ParentForm = this, fax.Parent = this, and fax.Parent = this.Parent, and so on many combinations including fax.ShowDialog(), but nothing seems to work and i always get this.Parent or this.ParentForm as null, how can i access the dtatagridview1 in the parent in that case?

thank you
Dimitar
Telerik team
 answered on 12 Feb 2014
3 answers
559 views

I have a lot of RadGridViews inside my applications and as long as there are columns of type GridViewTextBoxColumn only I never encountered perfomance issues. Now I have to do some formatting (very simple logic in my opinion, see code below) and my RadGridView is much slower, especially scrolling.



I tried using CellFormatting and RowFormatting event (not the same time) but both events result in poor performance. Also I am wondering why the documentation recommends using CellFormatting instead of RowFormatting. I have to display 1000-10000 records with 15 columns. Isn't RowFormatting executed one time per (visible) row while CellFormatting will be executed 15 times per row?



Here is my RowFormatting code. Of course the code differs a little bit when I use it in CellFormatting but the idea is the same. All I want to do is set some Images:



// Check column "EventTypeID" and set corresponding icon in column "EventTypeImage"
 
var cell = row.Cells["EventTypeImage"];
 
if (cell != null && cell.Value == null)
{
  switch ((byte) row.Cells["EventTypeID"].Value)
  {
    case (byte) EEventType.Error:
    {
      cell.Value = Resources.ErrorIcon;
      break;
    }
 
    // other cases
  }
}
 
// 4 more GridViewTextBoxColumns that I check and set corresponding icon in a GridViewImageColumn

Performance is good as long as there are few records. But beginning with 500+ rows I have to deal with big performance impacts. I also encountered some crazy behavior with CellFormatting. When I put a counter in my code and write this counter to console whenever CellFormatting event is raised the event never stops from raising so the application hangs forever. I don't know whats going on there, why is this event raising endless just because I write down some debug info to console?



I am using latest version of RadControls for WinForms Q3.

George
Telerik team
 answered on 12 Feb 2014
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?