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

Recently I've been trying to create an application that will work on both normal devices and on touchscreen devices, and trying to use the Scale(SizeF) function to scale all of the controls and rearrange them programmatically inside the forms.

Everything works fine for normal controls, but for the grid the Scale function is not working and the RadElement.ScaleTransform is making everything bigger but then a part of the grid is no longer visible (see screenshot below)
I've tried everything i could have thought of, i have to mention that my grid is set up like this:

                        radGridView1.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
            radGridView1.MasterTemplate.BestFitColumns();
            radGridView1.Dock = DockStyle.Fill; I've also tried setting the size of the grid manually but that didn't help also... Thank you, Emanuel Varga
Emanuel Varga
Top achievements
Rank 1
 answered on 29 Jul 2010
2 answers
186 views
Is there any way to control the popup location of the calendar?

The standard .net DateTimePicker will automatically move itself over to prevent the control from overflowing off of the screen. 

The RadDateTimePicker does not automatically do this like the standard .net one, so how would I go about fixing this?

See attached image for an example.
Deyan
Telerik team
 answered on 29 Jul 2010
1 answer
126 views
We recently moved from 2009 Q3 release which we had extensive themes built and now they don't seem to work in the themebuilder for Q2 2010 release, how do I import our custom themes or convert them?
Deyan
Telerik team
 answered on 29 Jul 2010
0 answers
130 views

Posted on Jul 23, 2010 (permalink)

Hi !
I have RadRibbonBarGroup and Inside a radbutton element.I set up an image for the button and no text. I would like the button to autosize to the size of the RAdRibonBarGroup and of course the image to be in the middle, but I don't know how.
Can you help me , please ?

Regards,
Hans

Boryana
Telerik team
 answered on 29 Jul 2010
1 answer
131 views
I have a chart with skin = DeepRed

In my code I want to change some properties:

RadChart1.Skin =

"Blue"

 

 

RadChart1.Legend.Visible =

False

 

RadChart1.ChartTitle.TextBlock.Text =

"hohoho"

 

RadChart1.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft

RadChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font =

New Drawing.Font("Arial", 12)

 

RadChart1.DataSource = dt

RadChart1.Series(0).DataYColumn =

"nr"

 

RadChart1.PlotArea.XAxis.DataLabelsColumn =

"divisions"

 

RadChart1.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft

RadChart1.DataBind()

But after I execute this , the colour is still DeepRed , not Blue

What Is wrong ?

Regards,
Hans

Hans
Top achievements
Rank 1
 answered on 28 Jul 2010
1 answer
327 views
Hi,
I want to implement GroupByExpressions  in RadGridView  but my requrement is
different I want Header with two GroupByExpressions .
I have used
GridGroupByExpression expression1 = new GridGroupByExpression(grdSearchResults.Columns[4]);
grdSearchResults.MasterGridViewTemplate.GroupByExpressions.Add(expression1);
GridGroupByExpression expression = new GridGroupByExpression();
expression.Expression = "TimeZone as TimeZone format \"{0}: {1}\" Group By TimeZone";                    
grdSearchResults.MasterGridViewTemplate.GroupByExpressions.Add(expression);
 but this is giving two trees for GroupByExpression. I want single GroupByExpressions  /Single Header but with two expression
Example:
Property Name:United Kingdom(TimeZone:Estern Standerd Time)

Can you please give me some suggessions please

Thanks
Julian Benkov
Telerik team
 answered on 28 Jul 2010
1 answer
127 views
Hi,

I have implemented Hierarchy gridview. while clicking "+" sysmbol in the gridview row it will display childviewTemplate with related to the parent row. Currently I have two rows in my child table. So it is displaying those rows in the childviewTemplate. In the Last row of child Gridview  i need to display the combox for the first column. 
I  am trying to bind the data at runtime using C# in winForms. So please any help me on this to display combo box in the Hierarchy gridview.

Regards,
Sakthi
Stefan
Telerik team
 answered on 28 Jul 2010
1 answer
249 views
hello all

Please guide me,how can i apply filtering on GridViewMultiComboBoxColumn with filterdescriptor class.

Warm regards
Neha
Deyan
Telerik team
 answered on 28 Jul 2010
10 answers
287 views
Hello,

how can i prevent to go in the edit mode if i click on a cell (not the current cell)  in the current row with the mouse? i have tried to override OnMouseDownLeft:

 protected override bool OnMouseDownLeft(MouseEventArgs e)
        {
            GridCellElement cell = this.GetCellAtPoint(e.Location);

            if (cell != null)
            {
                GridRowElement row = this.GetRowAtPoint(e.Location);
                if (row.RowInfo == this.GridControl.CurrentRow && cell != this.GridControl.CurrentCell
                    && e.Clicks == 1)
                {
                         this.GridControl.CurrentRow = null;
                }
            }

            return base.OnMouseDownLeft(e);
        }

This implementations unfortunately works with a restriction: the horizontal scrollbar jumps always completely to the left.

Regards,
Thomas
Alexander
Telerik team
 answered on 28 Jul 2010
2 answers
345 views
Hi,

a RadForm assigned to the RadDock is not sending the FormClosing or FormClosed event when i close the tab.
RadDock1.DockControl(form, UI.Docking.DockPosition.Fill, UI.Docking.DockType.Document)

Sometimes a have a lengthy operation and it is still running in the background when i already have closed the tab. Is there a good way to see from within the form if it was closed from outside? There is this TransactionCommitted event that gives me a RemovedWindow list when tabs are closed, but i don't know how to get back to the form itself. Is there a specific reason why the close events are not fired?

Thank you!

Bernd
Bernd Mueller
Top achievements
Rank 1
 answered on 28 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)
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?