Telerik Forums
UI for WinForms Forum
1 answer
652 views
Hi,

  We are using RadTimepicker Control for Winforms.As ,we need time in 24 Hour format , we just set following property

radTimePicker.TimePickerElement.Format = "HH:mm";

But we need to Numbers in Clock ( Numbers 12 to 23) will be 24 hour format . How to achieve this ?


Please find attached image.

Please guide me.

Thanks & Regards,
Surya.
Peter
Telerik team
 answered on 13 Aug 2012
3 answers
316 views
Hello all .
I'm trying to assign a picture to a gridview column . i use the following statements , but i get a" Object reference not set to an instance of an object. "error .
How can i fix that ?
In my forms constructor i have this :
((GridTableElement)this.radGridView_ClassInfo_ListHonarjoyan.GridElement).RowHeight = 80;

And in the form_load() i have this :
foreach (GridViewRowInfo row in radGridView1.Rows)
            {
                row.Cells["picture"].CellElement.ImageLayout = ImageLayout.Zoom;
                row.Cells["picture"].CellElement.ImageAlignment = ContentAlignment.MiddleCenter;
                if (row.Cells["image"].Value == null )
                {
                    row.Cells["picture"].CellElement.Image = Image.FromFile("img/1.jpg");
                }else
                row.Cells["picture"].CellElement.Image = Image.FromFile(row.Cells["image"].Value.ToString());
                //pictureBox1.Image = Image.FromFile(row.Cells["Picture"].Value.ToString());
            }

in my table , the image column contains an address to the image on my drive , and if there is , to show the picture , i created a imagecolumn from radGridViews Properties (collections) and named it image . thats what im trying to do
Stefan
Telerik team
 answered on 13 Aug 2012
1 answer
185 views
Hi, 
I want to restrict access, or be able to remove the edit function to the Textbox in the DateTimePicker.
I tried to hook into the  TextChanging Event of th radDateTimePicker1.DateTimePickerElement.TextBoxElement and set the e.cancel = true. No visible changes was made when trying to edit the text, but it seems like it set some date in behind anyway.

I could do Enabled = false on the TextBoxElement, but then the control seems locked and I want the user to be able to push the dropdown button and select the date from the calendar. 

Is there any good way to restrict this access?

Regards
Svein Thomas
Stefan
Telerik team
 answered on 13 Aug 2012
1 answer
149 views
Hi,
i have the following two questions:
  1. Is there an option to disable the "snap to grid" behaviour for appointments to show it at the real y-position.
    In the attachement you see an sample of a snapped appointment.
  2. How can I cutomize the appearance of an appointment in the view
    For example showing only the begin time, showing an additional picture or text.



Best regards
Friedhelm
Stefan
Telerik team
 answered on 13 Aug 2012
9 answers
774 views
I have a nested grid with about 300 rows; when I expand this grid from its parent, the vertical scroll bar expands to take up almost the full height of the window, and as I scroll down, the scroll bar becomes incrementally smaller.  This make it very time-consuming to scroll all the way down to the bottom, as it has to be done in multiple steps.  However, if the number of rows in the nested grid is < 200, the scroll bar is of normal size, and scrolling is easy and quick.

Is there any way to remedy the behavior for larger nested grids?
Svett
Telerik team
 answered on 10 Aug 2012
1 answer
124 views

Hi Team,

I am working in windows form application and developing na aaplication with the help of example application i.e bug fixer but anyhow i was trying to disable or hide the close button from tab strip but unable to do it please help me out to disable or hide the same. Early response will be helpful.

Boryana
Telerik team
 answered on 10 Aug 2012
2 answers
402 views
Hi,

One of the grids in our application displays a field which can contain carriage returns (\r\n). For the grid the multiline and wrap properties are set to false and the ellipse property is set to true, since we want the text to be single line and ellipsed.

However the colum does take the carriage return into account and tries to squeeze the both lines into one line (see screenshot). Each line individually is however ellipsed.

What is the best approach to prevent the column to ignore the carriage returns, in order to have one single ellipsed line? Off course without removing the carriage return from the string itself.

Many Thanks,
Maarten
Maarten
Top achievements
Rank 1
 answered on 10 Aug 2012
1 answer
157 views
Can I also show a ContextMenuStrip as popup menu instead of the RadContextMenu?

Best regards Friedhelm
Stefan
Telerik team
 answered on 10 Aug 2012
5 answers
903 views
HI,
    I am using the Rows drag and drop functionality in my grid. I have set the "Allow Column Header Context Menu" as 'False'. But i was able to get the context menu with the contents "Conditional Formatting,Column Chooser,Hide Column,Pinned State, Best Fit". How should i hide this?.

With Regards,
S Surendar
Stefan
Telerik team
 answered on 09 Aug 2012
1 answer
117 views
Hi,

In which event of tree view I can create a  Dynamic textbox when a new node(Right click & Add) is added. I want to  enter the description of the newly created node in the text box and same has to be saved in DB.

Regards,
Arun
Stefan
Telerik team
 answered on 09 Aug 2012
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
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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?