Telerik Forums
UI for WinForms Forum
1 answer
244 views
Hello,

in Q2 2010 is GridElement obsolete. Is BeginUpdate also not necessary anymore (for the case that i am create manual multiple rows in code) ?

Regards,
Thomas
Jack
Telerik team
 answered on 26 Jul 2010
1 answer
112 views
Hello,

i have implemented a method that prevent the selections of cells in the first 3 columns. this method works, but it is extreme slowly. This is my method. Is there a better way to prevent selection?
private void Event_SelectionChanged(object sender, EventArgs e)
 {
       GridViewCellInfo[] cells = (from GridViewCellInfo entry in
           this.SelectedCells where entry.ColumnInfo.Index <
           CurveContentGridView.FIRST_DATACOLUMN_INDEX ||
           entry.RowInfo.Index == -1
            select entry).ToArray();
 
        for (int i = 0; i < cells.Length; i++)
        {
             cells[i].IsSelected = false;
        }   
}
Svett
Telerik team
 answered on 26 Jul 2010
8 answers
235 views
I am trying to implement the new Q2 controls and am having the following issues with the GridView:

1) I have a routine that changes a regular GridViewTextBoxColumn to a GridViewCheckBoxColumn.  Because in the previous grid, you couldn't just change the type of the column, I had to record the column index, remove it, create a new GVCBC and set the index of it.  The index property is no longer settable.

2) I have a method that lets me programatically set the selected row.  I used to say SelectedRows.Clear() and then Rows[x].Selected = true;  Now the Clear() method is missing from the SelectedRows collection.

Thanks in advance,

Lars Solberg

Svett
Telerik team
 answered on 26 Jul 2010
1 answer
116 views
Hi

i would like to add the gridviewcomboboxcolumn in datagridview to get autocomplete functionality. i could not find a way to do this, can any body help me.

i have tried a lot and i cant change my orignal grid with the telerik one.

quick reply would be appreciated.

thanks.
Stefan
Telerik team
 answered on 26 Jul 2010
7 answers
513 views
Hi.  I'm trying to do something straightforward but getting caught on an odd problem.  I want to pop open a dialog when a user double-clicks on a row in a grid.  Not seeing an event specifically for "double-clicking on a row", I am hooking RadGridview.DoubleClick.  When the event handler is called, I check to see if just one row is selected, and if so, I pop open my dialog.

However, I am having a problem where if the user selects a row (single-click), then double-clicks the scrollbar I cannot distinguish that the user didn't double-click on a row.  How can I prevent this from happening?

I think I need one of the following:
* A better event to hook
* A way to programmatically figure out if the user double-clicked on a row
* A way to programmatically figure out if the double-click is on the scrollbar so that I might ignore it (NOTE: the doubleclick event does not provide the mouse coordinates, so this is hard)

I'm running VS 2008, .NET 3.5, and Telerik WinForms controls 2010 Q1 SP2 all on Win 7 x64.

Thanks,
Patrick
Martin Vasilev
Telerik team
 answered on 26 Jul 2010
1 answer
262 views
I have a standard WinForms DataSet being populated programatically (but bound at design-time to a discrete DataSet control on the .NET form). My question is simple: how can I hide (for example) the 2nd and 3rd checkboxes if these values are NULL values in the data for that row? If they are non-NULL, I want to present the checkbox and have it be editable. However, if they are NULL in the dataset I don't want the checkbox there at all.

I can't figure out a simple (or even non-simple) way of hiding these NULL-representing checkboxes. I have tried intercepting the cell formatting event programatically but setting the various e.CellElement._ values to hide/indicate invisible/set ShouldPaint to false/etc.. All efforts to hide these NULL-backed checkboxes seem to be completely ignored by the RadControls GridView. The GridView checkbox column just treats NULL as "false" and allows the user to click them / check them to "true" anyway.

Is there a simple way to conditionally NOT display the checkbox in a RadControls GridView checkbox column, so I can hide/show them for some rows but not for others..?  Help..?!

Many thanks in advance,

Ralph
Svett
Telerik team
 answered on 26 Jul 2010
2 answers
79 views
I am doing a project using sql and whenever i run the form it says "gridview already declared' but i declared it only once.... plz help
Jack
Telerik team
 answered on 26 Jul 2010
1 answer
129 views
Hello.

I know that there is no (for now) possibility to add text to waitingbar so I did some workaround for this:

var label = new RadLabel();
label.Text = "some test";
label.TextAlignment = ContentAlignment.MiddleRight;
 
 
waitingBar.EnableTheming = true;
waitingBar.RootElement.ElementTree.ThemeName = "Breeze";
waitingBar.WaitingBarElement.Value = 0;
waitingBar.Controls.Add(label);

But it looks ugly and also waitingbarelement is mostly hidden by the text.
Maybe I'm doing something wrong? Maybe there is better workaround.

thanks
Martin Vasilev
Telerik team
 answered on 26 Jul 2010
1 answer
131 views

hi,

I have two questions about the new RadPageViewer.

I'm using the RadControls_WinForms_2010_2_10_713_dev. And I want to know if there is a way to have multiple line in the headers of the pages as in my picture1.

And also I want to know if the is a way to hide the headers of the pages.

thank's

Felipe
Boryana
Telerik team
 answered on 26 Jul 2010
2 answers
195 views
When the Form loads I have the RadPanel Visible Property set to false. When the User clicks a button, the Visible Property is set to true. Though it's not setting it to true.
I put a breakpoint right after the radPanel1.Visible=true, and check it's value. It's still remains false. Any help would be nice.
Boryana
Telerik team
 answered on 26 Jul 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)
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?