Telerik Forums
UI for WinForms Forum
1 answer
254 views
Hi Emanuel,
I tested your code for FADateTimePicker. It embeds the control to the cell.
But still there are some problems:
1. When clicking inside the cell this error occurs: 'Object reference not set to an instance of an object.' this error raises because of this line of your code: dateTimePicker.SelectedDateTime = (DateTime)activeEditor.Value;
2. When clicking the calendar's combobox to open the dropdown list to choose date, the list does not drop down. You must press Enter to open the Date Picker.
3. After selecting the date the contents of the cell must be the same as the host control that is:
 CellContents=FADateTimePicker.SelectedDateTime.
4. User must enter to the cell to make the calendar visible, while I want the calendar to be visible for each cell of the column when the form loads.
Thank you Emanuel, I will not forget your name because of your KIND Attention.
Sincerly, Tooraj Azizi.
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Oct 2010
2 answers
261 views
Hello,

I have been struggling for a few days on this and have met with no success. I'm hoping someone can send me in the right direction. I have a grid that represents product prices by user type. User Type across the top, SKU down the left side. I need to show the price for each intersection, and as well, indicate whether that user type has access to the item. In addition, I need to be able to edit both values. 

So in a single cell, I need a way to represent a decimal and a boolean. At first I tried the examples for loading multiple controls into a cell, but that didn't work for a number of reasons, most importantly, it would have been cumbersome to navigate and interact. So my next attempt was to have the cell display the price in two colors: Gray implies that the user has no access, blue implies that the user has access. I could then allow the operator to tab through the cells, type in prices and hit Ctrl + A to toggle the active flag. 

I started with an override of GridDataCellElement that takes a string, with the pipe character separating the two values: "true|150.00", and stores the result internally in a string and a bool. This is being done in the SetContentCore override. Display works great, but when you edit a cell, you are presented with the composite field - true|150.00 - rather than just the price field.

I can supply code if necessary, but if someone can recommend the best way to do something like this, or better yet post an example, that would be great.

Thanks, Steve
neebs
Top achievements
Rank 2
 answered on 29 Oct 2010
3 answers
231 views
Hi,

I would like to disable all possible selection (rows, Cells & Columns). The grid view is used for the display purpose, so users don't have to select anything.

I don't find how to do this in VB

In the Forum, I found a sample in C#
this.radGridView1.CurrentRow = null;
this.radGridView1.CurrentRowChanging += 
new CurrentRowChangingEventHandler(radGridView1_CurrentRowChanging);

private
 
void radGridView1_CurrentRowChanging(object sender, CurrentRowChangingEventArgs  e)
 {
 e.Cancel =
true;
 }

Bur I can't translate it in VB
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Oct 2010
3 answers
431 views
Hi,

I'm using the latest telerik build, with VS 2010 (vb net)

I Have a RadGridView and I fill it programatily.
There is 4 columns : First Name, Last Name, Age, Adress and many row (near 3000)

How can I check if a row exist a row with First Name & Last Name already exist, without having to loop on each row and without have effect on the display ?

Thanks

Anthony


Ps : The demo have a lot of error under Windows 7 - 64Bits caused by the OleDB 4.0....
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Oct 2010
9 answers
237 views
Hi There,

When a horizontal scroll bar is generated in the tree view, it cover the space on the last showing node.
My problem is when you move down the tree node by arrow down, you can not see the last node properly, because the horizontal scroll bar cover it unless you move the vertical scroll bar by mouse. 

Thanks,

Fendy  
Emanuel Varga
Top achievements
Rank 1
 answered on 28 Oct 2010
2 answers
181 views
Hello,

I'm using the technique defined here:

http://www.telerik.com/support/kb/winforms/gridview/creating-a-radradiobuttoncellelement.aspx

To create cells in a radGridView that contain a checkbox and a textbox. This is working reasonably well, although I have a few issues to work out. One undesirable result is that the textboxes in the cells always overlay the scrollbars of the grid. See the attached image. Interestingly, the checkboxes do not behave this way. Is there a way to eliminate this undesired behavior?

Thanks, Steve
Jack
Telerik team
 answered on 28 Oct 2010
1 answer
158 views
Are printing or excel exporting are being considered as features in any releases in the near future?

Thanks,

Brennan
Dobry Zranchev
Telerik team
 answered on 28 Oct 2010
3 answers
303 views
I have a gridview with a combo box column in it. It is populated with values. When the user changes the display member, the value (id) is committed to the database just fine. When I reopen the datagrid the combobox is blank. The value that was selected previous is not displaying. The values are still in the drop down, but I want the box to show the value that is currently in the database. The picture attached shows what I am talking about. 

Emanuel Varga
Top achievements
Rank 1
 answered on 28 Oct 2010
14 answers
806 views
Hi,
How can i change the state of the row from unchanged to modify ?

Thank u.
Sason
Top achievements
Rank 1
 answered on 28 Oct 2010
3 answers
176 views
I found that DateTimePicker and Calender doesn't support TaiwanCalender,can it solve?
If there are any method to do that?
TaiwanCalender is -1911 years to Normal Calender.

Please help me.
Thanks!
Dobry Zranchev
Telerik team
 answered on 28 Oct 2010
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?