Telerik Forums
UI for WinForms Forum
6 answers
272 views
Is there a way to increase the status indicator width for appointments?
Ivan Todorov
Telerik team
 answered on 14 Oct 2011
1 answer
56 views
The code sample for an Unbound grid in the Creating Rows Programmatically section is the same as the code in the Creating An Empty Grid section, as can be seen here.
Stefan
Telerik team
 answered on 14 Oct 2011
5 answers
234 views
I'm using 2011 Q1's RadListControl, and it doesn't seem to want to respond to right clicks.

I'm listening for MouseClick, but only left button mouse clicks are captured.
Stefan
Telerik team
 answered on 14 Oct 2011
2 answers
148 views
Hi Telerik team,

I am using an older version of Telerik (Telerik RadControls for WinForms Q3 2008 Sp2) in which command bar was named as ToolStrip (i think so).

I am facing an issue and stuck here. Can you please guide me here.

Basically i am adding ToolStripItem on ToolStrip using following code.

My sample code is as follows.

 

 

Private Sub AddItem(ByVal Pi_Index As Integer)
  
    Dim lObj_TStripElement As RadToolStripElement = New RadToolStripElement
    Dim lObj_TStripItem As RadToolStripItem = New RadToolStripItem
   
    Try 
        Try 
             lObj_TStripElement = TStripTop.Items(Pi_Index)
         Catch ex As ArgumentOutOfRangeException
             TStripTop.Items.Add(lObj_TStripElement)
     Finally 
         lObj_TStripElement.Items.Add(lObj_TStripItem)
     End Try 
     Catch ex As Exception
         MessageBox.Show("An unexpected error encountered " & Environment.NewLine & ex.Message())
  
 End Try
End Sub

Now if i call AddItem by giving it index in sequence then it implementation is fine. e.g.
call AddItem(0)
call AddItem(1)
call AddItem(2)

But if sequence of index changed then items/elements are not adding in provided sequence i.e.

AddItem(3)

AddItem(0)

AddItem(2)

AddItem(4)

AddItem(1)


Please note that i cannot send index in sequence. How i can add items in sequence using above method?

Thanks
Stefan
Telerik team
 answered on 14 Oct 2011
3 answers
152 views
I have a GridView where one of the columns is a GridViewComboBoxColumn.

After the grid has been populated by setting the DataSource to a list gotten from the database, I want to populate the ComboBox column.

The ComboBox column contains indexes(integers), which I want to be ValueMembers.
The ComboBox' DataSource is set to another list from the database, and the ValueMember and DisplayMember is set. But when setting the DisplayMember I get an exception saying "Object must be of type Int32". The DisplayMember I try to set is a string.

Is there a way to put a databound ComboBox in the column, where the value member is from one list and the display member from another?


Regards, Jill-Connie Lorentsen

Martin Vasilev
Telerik team
 answered on 14 Oct 2011
1 answer
115 views
Hi,
       In my WPF project i want to show 5 images while we mouse over the navigation button at the time of clicking the last image next set of 5 images needs to come please help me out in this issue.

Regards,
Rajini.
Nikolay
Telerik team
 answered on 14 Oct 2011
1 answer
172 views
Hi,

Is there an option in RadTextBox of autocomplete suggestion for each word separated by a space?

Scenario is, i am talking First, Middle and Last names in a single RadTextBox and i want suggestion for each part of the name separately from a collection as on start typing the collection will suggest first name then on pressing space bar and starting the middle name same collection will appear with suggestion of middle name and so on.

Thanks in anticipation,

Shahzad
Nikolay
Telerik team
 answered on 14 Oct 2011
10 answers
332 views
hi,

today i upgrade my dll's to q2 2011, i have myOwnTextbox that inherited from RadMaskedEditBox , i have some problems with it masktypes.
i have this code :
                if (mType == rTextBoxType.Text)
                {
                    MaskType = MaskType.Standard;
                    Mask = "";
                }
                if (mType == rTextBoxType.Numeric)
                {
                    MaskType = MaskType.Numeric;
                    Mask = "D";
                    RightToLeft = RightToLeft.No;
                }
                if (mType == rTextBoxType.Float)
                {
                    MaskType = MaskType.Numeric;
                    Mask = "F2";
                    RightToLeft = RightToLeft.No;
                }
                if (mType == rTextBoxType.Money)
                {
                    MaskType = MaskType.Numeric;
                    Mask = "c0";
                    RightToLeft = RightToLeft.No;
                }
                if(mType == rTextBoxType.Date)
                {
                    MaskType = MaskType.DateTime;
                    Mask = "d";
                    RightToLeft = RightToLeft.No;
                }
                if(mType == rTextBoxType.Time)
                {
                    MaskType = MaskType.DateTime;
                    Mask = "HH:mm";
                    RightToLeft = RightToLeft.No;
                }

ok, here is its problems:
1- in first case (mType == rTextBoxType.Text) i want to make maskeditbox to a simple textbox, if i put it in standard maskmode it will fill with placeholder character (which was not in previous versions). if i change it to None maskmode, it have problem with assigning text to it's TEXT property. when i assign a text (read from dB) to it's Text property nothing happened !!

2- in secod case (mType == rTextBoxType.Numeric) , the "D" mask does not work any longer for numberic-only text box, i should change it to "n" or "g" , which is strange!

3- Big big problem is in (mType == rTextBoxType.Money) , because i use "Persian (Iran)" cultureinfo in controls , when i put it in this maskmode , nothing happened. i cannot write anything in the textboxt. i think the problem is with cultureinfo.

4- last and new problem! is when something was wrong with the mask, there is red Icon appeared in right side of control. i want to turn it off, i want to disable it. i dont want it to appear anymore.

Would you please help me to solve these problems ?
Peter
Telerik team
 answered on 13 Oct 2011
1 answer
116 views

Hello,
i want to write a text over several cells.
can I merge Cells into one RadGridView? As in Excel.

thanks

Ivan Petrov
Telerik team
 answered on 13 Oct 2011
4 answers
397 views
When the datetimepicker loads I dont want any dates to be shown in the textbox please.

how do i do that?
Peter
Telerik team
 answered on 13 Oct 2011
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?