Telerik Forums
UI for WinForms Forum
2 answers
153 views
Is there a quick way to center groups similar to the attached picture? Or do i have to do the calculations manually in the resize event?
Jack
Telerik team
 answered on 29 Jan 2013
1 answer
112 views
I have gridview also binded  with DataTable. In the end of the right side, i have a pencil image to edit  By default the gridview will not allow Editing.




If i click the pencil image then the row should allow editing (that selected row only).

How to do this?

How to enable editing for the current row?

Thanks
S.Srinivasan
Stefan
Telerik team
 answered on 29 Jan 2013
1 answer
134 views
Hi

I'm trying to retrieve a list of special days held in a table on an SQL server and use those dates as Special Days - how do I do this? I can retrieve the dates into, say, a dataset or gridview but I'm unclear how to then add these as Special Days at run time.

Also I have some code I found that completely disables Sundays on the calendar. How can I adapt this so the same applies to any Special Days? I ask because the code completely greys out Sundays yet Special Days are still 'clickable' and I want them to also be greyed out.

Here's the code:

 

 

 

 

Dim calTable As Telerik.WinControls.UI.CalendarTableElement = TryCast(RadCalendar1.RootElement.Children(0).Children(0).Children(2).Children(0).Children(1), Telerik.WinControls.UI.CalendarTableElement)
        If calTable IsNot Nothing Then
            For Each cell As Telerik.WinControls.UI.CalendarCellElement In calTable.Children
                If (cell.[Date].DayOfWeek = DayOfWeek.Sunday) Then
                    cell.Enabled = False
                End If
            Next
        End If

Thanks for any help
Dan
Jack
Telerik team
 answered on 29 Jan 2013
1 answer
169 views
I am trying to replicate the code listed in the examples fro importing a file to a richtextbox, like

Dim document As RadDocument = Nothing
        Dim provider As IDocumentFormatProvider = New DocxFormatProvider()
        Dim openDialog As New OpenFileDialog()
        openDialog.Filter = "Documents|*.docx"
        openDialog.Multiselect = False
        Dim dialogResult As DialogResult = openDialog.ShowDialog()
        If dialogResult = System.Windows.Forms.DialogResult.OK Then
            Using stream As New FileStream(openDialog.FileName, FileMode.Open)
                document = provider.Import(stream)
            End Using
        End If
        Return document


I am unable to find what are the correct namespaces for RadDocument and  IDocumentFormatProvider, 

I have tried 

imports telerik.wincontrols
imports telerik.wincontrols.ui

etc, but I am kind of lost,

Can you please provide some help?

Stefan
Telerik team
 answered on 29 Jan 2013
17 answers
449 views
Hello,

I'm searching and looking for a solution or idea howto implement a Listbox column with MultiSelect in GridView.

We want cover this aspects:

a) GridViewCell.Value holds an Array of String
b) GridViewCell show a concatenated String of Value
c) Edting cell opens an editor with a RadList control and MultiSelect; MultiSelect handles Shift and Ctrl
d) Editor closes on Popup-Button Click or LostFocus of Popup

First choice was to use GridViewMultiComboBoxColum and depending Editor/Element. But Popup closes on first Click. May be we can overwrite this behavior?

Otherwise in my mind I have to do:

1.) Create new GridViewCellElement, covering Array value and display of it
2.) Create new GridViewColumn with depending Editor/Element

The second part I tried to inherit PopupEditorElement, but got the ListElement not shown in Popup. Popup was always empty. May be I can handle it in the right way?

Please send any hints that let me go on the right track!


Regards from Leipzig

Holger
Philippe
Top achievements
Rank 2
 answered on 28 Jan 2013
2 answers
81 views
How would i add rounded corners to the highlighted item similar to "recent projects" in the visual studio start page?

http://www.telerik.com/community/forums/winforms/dropdownlist-and-listcontrol/dropdownlist-shape-roundrect-c.aspx

I've read the following post, but i can't seem to figure out how to change the selection, rather than the control

Thanks
Andre
Top achievements
Rank 1
 answered on 28 Jan 2013
3 answers
87 views
Hi,

I found interesting error:
1. Run demo from menu start: Telerik -> RadControls for WinForms Q3 2012 -> Demo Application - RadControls for WinForms.
2. From menu select Scheduler.
3. From expanded list of category select Grouping.
4. Change view to Timeline View.
5. From context menu change Time Scales to Year or Month or Week.
6. Change view to Week View.
7. Change back view to Timeline View.
8. You will get "System.NullReferenceException: Object reference not set to an instance of an object".

The same error appear in my application.

Can someone help me how to avoid this?
Ivan Todorov
Telerik team
 answered on 28 Jan 2013
3 answers
154 views
Hi,

I am using a RadGridView where I have two columns ,First columns where all Lables are dispalyed (This is a readonly column) and the Second column all the value can be entered some thing like below:
Description  Value
First Name : Tom
Last Name : Richarson
Passport Number: #########
Age : 12
Weight : 125 Pounds
DOB : mm/dd/yyyy

Actual:
I have a cell validating event where I have validation for Passport Number Value Field  that it has to be 9 digits , I am able to display the error message to the user when user enter less than 9 digits in the Passport Number Value Field   and tries to Tab out, then after the user enters a valid passport number and clicks on tab the focus to set to DOB value field.

Expected: When user enter a valid  Passport Number and clicks on tab then , focus should be set on next editable cell i.e. Age Value Field.

Any help or suggestion on how to fix this issue.


Jack
Telerik team
 answered on 28 Jan 2013
3 answers
207 views
Is there a way to do this?
Jack
Telerik team
 answered on 28 Jan 2013
0 answers
65 views
I have a Multi DocTabStrip;
and each DocTabStrip contain multi DocumentWindow;

I want only one DocumentWindow selected.
(other DocumentWindow in other doctabstrip all deselected.)
Is Possible ?

please help me.
lee
Top achievements
Rank 1
 asked on 28 Jan 2013
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?