Telerik Forums
UI for WinForms Forum
3 answers
245 views
How do I add images to a radlistbox?

This is what I have so far:

    Me.RadListBox1.DisplayMember = "LocationStatus" 
    Me.RadListBox1.ValueMember = "LocationStatusId" 
    Me.RadListBox1.ImageList = Me.ImageList1 



Angel
Telerik team
 answered on 01 Sep 2008
1 answer
204 views

I'm writing this follow source code in VS2008 and I nocited that the first time the calendar load hasn't the days highlights. If I move to the next or previous month and then I come back to Agoust the days are correctly highlights. I might be doing something wrong, but what ???

Private Sub RadCalendar1_ElementRender(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RenderElementEventArgs) Handles RadCalendar1.ElementRender

Dim ProcessOK As Boolean = False

Dim dates As List(Of DateTime) = New List(Of DateTime)()

dates.Add(

New DateTime(2008, 8, 11, 0, 0, 0, 0))

dates.Add(

New DateTime(2008, 8, 12, 0, 0, 0, 0))

dates.Add(

New DateTime(2008, 8, 13, 0, 0, 0, 0))

dates.Add(

New DateTime(2008, 8, 14, 0, 0, 0, 0))

Dim i As Integer = 0

Do While i < dates.Count

If dates(i).Date.Equals(e.Day.Date) Then

ProcessOK =

True

End If

i += 1

Loop

If ProcessOK Then

e.Element.DrawFill =

True

If cellBackColor = Color.Empty Then

cellBackColor = e.Element.BackColor

End If

e.Element.BackColor = Color.Orange

e.Element.Invalidate()

Else

If cellBackColor <> Color.Empty Then

e.Element.BackColor = cellBackColor

End If

If Not (TryCast(e.Element, CalendarCellElement)).Selected Then

e.Element.DrawFill =

False

Else

TryCast(e.Element, CalendarCellElement).Selected = True

e.Element.DrawFill =

True

End If

End If

ProcessOK =

False

End Sub

Nikolay
Telerik team
 answered on 01 Sep 2008
1 answer
110 views
  We would like to assign our own property to a rad UI control that we could then examine in the Rad State Editor.  For instance we could have a property added to the RadTextBox that could be called something like errorState.  We could then set errorState to true at either design time or run time to indicate the error state of the text box.  The controls default theme would then examine this property in a custom state created with the Rad State Editor in the Visual Style Builder. This would then dynamically apply the proper visual styles to the textbox for the custom error state.  This would allow us to encapsulate all visual elements of our application into a single master theme.
Angel
Telerik team
 answered on 01 Sep 2008
6 answers
313 views
We have a need for a custom property on a textbox.  I have found how to create a custom RadProperty, but I do not know how to attach it to all of the textboxes in the application.  Is there a tutorial or something that we could follow for this functionality?

Thanks
Vassil Petev
Telerik team
 answered on 01 Sep 2008
1 answer
152 views
Hi,

I moved my controls from a standard panel onto a RadPanel and noticed, that Form.Validate() was no longer validating my controls on the RadPanel.

The reason for this is, that RadPanel.CausesValidation is false by default and not visible in properties window. Why this?

Regards
Martin
Jordan
Telerik team
 answered on 01 Sep 2008
1 answer
155 views
Hi,
How to add images (.gif) in to the Radcombobox. wincontrols

Thanks in Advance.
Nikolay
Telerik team
 answered on 01 Sep 2008
2 answers
148 views
Hi,
I'm new to RadControls and am having fun using the different controls. I am trying to load groups and elements in a RadPanelBar based on a group table and an items table in my database. If I can do that my employers will gladly buy the full suite. I looked at the help and I can build up the groups programmatically. Is there a tutorial or an easier way to do this? I can build it up using datasources, but just wondered.  I'm using SQL Server, but the help files show an example using Access and OLEDBConnection.

Thanks a lot.
Nikolay
Telerik team
 answered on 29 Aug 2008
1 answer
219 views
Hi,

Could I please have an example of how to implement drag and drop functionality between two RadListBox controls. The examples in the older posts don't seem to work with the latest release.

Thanks,
Brad
Nikolay
Telerik team
 answered on 29 Aug 2008
1 answer
258 views
I would like to disable the fast navigation popup that appears when clicking on the calendar's "title" (Month-Year).  When clicking there, a popup appears allowing the user to select a different Month-Year.  I would like to handle this event with a different popup.  I have been able to tie into the same mouse down event to create my own popup window, however the telerik fast navigation window still pops up.  Is there a way to disable this so that I can handle the event myself and popup my own fast navigation type of window?

I would like to keep the fast nvaigation arrows and header in place, just replace the popup that gets displayed when clicking on the Month-Year text.

Thank you.

William
Boyko Markov
Telerik team
 answered on 29 Aug 2008
4 answers
312 views

Okay, I know I'm missing something here. I'm using the latest version of Rad for WinForms (Q1 2008) and I'm trying to populate a RadGridView using code only (not the BindingSource control). Can you tell me why this code isn't working?

private void PopulateGrid()
{
 DataSet ds = GetMasterDetail();
 radGridView1.DataSource = ds;
}

private DataSet GetMasterDetail()
{
  DataTable master = Clients.GetMasterList();
  master.TableName = "Clients";
  DataTable child = Orders.GetChildList();
  child.TableName = "Orders";

  DataSet ds = new DataSet();
  ds.Tables.Add(master.Copy());
  ds.Tables.Add(child.Copy());

  DataRelation relationship = new DataRelation("MasterDetail", ds.Tables["Clients"].Columns["ClientID"], ds.Tables["Orders"].Columns["ClientID"]);
  ds.Relations.Add(relationship);

  return ds;
}

Julian Benkov
Telerik team
 answered on 29 Aug 2008
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?