Telerik Forums
UI for WinForms Forum
4 answers
1.3K+ views
Hi experts,

I am using the gridview for windows forms version Q1-2009, 
I am developing a vb2008 application which uses the rad grid view in unbound mode, my problem is , is it possible to assign datatype to each column. I mean column 1 as string, 2 as integer like that. If anyone knows the answer kindly replay me.
Thanks in advance
hipero
Top achievements
Rank 1
 answered on 21 Oct 2009
1 answer
83 views

Hi
I have a radgridview which has a column whose value is set by an expression:

Me.StockGrid.Columns("Total").Expression = "(Qty) *" & CInt(Me.radtextbox1.Text)

I want to use the result of the expression to populate another column in the same grid.

Me.StockGrid.Columns("req").Expression = "(Total – Available)”

 

The result is always  nothing although the total column value calculated by the first expression has a value and available has a value. Is this type of calculation valid?

Regards
joe

Julian Benkov
Telerik team
 answered on 21 Oct 2009
4 answers
201 views
Hello world,

I am discovering Telerik and I am pretty impressed so far. However, two problems have arisen:
1. Why does it take 5 seconds to show a simple form with just an empty Gridview inside? With the standard datagridview, it is instantaneous. Am I missing a point? I can't believe everyone who uses the Gridview has to endure waiting for 5 seconds even for empty objects.
You can easily reproduce this problem (just create two forms, one with the rgv and one without, launched from a third one). No need to set up any properties to the rgv to see the low display speed.
I tried to search on the forum for similar issues but Murphy's law is there for me: as the two links I have found are not working!
http://www.telerik.com/community/forums/winforms/gridview/initializing-slow.aspx

WinForms Controls - GridView Forum - Initializing slow

WinForms Controls - GridView Forum - Performance to open

... why just opening the window is very slow? with 4 controls of telerik, it takes 3
or more seconds... Imagine 10 controls!! thanks!! Reply. Telerik Admin. ...

http://www.telerik.com/community/forums/winforms/gridview/performance-to-open.aspx


2. When do you intend to implement support for subproperties in the hierarchical view? This is really a must have. I have found forum posts dated 2 years back and still no support for this feature... Is it on the roadmap somewhere? Is there a workaround better than building a virtual database (with plenty of IDs to link the objects together)? For your reference, the latest forum post I found on the subject was this one:

Thanks a lot for your help!

Erwin



Martin Vasilev
Telerik team
 answered on 21 Oct 2009
1 answer
326 views
Hello,

I cannot find where I have to modify the style of the RadForm to disable the fact that the color (of the title bar especially) changes (it becomes lighter, with Office2007Black theme) when the form loses focus (if we switch from one form to another).

Any direction would be more than welcome!

Thanks,

Erwin
Deyan
Telerik team
 answered on 21 Oct 2009
1 answer
121 views

In the RadControls for Winforms Q3 2009 Beta Demo Application in the gridview TabbedChildViews Demo:

When i change the Tabs Position to left or to right then only two tabs ("Details", "Orders") are displayed and the third tab "Perfromance" is not displayed. When there is not enough space to display all tabs at a position there should be a scrollbar or something like this which should auotmatically be displayed so all tabs could be reached. 

Kind Regards,

Ramius

Jack
Telerik team
 answered on 21 Oct 2009
5 answers
235 views
Dear friends,

In my translation activity i could not find how to translate the 'Previous/Next Appointment' buttons in RadScheduler.
Can you help me?

Here's my code:

class TradutorScheduler:RadSchedulerLocalizationProvider
{
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadSchedulerStringId.AppointmentDialogTitle:
                    return "Nova Tarefa";
                case RadSchedulerStringId.AppointmentDialogSubject:
                    return "Assunto:";
                case RadSchedulerStringId.AppointmentDialogDelete:
                    return "Apagar";
                case RadSchedulerStringId.AppointmentDialogCancel:
                    return "Cancelar";
                case RadSchedulerStringId.StatusBusy:
                    return "Ocupado";
                case RadSchedulerStringId.ContextMenuNewAppointment:
                    return "Nova Tarefa";
                case RadSchedulerStringId.ContextMenuNewRecurringAppointment:
                    return "Nova Tarefa Repetida";
                default:
                    return base.GetLocalizedString(id);
            }
        }
    }

Thanks in advance.

Boyko Markov
Telerik team
 answered on 21 Oct 2009
5 answers
222 views
Hi,

I am struggling, after some days of effort, with a trivial implementation of an unbound grid.

Scenario: I have an unbound data object which I am using to populate an editable grid. When the user clicks on the "Add new row" I trap the DefaultValuesNeeded event and populate the grid cells with the default data required for that row. One of the columns is a calculated primary key, which I calculate and provide during the DefaultValuesNeeded event. (Previously I tried using the Row .Tag property but this has a similar problem to that described here).

1) The default values supplied are not visible in the row being edited.
2) When the CellEndEdit event fires, I want to copy the data from the edited cell into my underlying business object. However none of the default values I set for the row are available in the row Cells collection (including, unfortunately the primary key for the newly added row).

How can I use RadGridView to maintain an unbound list of data which has a calculated primary key, and default values ? I am really struggling with this, as it seems to be a really common thing to want to do ?

It would help if I could find a clear list of the events which fire when a row is added, in what order, and what they are intended to do - I may be missing something in the online help, but there doesn't seem to be a clear description. Irrespective of this, it seems that the magic "Add new row" feature is pretty broken if I cannot address the cells on the row during the CellEndEdit event ...

Frustrated.
Phillip
Martin Vasilev
Telerik team
 answered on 21 Oct 2009
13 answers
494 views
I'd like to use the grid like Excel.

1. As soon as the user selects a datacell it goes into edit mode (not using F2 or key stroke to enter edit mode). Is this possible?
2. When the user press Enter key, move to next datacell  (and go in to Edit mode of course)
3. When in datacell and end of text and user press Right arrow key, move to next datacell  (and go in to Edit mode of course)
4. When in datacell and beginning of text and the user press Left arrow key, move to previous datacell (and go in to Edit mode of course)

Everything to get the grid to act as Excel.
Jack
Telerik team
 answered on 20 Oct 2009
2 answers
150 views

In my GridView the user selects a number of rows, and then asks to do some processing based on each of the selected rows, one by one.

The rows are typically selected by "normal" multirow selection, by pressing the shift or ctrl key and clicking the rows/range of rows in question. The last clicked row is then selected, and the arrow to the left is on this row, while the others are marked with blue.

When the processing begins the first (topmost) row and then the rest in sequence. I would like the arrow to follow the row in progress, but by setting CurrentRow, the "multiselection" is cleared, and only the CurrentRow is marked with blue.

Is there a way to programatically move the arrow to the left without clearing the "multiselection"?

Regards, Jill-Connie Lorentsen

Jill-Connie Lorentsen
Top achievements
Rank 1
 answered on 20 Oct 2009
2 answers
89 views
Is there an example of this (VB or C#) found anywhere on this site? I seem to be coming up short. I've been learning .net / vb for the past year, but have not had the privilege of coding such an object to date.

We're looking to deploy an organizational-wide (internal) radRibbonForm that would basically be deployed as a floating toolbar for users to gain quick access to internal resources.

The RibbonTab is a great high level way for user to navigate topic, and then within each tab, the RibbonBarGroup contains relavent DropDownButtons, which of course contain ButtonElements...

When I click the buttonElement, I get a 'Win32Exception was unhandled' error.

Here's an example of a particular Button Element's code:

 

Imports System.Web  
Imports Telerik.WinControls.UI  
 
Partial Public Class RadRibbonForm1  
 
    Private Sub rbeD1CPT_Click(ByVal sender As Object, ByVal e As EventArgs) Handles rbeD1CPT.Click  
        System.Diagnostics.Process.Start("iexplorer.exe", "http://www.google.com")  
    End Sub 
 
    Public Sub buttonClickEvent(ByVal sender As Object, ByVal e As EventArgs) Handles rbeD1CPT.Click  
        Dim rbeD1CPT As RadButtonElement = TryCast(sender, RadButtonElement)  
        System.Diagnostics.Process.Start("iexplorer.exe", DirectCast(rbeD1CPT.Tag, String))  
    End Sub 
End Class 


Any assistance would be greatly appreciated (I can post the *.designer.vb if it will help..)

Keith

Nikolay
Telerik team
 answered on 20 Oct 2009
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?