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

I have added a radcomboitem as like -----------
If i select that item value it should not get selected and have to function like separator.
I have set that item shape as customshape1, which doesnt allow user to select -------------
but am able to select it using keyboard arrow keys, how to restrict that?

Thank you
Jayanthi
Peter
Telerik team
 answered on 20 Aug 2010
1 answer
282 views
Hi,

When I open the drowpdown of a multicolumnbox and use the scrollbar to reach lower items, the scroll speed is fast. However, when I use the scroll wheel on the mouse, the scroll speed is very slow. Is there anything I can do to speed up the mouse wheel scroll speed?

Regards,
Conrad
Stefan
Telerik team
 answered on 20 Aug 2010
3 answers
295 views

Hi,

I have a really strange situation. I have a form that has a radpanel control and all my others controls are on the panel. If I put a RadLabel on the right bottom and if I set the anchor of the label to bottom-right, the location of the label is change.

Here is my setting :

 

 

 

 

Me.RadPanel1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _

 

 

Or System.Windows.Forms.AnchorStyles.Left) _

 

 

Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)

 

 

Me.RadPanel1.Controls.Add(Me.RadLabel1)

 

 

Me.RadPanel1.Location = New System.Drawing.Point(603, 385)

 

 

Me.RadPanel1.Name = "RadPanel1"

 

 

 

 

 

Me.RadPanel1.Size = New System.Drawing.Size(200, 100)

 

 

Me.RadPanel1.TabIndex = 14

 

 

Me.RadPanel1.Text = "RadPanel1"

 

 

 

Me

 

.RadLabel1.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)

 

 

Me.RadLabel1.Location = New System.Drawing.Point(138, 83)

 

 

Me.RadLabel1.Name = "RadLabel1"

 

 

Me.RadLabel1.Size = New System.Drawing.Size(59, 14)

 

 

Me.RadLabel1.TabIndex = 0

 

 

Me.RadLabel1.Text = "RadLabel1"

 


At runtime in immediate windows, i get:

?me.RadLabel1.Location

{X = 77 Y = 67}

Empty: {X = 0 Y = 0}

IsEmpty: False

X: 77

Y: 67


Any idea of what's going wrong?
Stefan
Telerik team
 answered on 20 Aug 2010
1 answer
194 views
Hi,

I have several problem when trying to develop app by RadDock control.

1. I use method "SaveToXml"  by saving as Strem or TextWritter format, but it does not work, could you give me a simple example? In my App, I want to save as System.IO.Stream and then save in memory.
Dim stream as System.IO.Stream
  
RadDock1.SaveToXml(stream)

2. Is there any property I can set to restrict the ToolWindow and do not let it be dragging outside the RadDock?

3. Can I disable the center image of DockingGuideTemplate to restrict the ToolWindow became TabbedDocument, like this http://www.telerik.com/help/silverlight/raddocking-features-compass.html
Stefan
Telerik team
 answered on 20 Aug 2010
1 answer
159 views

In Q2 2010 SP1,  we use following codes to implment appointments using recurrencerule.  But the appointment time in recurring appointments do not show correctly ( see attached screen shot).  This happens to all recurrence rules ( monthly, weekly and daily)

==========================================================================================

 

radScheduler1.Appointments.Clear();

 

Appointment ap = new Appointment();

 

 

DailyRecurrenceRule drule = new DailyRecurrenceRule();

 

drule.Start =

DateTime.Today;

 

drule.End =

DateTime.Today.AddYears(2);

 

ap.Start =

new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 9, 0, 0);

 

ap.End =

new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 11, 0, 0);

 

ap.RecurrenceRule = drule;

radScheduler1.Appointments.Add(ap);

 

=================================================================

There is not problem , using the same codes in earlier versions such as Q2 2009

======================================================================

Dobry Zranchev
Telerik team
 answered on 20 Aug 2010
3 answers
243 views
Hi there

We have appointments that span multiple days
Is there a way to determine the individual date that was clicked when I click on an appointment?

For example, if I have an appointment that runs from the 9th - 13th August, and I click on the appointment on the 12th, is there a way I can determine which day of the appointment I have selected?

Thanks
Dobry Zranchev
Telerik team
 answered on 20 Aug 2010
3 answers
159 views
Hello,

I have done the following in gridview in windows.

  1. Set datasource for gridview which has 3 columns (question, answer, active-boolean)
  2. Above displays check box for 3rd column
  3. Now i need only one check box to be checked at a time, but how to achieve that.

I will be helpful if any one can guide me

Thanx
Jai



Martin Vasilev
Telerik team
 answered on 19 Aug 2010
2 answers
477 views
Hello,

I have RadSplitContainer with two panels one above another. I need to hide the upper panel when user changes state of a toggle button to "off" and show that panel, when toggle state is changed to "on". The lower panel and it's contents must occupy the whole SplitContainer's surface when the upper one is hidden. I tried the following:

sp.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute;
sp.SizeInfo.AbsoluteSize = new Size(0, 0);
But it doesn't work at all. When I change height to "1":
sp.SizeInfo.AbsoluteSize = new Size(0, 1);
it works fine, but little nasty 1px width strip is visible. In design-time I can change splitter position so that AbsoluteSize.Width is 0. Also I can change panels height to 0 at runtime manually. Is there any way to do it programmatically?
Julian Benkov
Telerik team
 answered on 19 Aug 2010
2 answers
189 views

I am using a RadGridView in my application. It is connected to a binding datasoure. I am using the following code to insert new records. I have two database fields called createdon and createdby. I have to insert values to those two fields whenever I insert a new record. How can I achieve that?

 

this

 

.Validate();

 

 

this.substationBindingSource.EndEdit();

 

 

this.db.SubmitChanges();

 

Stefan
Telerik team
 answered on 19 Aug 2010
3 answers
1.0K+ views
I'm trying to use the RadPageView control but there is something that I need to do and I cannot find by myself actually.

How can I disable (or hide) the close tab button in strip view?

Thanks,
Georgi
Telerik team
 answered on 19 Aug 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
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?