Telerik Forums
UI for WinForms Forum
4 answers
107 views
I seem to be experencing alot of crashes with the Grid.  When I try to click on a filter to start typing in what I want to seach for it will crash the application.

The grids will load just fine and in most cases you can search the first 2-4 cells from left to right, but the closer you get to the right side of the grid the more cells you try to filter will crash the application.

I havent tried any other version yet, any ideas?

(It looks like it could be related to columns that I have moved the position in the property builder from how the query was written?)
Stefan
Telerik team
 answered on 22 Mar 2012
5 answers
166 views
Hi Teletik Team. I have an issue that need your help. I has a Form with RadScheduler1 (ActiveViewType=Month). When I run application, It will show RadScheduler on Month View with each header column is the week-date and each header row show the period of day. However, header row show vertical text, I want header row is horizontal  text. What should I do.

Thanks

Tran Dat
Stefan
Telerik team
 answered on 21 Mar 2012
5 answers
86 views
I am trying to export the grid to an HTML format.I do not want the default export behavior of defining col fixed widths during the export.  I set ExportVisualSettings to false in hopes that it might prevent the use of the fixed widths.  What is the correct way to not have fixed widths exported when working with HTML?
Ivan Petrov
Telerik team
 answered on 21 Mar 2012
6 answers
135 views
Saludos,


Como estan, tengo un problema. Agrego una columna llamada clnAsignatura al control RadGridview, pero desde el codigo no puedo hacer referencia a la misma por si sola, por ejemplo clnAsignatura.higth.  En el control estandar de vb.net el gridview, si puedo hacer esto, puedo poner en codigo el nombre de mi columna del grid directamente sin necesidad de referenciar el grid. Alguna idea de como puedo hacer esto?


regards,

As are, I have a problem. I add a column called clnAsignatura RadGridview control, but since the code I can not refer to it alone, for example clnAsignatura.higth. In standardcontrol vb.net gridview, if I can do this, I can put into code the name of my column in thegrid directly without referencing the grid. Any idea how I can do this? 
Stefan
Telerik team
 answered on 21 Mar 2012
1 answer
103 views
Hi-hi,

After row reorder (sorting in RadGridView), from my code I'm trying to set a value in selected rows.

for(int i=0;i<myGrid.SelectedRows.Count;i++)
myGrid.SelectedRows[i].Cells[0].Value = ":)";

before row reorder (rows sorting from RadGridView control, by pressing on appropriate column) it works.
after reorder - the only first row is available to edit, others are skipped.

Why?
Robb
Top achievements
Rank 1
 answered on 21 Mar 2012
3 answers
101 views
Hi,

I'm using richtextbox with TelerikEditor and have come across the following problem. If I use Text Highlight Color on my text, the highlight color is not saved. ie when reloading the record which was saved in xaml the highlight is gone. Any one else come across this one.

Thanks,
Karl
Stefan
Telerik team
 answered on 21 Mar 2012
2 answers
278 views
I have a TreeView that I would like to display a set of objects where they each contain a list<> or BindingList<> of objects of the same type as the base class. It is a recursive type. I am having a hell of a time getting this list to display anything other than the root list. The more I tinker with the ChildMember or DisplayMember I get either nothing displayed or I get an error:

System.InvalidOperationException was unhandled
  Message=Failed to compare two elements in the array.
  Source=mscorlib
  StackTrace:
       at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
       at System.Array.BinarySearch[T](T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
       at System.Collections.Generic.List`1.BinarySearch(Int32 index, Int32 count, T item, IComparer`1 comparer)
       at Telerik.WinControls.UI.BindingProvider.TreeNodeList.GetOrAdd(Object key)
       at Telerik.WinControls.UI.BindingProvider.BuildIndex(Int32 index)
       at Telerik.WinControls.UI.BindingProvider.GetNodes(RadTreeNode parent)
       at Telerik.WinControls.UI.RadTreeNode.get_Nodes()
       at Telerik.WinControls.UI.BindingProvider.Reset()
       at Telerik.WinControls.UI.BindingProvider.root_PropertyChanged(Object sender, PropertyChangedEventArgs e)
       at Telerik.WinControls.UI.RelationBinding.OnPropertyChanged(String propertyName)
       at Telerik.WinControls.UI.RelationBinding.set_DataSource(Object value)
       at Telerik.WinControls.UI.BindingProvider.set_DataSource(Object value)
       at Telerik.WinControls.UI.RadTreeView.set_DataSource(Object value)
       at WorkBreakdownStructure.Forms.frmWorkBreakdownStructureEditor..ctor() in C:\[Development]\CSLA_Research_Program\WorkBreakdownStructure\Forms\frmWorkBreakdownStructureEditor.cs:line 33
       at CSLA_Research_Program.Form1.button2_Click(Object sender, EventArgs e) in C:\[Development]\CSLA_Research_Program\CSLA_Research_Program\Form1.cs:line 29
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       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(IntPtr 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 CSLA_Research_Program.Program.Main() in C:\[Development]\CSLA_Research_Program\CSLA_Research_Program\Program.cs:line 18
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly 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, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.ArgumentException
       Message=Argument_ImplementIComparable
       Source=Telerik.WinControls.UI
       StackTrace:
            at Telerik.WinControls.UI.BindingProvider.TreeNodeList.NodeComparer.Compare(Node x, Node y)
            at System.Collections.Generic.ArraySortHelper`1.InternalBinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
            at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
       InnerException:


This is my code...
Thanks



        public frmWorkBreakdownStructureEditor()
        {
            InitializeComponent();

            this.radTreeView1.ChildMember = @"Things";
            this.radTreeView1.DisplayMember = @"Name";
            this.radTreeView1.DataSource = GetDefaultThings();
        }


        private Things GetDefaultThings()
        {
            Thing t = new Thing("Object 1");
            Thing tc = new Thing("o2");
            t.Things.Add(tc);
            t.Things.Add(new Thing("o3"));
            t.Things.Add(new Thing("o4"));
            t.Things.Add(new Thing("o5"));
            t.Things.Add(new Thing("o6"));
            t.Things.Add(new Thing("o7"));
            tc.Things.Add(new Thing("gc1"));
            tc.Things.Add(new Thing("gc2"));
            tc.Things.Add(new Thing("gc3"));
            tc.Things.Add(new Thing("gc4"));
            Things ts = new Things();
            ts.Add(t);
            ts.Add(new Thing("Object2"));
            ts.Add(new Thing("Object3"));
            ts.Add(new Thing("Object4"));
            ts.Add(new Thing("Object5"));
            return ts;
        }
    }

    public class Things : BindingList<Thing>    {    }

    public class Thing
    {
        public Thing() { }
        public Thing(String name) : this() { _name = name; }

        private String _name = "";
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private Things _things = new Things();
        public Things Things { get { return _things; } }
    }

Julian Benkov
Telerik team
 answered on 21 Mar 2012
1 answer
149 views
Hi,

I am currently evaluating the radgridview in UNBOUND mode.

I have used .Relations.AddSelfReference which works in my scenario very well

My question is, is it possible to make the indent smaller for the sub rows

+ My Top Row
        My Top Rows Relation #1
        My Top rows Relation #2

I would like to make this indent smaller

+ My Top Row
    My Top Rows Relation #1
    My Top rows Relation #2

Thanks
Stefan
Telerik team
 answered on 21 Mar 2012
1 answer
140 views
Reporting what I think might be a bug.
When using a RadScheduler (2011 Q3) in MonthView, CellClick event of RadScheduler does not fire when a cell (corresponding to a day in monthview) is clicked. It fires only when the smaller day header is clicked.
One can overcome this issue by using RadScheduler MouseClick event like this:
private void radScheduler1_MouseClick(object sender, MouseEventArgs e)
{
   if (radScheduler1.FocusedElement is MonthCellElement)
   {
       //Do Stuff
   }
}
Ivan Todorov
Telerik team
 answered on 21 Mar 2012
1 answer
60 views
Hi im spanish and i apologice beacuse mi enlglish is no so well

The time format in AppointmentEditDialog is in 12 hours and I need see it in 24h
¿who can i chenge it?
Thanks.

Ivan Todorov
Telerik team
 answered on 21 Mar 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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?