Telerik Forums
UI for WinForms Forum
1 answer
84 views
Hi!

How can I do to catch an event when Popup rectangle is shown when clicked on Month Year Navigation?

thanks!
Nick
Telerik team
 answered on 09 Feb 2009
1 answer
86 views
Hi!

How can I do to get the month and year viewable in navigation menu when I change them by using navigation button, no matter if I select a day into that month?

thanks
Nick
Telerik team
 answered on 09 Feb 2009
1 answer
149 views
Hi.

At some point I noticed three objects with names such as object_762c1357_1303_4649_ab06_ef217d90da91 in my class tree. I created a button to see which type they are (Me.lblTest.Text = Me.object_57d8c557_7ee1_4aa5_9b15_54ca310925ca.GetType.ToString()). They are of RootRadElement type. What is this?

I safely deleted them in the Designer code. I do not want weird objects in my project that have no function. I'd like to know what they were if possible.

I'm using Visual Studio 2005, VB.net 2.0, latest RadControls.

Edit: Maybe it has something to do with RadControls disappearing from the toolbox earlier. I had to manually add them back.

I also experience the following problem: in the RadGridView I try to "Edit UI elements". I change the font size in GridTableBodyElement->GridTableHeaderRowElement and click "Close". When I try to run the project I get an error in Application.Designer.vb:

 <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
        Protected Overrides Sub OnCreateMainForm()
            Me.MainForm = Global.PM_Win._01_10_ProjectTreeStructure ' <- This line.
        End Sub

The error says: An error occurred creating the form. See Exception.InnerException for details.  The error is: Index was out of range. Must be non-negative and less than the size of the collection.

The I undo the changes in UI elements and it's ok.

Sorry, maybe this edit should be in a separate thread.

Nick
Telerik team
 answered on 09 Feb 2009
1 answer
132 views
Greetings!
I use last the version of components.
How in Scheduler to disable MouseScroll?
Jordan
Telerik team
 answered on 09 Feb 2009
3 answers
137 views
When I click on the + to show child grid, it always shows the same height which can accomodate 6 rows.

Is there a way to have grid height automatically according to the rows without the white space.

Also can we set the max height.

Thanks ... DP
Martin Vasilev
Telerik team
 answered on 09 Feb 2009
4 answers
59 views
Hi,

when i use a GridView with VistaTelerik or VistaOrange Theme and enter an existing row to edit (Decimal Column or TextBoxColumn), first all works fine: the BackColor of the editor is white, the text (forecolor) is Black and when i select existing text it will change to blue background with white text.
But if i enter a NEW ROW, the text is white with white background - and so the input text is invisible. The text will be visible again, when i select it or end the edit mode.
After editing a new row, the issue occures in all rows (also existing ones) until i restart the application.

I can reproduce it every time.

Bug?

Kind regards,
Martin
Vassil Petev
Telerik team
 answered on 09 Feb 2009
2 answers
86 views
Hello,

I'm developing a demo for a customer. It consist of a grid to look up for the records and a set of textboxes to edit the data.
As is just a demo, I'm working in memory with custom Business Objects (no database).
The grid allows the user for filtering. The problem is that when I add a new object to the datasource, if the grid is filtered by any column, the new empty record is not shown. If I (the end user) remove the filter, then I am able to see the just added record(s).
This is not a problem, but it's not very fancy :)
It is odd, because if I set a filter programatically this issue doesn't happen. My be it has to do with the fact that the programatic filter is done for an invisible column.
¿Any clue?
Thanks in advance,

Gonzalo

Jack
Telerik team
 answered on 09 Feb 2009
1 answer
135 views
Hi,

I have a little problem with group by display.

I have :
pRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("Something1 as Brand format \"{1} - \",sum(Price) as TotalPrice format \"{1} â‚¬\" Group By Something1"); 
 
pRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("Something2 as Size format \"{1} - \",sum(Price) as TotalPrice format \"{1} â‚¬\" Group By Something2"); 
 
pRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("Something3 as DontCare format \"{1} - \",sum(Price) as TotalPrice format \"{1} â‚¬\" Group By Something3"); 

column definition
            GridViewDataColumn Price_Column = new GridViewDataColumn("Price""Price"); 
            Price_Column.HeaderText = "Prices"
            Price_Column.FormatString = "{0:N2}"
            Price_Column.IsVisible = false
            Price_Column.DataType = typeof(decimal); 
            pRadGridView.MasterGridViewTemplate.Columns.Add(Price_Column); 

The problem is.... what's displayed. I can see :

MyBrand1 - 100.00 €
    Size1 - 50.00 €
         DontCare1 - 25.00 €
         DontCare2 - 25 €
    Size2 - 50.00 €
        DontCare1 - 20 €
        DontCare2 - 30 €
MyBrand2 - 300.00 €
    Size1 - 50.00 €
         DontCare1 - 25 €
         DontCare2 - 25 €
    Size2 - 50.00 €
        DontCare1 - 20 €
        DontCare2 - 30.00 €

Sometime I can see the #.##, and I don't know why, sometime #.

I bind column like this :
// subTotal is a sum a other columns, and it's int value :) 
row.Cells["Price"].Value = subTotal * Math.Round(StreetPriceEuro, 2); 

I change colors of "Expanders" with this code (I don't do anything else with "them") in ViewCellFormatting event
                // Custom expanders colors 
                if (pGridCellElement.RowInfo is GridViewGroupRowInfo && pGridCellElement.RowElement is GridGroupHeaderRowElement) 
                { 
                    int level = ((GridViewGroupRowInfo)pGridCellElement.RowInfo).Group.Level; 
 
                    if (level == 3) pGridCellElement.ForeColor = Color.FromArgb(31, 71, 79); 
                    if (level == 4) pGridCellElement.ForeColor = Color.FromArgb(50, 115, 128); 
                    if (level == 5) pGridCellElement.ForeColor = Color.FromArgb(70, 161, 179); 
 
                    pGridCellElement.HorizontalLineColor = pGridCellElement.ForeColor; 
                    return
                } 

Can you explain me why sum is rounded sometime ? because, I don't mind if my value is an int, My customer want to diplay the ".00".

Thank's

Fabien



Jack
Telerik team
 answered on 09 Feb 2009
1 answer
111 views
I would like to use 32 x 32 icons in each document tab in my docking manager.
How do I resize the tabs so that they are capable of containing the icons ?

At the moment this is just for the icons but the question really pertains to how to alter
the predefined tab sizes to fit whatever else it is I may want to fit in them.
Julian Benkov
Telerik team
 answered on 09 Feb 2009
1 answer
106 views
I have an application with a DockingManager, AutoDetectMdiChildForms=true, and a normal windows form as MdiContainer.

When I add children forms I get tabs as expected, and a drop down menu where I can choose which tab to activate.

I have two questions:

  1. Is it possible NOT to have the tabs, but keep the drop down menu? If my application is run on a screen with low resolution only 1-2 of the tabs are visible, so they are pointless and only generate noise.
  2. I would like to have a Back and a Forward button to navigate through the documents, but I haven't figured out how to do this. Is it possible?

Thanks!

Julian Benkov
Telerik team
 answered on 09 Feb 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
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?