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

  1. How can i Customize the appointments, like add a picture on the left side in a box followed by description.
  2. Can i make a appointment to blink/flash?.

Thanks
Raj
Jordan
Telerik team
 answered on 05 Feb 2009
3 answers
254 views
Hi all,

Just been doing a search on this and I think I'm stuck...

Is there really no way to programatically format a row other than use the Conditional formatting object or the RowFormatting Events?

In any other grid out there, I would be able to do something like:
myGrid.Rows(3).Backcolor = Color.Maroon;
Seems slightly short sighted if I can't do the same thing with the RADGrid control

I notice with RADGrid, I can do 'myGrid.Rows(3).VisualElement.Backcolor = Color.Maroon;', but VisualElement is only the rows that are currently scrolled into view.

The reason I ask is because I want to format certain rows based on a series of criteria that isn't anything to do with the value of the cells, so ConditionalFormatting is out and RowFormatting event would be very cludgy for this.
Surely there must be a simple way to programatically format certain rows?

Thanks,
Richard.
Jack
Telerik team
 answered on 05 Feb 2009
4 answers
133 views
Hi,

I have a problem with the masked edit in Q2 2008 SP1

If I highlight all the text in the edit control, and then begin typing (so that the previous text is replaced) I get the following exception occurring on the Application.Run line of my application:


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="Telerik.WinControls.UI"
  StackTrace:
       at Telerik.WinControls.UI.RadMaskTextBox.OnKeyDown(KeyEventArgs e)
       at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
       at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
       at System.Windows.Forms.Control.WmKeyChar(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
       at System.Windows.Forms.TextBox.WndProc(Message& m)
       at Telerik.WinControls.UI.HostedTextBoxBase.WndProc(Message& message)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at SewWhat_Database_Manager.Program.Main() in D:\Visual Studio 2005 Projects\Sewwhat\SewWhat Database Manager\Program.cs:line 17
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


This happens with several edits, some with masks, some without. If I delete the text in the box using backspace and then type everything is fine. I do not have any Keydown event handlers. Some of the edits have a handler for keypress, but this problem even occurs with those that do not.

Please help.
Since upgrading from the Q1 2008 to this version I have had nothing but problems in many of the controls.

Thankyou

Boyko Markov
Telerik team
 answered on 05 Feb 2009
1 answer
184 views
Hi Telerik,
I have implemented rad scroll bar to navigate a standard web browser.
The problem i m facing is that I noticed the standard vertical scroll bar of web browser get disabled (With no thumb) when its control (web browser) area is greater then page display area.

I tried to implement the same behavior with rad scroll bar. The bar gets disabled but the Only problem is that it continues to show the thumb. and its appearance  in  much darker (Which looks odd). I m using vista theme of scroll bar, I guess theme will do the appearance job. but please do guide me some good way to disable the vertical scrollbar showing similar behavior as per standard scroll bar.

Regards,
Haroon.
Deyan
Telerik team
 answered on 05 Feb 2009
3 answers
122 views
Hi - I am new to these controls and have so far been very impressed. I am trying to write a generic grid control to use for editing reference data in my database. I am developing in C# and using the v8.2.0.0 of the Telerik controls.

I drop a RadGridView onto my form and add a few columns but when I run the application I am unable to enter *edit* mode, even though the *new* row is showing up and the context menu is giving the option to *edit* existing rows.

If I double click on a row, or hit enter, or F2, nothing happens - it is as if the row/grid is locked.

Does anyone have an idea what I could be doing wrong here? I am sure it is something simple - but I have spent the last 2 hours searching the docs and trying countless combinations of property settings etc - with no luck!

Thanks in advance!
Ben
Deyan
Telerik team
 answered on 05 Feb 2009
4 answers
232 views
Hi,
I have a column in grid view which contain Date Time. Requirement is to add group by expressions for date part of column.
We do not want to make Time string to be a part in grouping.
Jack
Telerik team
 answered on 05 Feb 2009
3 answers
335 views
Hi Telerik,
I just came across an issue and if you can please guide me in this regard.
The issue is that
I want that only the root node (First Node) of tree view dont show its Plus Minus (sign) and it reduce its (only its) indentation as well.
I can see that the property for plus minus is available but that property implements on whole treeview, which is not acceptable to us. And we will need to reduce its indentation as well because if somehow I could be able to hide the plus minus sign the gap between the treeview control border and its first node will look odd.

I hope,I can cleared my point. I wanted to send u the dummy treeview pic to show exactly what I want but i guess attached is not provided this Telerik threads.To understand my application, Its tree view is like that I have One node and all about 100 or so childs and sub childs are under that Single node. So we are looking to hide the Top (Root) node Plus Minus sign and indent the treeview little left to the gap dont look too much.

Looking forward to your quick and helpful response as always.

Regards,
Haroon.

Victor
Telerik team
 answered on 05 Feb 2009
5 answers
221 views
Hi,

Is it possiblie to add Telerik controls like waiting bar and label on a Splash Screen (SplashForm) ?

Regards,

YSP


Jack
Telerik team
 answered on 03 Feb 2009
1 answer
107 views
Again, I'm evaluting your controls.  On quite a few control sets, you have the ability to share the same object on a menu and toolbar.  From what I can tell, you can't not do that on your controls.  In other words, I can not make a object that will show up in the menu and toolstrip both.

Also, Am I correct to state that for every object in a menu/toolstrip, it has it's own events that are called.  Again, some sets have a common event handler, then you find out what object called the event and process from there.

Thank you

Terry
Jack
Telerik team
 answered on 03 Feb 2009
1 answer
99 views
Hi,

I discovered a new issue in the last version of components.

let me show your part of code. (I really cannot provide sample, I have no time for this, I can patch this myself, but perhaps this will help someone)

RadGridView properties in designer code file :
this.RadGridView_Object.AutoSize = true
this.RadGridView_Object.MasterGridViewTemplate.AllowAddNewRow = false
this.RadGridView_Object.MasterGridViewTemplate.AllowCellContextMenu = false
this.RadGridView_Object.MasterGridViewTemplate.AllowColumnChooser = false
this.RadGridView_Object.MasterGridViewTemplate.AllowColumnHeaderContextMenu = false
this.RadGridView_Object.MasterGridViewTemplate.AllowColumnReorder = false
this.RadGridView_Object.MasterGridViewTemplate.AllowDeleteRow = false
this.RadGridView_Object.MasterGridViewTemplate.AllowDragToGroup = false
this.RadGridView_Object.MasterGridViewTemplate.AllowRowResize = false
this.RadGridView_Object.MasterGridViewTemplate.AutoExpandGroups = true
this.RadGridView_Object.MasterGridViewTemplate.EnableSorting = false
this.RadGridView_Object.MasterGridViewTemplate.ShowFilteringRow = false
this.RadGridView_Object.MasterGridViewTemplate.ShowRowHeaderColumn = false
this.RadGridView_Object.ShowGroupPanel = false;
this.RadGridView_Object.AutoSizeRows = true

RadGridView columns definition (pRadGridView is RadGridView_Object)  :
// Start update 
pRadGridView.GridElement.BeginUpdate(); 
 
// Erase content 
pRadGridView.MasterGridViewTemplate.AutoGenerateColumns = false
pRadGridView.DataSource = null
pRadGridView.MasterGridViewTemplate.Rows.Clear(); 
pRadGridView.MasterGridViewTemplate.Columns.Clear(); 
#region Add columns 
#region Special Column for colorization 
GridViewDataColumn Colorization_Column = new GridViewDataColumn("Colorization""Colorization"); 
Colorization_Column.IsVisible = false
Colorization_Column.HeaderText = "Colorization"
pRadGridView.MasterGridViewTemplate.Columns.Add(Colorization_Column); 
#endregion 
 
/// ADD SOME OTHER COLUMNS 
#endregion 
#region Add Group View Definition 
ColumnGroupsViewDefinition _ColumnGroupsViewDefinition = new ColumnGroupsViewDefinition(); 
 
/// Add colums groups, some columns, two lines 
 
pRadGridView.ViewDefinition = _ColumnGroupsViewDefinition; 
#endregion 
#region Databind 
 
foreach(Object item in ListOfObject) 
 GridViewDataRowInfo row = pRadGridView.MasterGridViewTemplate.Rows.AddNew(); 
 row.Cells["col1"].Value = item.value1; 
// and others 
#endregion 
 
// End of update 
pRadGridView.GridElement.EndUpdate(); 
 
// Best fit columns 
pRadGridView.MasterGridViewTemplate.BestFitColumns(); 

Ok, run this and what appends....

The first issue is that the two header rows are not displayed, only the first one.
Anyway, just click on first DataRow, the second Header row is diplayed but First DataRow is behind... Wow

So, the only one solution for me, was to set this.RadGridView_Object.AutoSizeRows = false

hope this will help.

Best regards


EDIT : this issue is for ViewDefinitions and not only Html one. Sorry.
see bug on  : Image

Jack
Telerik team
 answered on 03 Feb 2009
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?