Telerik Forums
UI for WinForms Forum
1 answer
51 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
147 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
266 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
82 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
180 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
168 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
403 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
100 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
52 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 ObjectByVal e As EventArgs) Handles rbeD1CPT.Click  
        System.Diagnostics.Process.Start("iexplorer.exe""http://www.google.com")  
    End Sub 
 
    Public Sub buttonClickEvent(ByVal sender As ObjectByVal 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
5 answers
167 views
HI @all,

i use a Win Form with a Backgroundimage - so if i add a new radCarousel control to my form and set up the backgroundimage to "transparent" - i see always a a Gradient over this control. I use the Style Builder and add a new XML - but i dont find a proberty to turn off this functionality?
Have someone a solutions for me?
--> done :-) but... i think there is a small problem with the  theme manager. Sometime it works - somtime not. So - i try to find out the basicly problem and post it here.

and my seceond question: can i use my own button´s to rotate my radCarousel?
--> done :-) i use the selected Index function. Thanks

thanks @all
Markus

PS: RadControls Q1
Victor
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)
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
ProgressBar
CheckedDropDownList
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?