Telerik Forums
UI for WinForms Forum
1 answer
446 views

What do I have to do to make font size changes take effect?

Seems the size remains unchanged no matter if I change it at design time or at run time.

I tried this:
Me.RadGridView1.Font = New System.Drawing.Font("Arial", 3.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))

Compare the amount of data shown on a MS ListView control to the RadGridView control.

Also, any way to speed up loading of data. Takes about 5 times as long than loading a ListView in VB6 with the same data. 

With RadGridView1
            .GridElement.BeginUpdate()
            Dim command As OleDbCommand
            command = New OleDbCommand("SELECT * FROM FinalSettings")
            command.Connection = New OleDbConnection(My.Settings.WorkSpaceMgrConnectionString)
            command.Connection.Open()
            .MasterGridViewTemplate.LoadFrom(command.ExecuteReader())
            command.Connection.Close()
            .GridElement.EndUpdate()
End With

Finn

 

Jack
Telerik team
 answered on 02 Jul 2008
5 answers
178 views
I entered a support ticket against Q3 2007 stating this:

I need to hide a row and keep it hidden no matter what the user does (sort, group, etc).  I can't use a filter, because I need the grouping when the user chooses to group (a filter excludes the row from the grouping).  I can hide the row using IsVisible, but the row's IsVisible is reset to true by changes to sort, sort order, grouping, etc.  Visibility settings are ignored in the RowFormatting event.

Any suggestions?

Thanks.

I received the following reply:

 Kevin,

Thank you for contacting us.

This issue has been resolved in 
RadGridView Q1 2008 Beta. Please, give it a spin and let us know what you think.

In the current stable release you should process the SortingChanged and GroupingChanged events.

Let us know, if you need further assistance.

 
Greetings,
Jack
the Telerik team


BUT, the IsVisible is still being reset on my rows whenever the user chooses to sort or group.  Should I be using something other than IsVisible?  Did this not make the Beta release?

Thanks.

Kevin
Jack
Telerik team
 answered on 02 Jul 2008
3 answers
164 views
Hi,


I have applied group by expression on Country and City column of  a Table which contain information of comapnies using a windows form RadgridView control.

Now I want to show a context menu  when the user right click on the row which contain the (GridGroupExpanderCellElement and GridRowHeaderCellElement)
i.e  (+ Country :England and City:London).

Is the above functionality possible ?

If yes please expalin it with an example
.



Jack
Telerik team
 answered on 02 Jul 2008
2 answers
194 views
Hi, I would like to hide the overflowbutton that looks like a small arrow pointing down.  I thought setting the "showoverflowbutton" property to false would do it because setting it in design time appears to do the trick but when I run my app the arrow still shows.  Is there any way to hide it?
Dan Wons
Top achievements
Rank 1
 answered on 01 Jul 2008
3 answers
160 views
I saw the recent post on how to hide the closing button. I need something different. I basically want to do this:

void dockPanel3_Closing(object sender, System.ComponentModel.CancelEventArgs e)

{

        dockPanel3.Visible =

false;

        e.Cancel =

true;

}

Instead of closing the dockPanel, I just want to hide it so that I can reconstitute it later without losing its contents.

Currently, the "Closing" event is never called, even when I close the whole application.

Thanks.

Julian Benkov
Telerik team
 answered on 01 Jul 2008
4 answers
237 views
Hello
I am testing the GridView in order to buy it if it answer my needs.
I am lookin for an example of how to bind the gridview to the dataset through a BindingSource.
Something like:

Add relation = "Table1_Table2", "Table1" & "Table2"

masterBindingSource.DataSource = myDataSet;
masterBindingSource.DataMember = "Table1";

detailBindingSource.DataSource = masterBindingSource;
detailBindingSource.DataMember = "Table1_Table2";

gridView1.DataSource = masterBindingSource;
gridView1.DataMember =  "Table1_Table2";


In your example i see that i have to create the GridViewTemplate & relation & MasterGridViewTemplate.ChildGridViewTemplate.
But you are not using the BindingSource.

Can you give an example of using a BindingSource for hierarchic of 2 tables?

Thanks Yael
Nikolay
Telerik team
 answered on 01 Jul 2008
1 answer
164 views
Hi.

I have a  RadPanel with several RadPanels inside. I want to be able to drag and drop the RadPanels to change their location inside the main RadPanel. Can you help me with that?

Thanks

Jack
Telerik team
 answered on 01 Jul 2008
4 answers
386 views
Hi
I have a Hierarchy GridView.
I bound the dataset to bindingSource, and the Grid to the bindingSource.
The bound works well.
I update the data in the grid through textbox that is bounded to the bindingSource.
I have a column name 'Active' that is 0 or 1. This column is bounded to a checkbox and also works OK.
The problem is when a add new row through the bindingSource:
bindingSource.AddNew();
The new added row is acting strange.  A new empty row is added to the grid.
But in the bounded textbox it is showing the former current row with it's values.
When i remove the bind from 'Active' column to the checkbox, the AddNew works fine. The textbox show the new empty row.
When i bind the 'Active' column to a textbox the AddNew works OK.

Can you help me figure out what is wrong?


Julian Benkov
Telerik team
 answered on 01 Jul 2008
2 answers
196 views
hey...
i'm using a progressbar located in a statusstrip; i just want it when finish loading ,it become unvisible....i'm using this code


adProgressBarElement1.Value1 = 0;

radProgressBarElement1.Text =

"";

radStatusStrip1.Refresh();

radLabelElement1.Visibility = Telerik.WinControls.

ElementVisibility.Hidden;

radStatusStrip1.Refresh();



but it never become unvisible
can any one help me ure=gently plz?????????????

raghda
Top achievements
Rank 1
 answered on 01 Jul 2008
1 answer
112 views
I want the border shown after I assigned a ThemeName like "Office2007Blue" to RadPanel, but how? Thank you
Mike
Telerik team
 answered on 30 Jun 2008
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?