Telerik Forums
UI for WinForms Forum
1 answer
108 views
First let me say I am a web programmer, but I have a need for a small utilities app that needs a data grid.  I load the form, user selects several options and clicks button.  On click I generate a DataSet and call gridview1.DataSource = datasetname;

The datasource has data, and the gridview is set to autogeneratecolumns = true.

Nothing changes and no data is shown.  What am I missing here?

Thanks!

Jeff
Ivan Petrov
Telerik team
 answered on 28 Oct 2011
1 answer
232 views
I'm developing custom SimpleListViewVisualItem for RadListView. It should contain a list of business items and it should be displayed on RadListView in IconView mode. Business items must be displayed on RadGridView.

public class CustomVisualItem : SimpleListViewVisualItem
{
     RadGridView gwBusinessItems;
     BindingSource bsBusinessItems;
     List<BO> _list = new List<BO>();
     ...
     public CustomVisualItem()
     {
          bsBusinessItems.DataSource = _list;
          gwBusinessItems.DataSource = bsBusinessItems;
     }
     ...
     public void InitializeControls()
     {
          gwBusinessItems = new RadGridView();
          gwBusinessItems.Dock = DockStyle.Fill;
          gwBusinessItems.DataSource = bsBusinessItems;
          ...
          Children.Add(gwBusinessItems.GridViewElement);
       }
       ...
        public void AddBO(BO bo)
        {
            _list.Add(bo);
            bsBusinessItems.ResetBindings(false);
        }
}

When i add a business object and update RadGridView by bsBusinessItems.ResetBindings, new record appears on the RadGridView, but i'm unable to select any record on the RadGridView and when i click on the grid, GotFocus event isn't fired. Looks like i can't set focus to the grid due to it is on the CustomVisualItem. 

gwBusinessItems.Focusable = true doesn't work.

What should i do to make RadGridView focusable? 
Ivan Todorov
Telerik team
 answered on 28 Oct 2011
3 answers
569 views
Hi All

I'm using the textbox to load data from database, the data is 10000. So how can the textbox show "10.000" instead of "10000"?
I also try MaskeditBox but it doesn't work, the first time I run the project, the value show "10.000"  but when this MaskEditBox lost focus, the value return to 0.

Thanks!
Ivan Petrov
Telerik team
 answered on 28 Oct 2011
4 answers
166 views
Hi Guy, Is there anybody know how to show RadScheduler in year view. I mean that how I can show the RadScheduler table that each column represents date in month and each row illustrates month. I want this feature for my project.

P/S: I knew in RadScheduler , it had activeViewType property that show in :Day, MultiDay, Week, WorkWeek,...However it doesn't has year show.

Thanks.

Tran Dat
Ivan Todorov
Telerik team
 answered on 28 Oct 2011
3 answers
276 views
Hi, lets say i have 5000 rows in my grid and I scroll down the grid. Is there any way that the scroll move the to the first position? Like move first?

Thanks
Stefan
Telerik team
 answered on 28 Oct 2011
1 answer
55 views
This one isn't big, but it might be annoying, especially to VB coders. In the GridViewComboBoxColumn example, in the Adding and binding GridViewComboBoxColumn section near the top, the C# and VB.Net code samples have different DataSources. The C# one looks to be correct, but the VB.Net one is in error.

One other thing that would help with the code samples is putting each code block in a scrollable text box, rather than having the single scroll bar at the bottom of each entry. Having to scroll to the bottom of the page to scroll to the right and then scroll back up to see the rest of the code is not an optimal solution. Also, and I do not know if this is a Chrome limitation or not, the Copy JavaScript does not work in Chrome 14.0.835.202 m on Windows 7 SP1 32-bit.
Stefan
Telerik team
 answered on 27 Oct 2011
5 answers
225 views
Hi,

I have one bar chart with only one Series.

How can I change color of each bar  ?

Regards,

YSP
Mayra
Top achievements
Rank 1
 answered on 27 Oct 2011
1 answer
71 views
Hi, I am evaluating your product right now and have written a small custom application to interface with my legacy appointment table.  I created my own custom statuses and one of my status IDs is equal to 2.  Apparently this status id is hardwired somewhere to not show the color associated with it on the left end of the appointment on the scheduler.  How can I override this to make the status color show?  Changing this ID to something else is not an option.

Thanks!
Ivan Todorov
Telerik team
 answered on 27 Oct 2011
2 answers
101 views
Hi,

I have a RadTrackBarElement hosted in a CommandBarHostItem. It displays correctly, and I have configured certain properties such as removing the tickmarks etc. However, I just cannot get the BackColor of the trackbar to take on the colour of the parent item i.e. the CommandBarStrip it is hosted in. The CommandBarHostItem.BackColor is at it's default which appears to be Color.Transparent.

How do I set the BackColor of the TrackBar so that it actually changes? If I look through VSB, it appears that RadTrackBarElement.BackColor is all that's required, but this doesn't work.

Cheers,

Steven
Steven
Top achievements
Rank 1
 answered on 27 Oct 2011
5 answers
370 views
I have a data table object that I bind a gridview to. During runtime, I'd like to give the user an option to add a column to the gridview. Now ideally the way I thought it would work was if I add a column to the Data Table object that the grid view is bound to, it would automatically add that column to the gridview because of the data binding. But when I try that, only the Data Table is updated with the new column and not the GridView. Am I not using databinding correctly? 

Thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 27 Oct 2011
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?