Telerik Forums
UI for WinForms Forum
1 answer
280 views
Hey Telerik team and users!

Its been a while since someone asked for some help related to cells and merging them.
So here I am.
What I'm trying to do is to merge specific cells, I need rowspan and colspan.

I'd love something like: DataGrid.Rows[0].Cells[2].Colspan(2);
Which merges Cells 3,4 and 5 in the first row (zero-based index for the cells) . Looking for something similar to use rowspan ;)

Is that possible that way or the other? I'm quite desperate by now. So there's HtmlView but I'm not quite sure if this does the trick for me. And it seemed to me a bit complicated, to be honest.

I'd be glad for some help and suggestions!
best regards!
Jack
Telerik team
 answered on 23 Sep 2009
1 answer
484 views

I have a combobox defined like this:

cmbOrigin.Items.Clear();  
cmbOrigin.AutoCompleteMode = AutoCompleteMode.SuggestAppend;  
cmbOrigin.NullText = Transat.PDP.Client.Properties.Resources.ControlDataOriginNullText;  
foreach (MyItem i in ListOfMyItems)  
{  
    cmbOrigin.Items.Add(new RadComboBoxItem(string.Format("{0} - {1}", i.Code, i.Nom), i));  

I want to have the AutoCompleteMode set to SuggestAppend so that the rest of the text get showed and the list is showed too.
What i dont want is the user to be able to type 2 letters and then hit backspace and go out of the combobox leaving me with an inconsistant value.

how can i force the user to pick a valid entry in the combobox?


thanks
mateo

Deyan
Telerik team
 answered on 23 Sep 2009
2 answers
493 views
Hello,

This should be an easy one. I'm looking to make the X-Axis labels on my grid look identical to the one in your example here:

http://www.telerik.com/help/winforms/buildingdatabinddatabase.html

I have successfully gotten the text rotated, colored, formatted, etc, but the one thing that doesn't work is the alignment. In your example, the text is right-justified, making it hug right up against the bottom of the grid, which is nice! In my case, even when I set 

radChart.PlotArea.XAxis.Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.Right;

It still doesn't do that, but stays center justified, so that longer strings run into the chart, and smaller strings are sitting many pixels below the bottom. How do I get my text to be aligned to the right?

Thanks!
Jeremy

Ves
Telerik team
 answered on 23 Sep 2009
7 answers
443 views
I have seen some similar threads, but this is not the same issue (I don't believe it is).

I have 2 RadForms, one is a MDI parent and the other is a MDI child. As mentioned, these both inherit from a RadForm.
Everything (nearly everything) was working correctly until I decided that I wanted the child to be maximised when opened inside the MDI parent. I used this bit of code:

    Private Sub WorkCentreLogsToolStripMenuItem_Click(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles WorkCentreLogsToolStripMenuItem.Click 
        frmWorkCentreLog.MdiParent = Me 
        frmWorkCentreLog.WindowState = FormWindowState.Maximized 
        frmWorkCentreLog.Show() 
    End Sub 

I should point out that inside my MDI parent, I use the windows ToolStrip and MenuStrip. The reason for this is that I prefer thier interface and how easily they are to add.
I removed both of these to see if it was them that were causing the issue I was having.

Now, the issue is this: When the child window is maximised, the parent form does not have any way of minimising or changing the window state of the child form. Nor does it display the title of the child window in the parent window's title bar (This is the same issue as others have had, but their solution was to use RadForm rather than ShapedForm. I have not used the ShapedForm at all).

If someone could help me identify the cause and solution to this, I would be greatful.
Deyan
Telerik team
 answered on 23 Sep 2009
3 answers
154 views
I have a UI that is fully resizable.  I just noticed that the charts don't automatically resize with the container parent.  Also, when I set dock fill or anchor to all sides and resize the container, the chart says the same.  Am I doing something wrong?

Thanks,
Brian
Brian Battersby
Top achievements
Rank 1
 answered on 23 Sep 2009
4 answers
134 views
Even though I have the legend closed, there is still extra space to the right of the plot area in charts.  Could you please tell me how I can make the plot area go all the way to the right edge?

Thanks,

Brian
Brian Battersby
Top achievements
Rank 1
 answered on 23 Sep 2009
2 answers
165 views
Dear friends,

Since yesterday that i am trying to bind my database with the radSchedular with no success. I have a very simple table with the fields 'Title','Description','StartDate','EndData'. I took a look at the examples but i cannot find the SchedularDataSet() type.

I would like to ask you for some help on how can i make a reference so that i can use the SchedularDataSet() type, and, if possible, can you give-me a very simple example?

Thanks in advance.

My table is named 'tasks':
idtask uniqueidentifier;
description nvarchar(50);
smallinfo nvarchar(15);
startdate datetime;
enddate datetime;


Form_Load is:

tarefasTableAdapter1.Fill(bdcrmDataSet.tarefas);
AppointmentMappingInfo appointmentMappingInfo = 
new AppointmentMappingInfo();
appointmentMappingInfo.Start = 
"startdate";
appointmentMappingInfo.End = 
"enddate";
appointmentMappingInfo.Summary = 
"smallinfo";
appointmentMappingInfo.Description = 
"description";
schedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo;
radScheduler1.DataSource = schedulerBindingDataSource1;



The code give-me no erros, however, the schedular is empty with no info loaded. I checkd the dataset and it has data inside.
Am i missing anything?
Thank you.



Robert
Top achievements
Rank 1
 answered on 22 Sep 2009
9 answers
232 views
Hello.  I'm brand new to Telerik controls so I hope I can keep stupid questions to a minimum.

I just installed newly purchased Telerik Controls Premium and am trying to run the example application on my Windows Vista Business 64 bit development laptop.  I am receiveing the message "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine." for examples that use the database.

I found this topic in the KB, but it is specific to the ASP controls.

Is there a solution for the Winforms examples?

Thanks for your help.

Joe
Mike
Telerik team
 answered on 22 Sep 2009
4 answers
85 views
I have a RadGridView with an unbound Select column (checkbox). If I group by any field, I can select a checkbox to select the row and everything appears to work fine. If I then select another checkbox, all grouping collapses, and that record is not selected.  I can then expand the grouping and select the record. This process then repeats for each record I select.  I am using the latest version of the WinForms controls.

Thanks in advance,
Tony
Sonya
Top achievements
Rank 1
 answered on 21 Sep 2009
1 answer
347 views
Hi,

I wish to be able to simulate the standard browser Zoom feature in a Windows Forms application. I have a certain set of Telerik controls (RadLabel, RadTextBox etc) which I'd like to ;
1) Reset the font size (to allow the text to grow bigger)
2) Reset the control.Size (to allow for the larger font size).

All the controls I want to do this for are within some kind of TableLayout container, so I think the repositioning should occur automatically using a SuspendLayout and ResumeLayout

Typically to do this I would iterate through the hierarchy of controls, resizing and re-fonting as I go. However I wondered if there was a "better" way to do this, perhaps using Themes or Styles within Telerik which would give a better solution.

Phillip
Mike
Telerik team
 answered on 21 Sep 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
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?