Telerik Forums
UI for WinForms Forum
4 answers
280 views

I am using the Q1 2008 beta.  I have the following issues while using the grid with hierarchical on.  I have 2 dataviews on the gridViewTemplate2.DataSource = dvPrior; grdPersonal.MasterGridViewTemplate.DataSource = dvPersonal;

Issues:
    1)  If I rebind the grid w/ the parent expanded, the parent disappears and the child records only show.  If I sort it comes back, but if I click the + sign it will sometime crash.  See error

System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.WinControls.UI.GridRowElement.UpdateInfo() at Telerik.WinControls.UI.GridTableElement.Update(GridUINotifyAction action, GridViewRowInfo[] rowInfos) at Telerik.WinControls.UI.RadGridView.set_CurrentView(IGridView value) at Telerik.WinControls.UI.BaseGridBehavior.SetCurrentView(MouseEventArgs e) at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownLeft(MouseEventArgs e) at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e) at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.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

2)  I can't seem to create a relationship between the parent and child with more then 1 column.  If I add 2 members it errors and says that a relationship already exists.  If I add 2 columns in the child and parent the application crashes when I iniialize the control.

3)  Speed of the hierarchical is pretty slow to first load.  I have a 400 record table for child dataview and 20 record table for parent dataview and it takes ~ 20 seconds to load with the relation on 1 column.  In comparison; the parent w/o the hierarchical children loads in 1 sec or less.

4)  It would be nice to NOT show the + sign if there are no children or have that option to turn that feature on or off.  Can this be an option?

5)  There doesn't seem to be a way to control the height of the expanded out rows.  If there is only 1 child row the expanded panel seems to be large.  Will there be a way to autosize to the end of the last row and/or set the default height?

6)  I have a hierarchical grid w/ 2 parent records.  If I expand out the last parent record in the grid and then click the + to collapse it doesn't collapse and the parent disappears.  If I re-sort the 2 parent records so that the orignial expanded record is not the last and expand and collapse the function works perfectly.  Seems to only happen when parent record is the last in the grid.

It would be nice to get weekly or biweekly beta updates so us users could work out some of the bugs before release.

Dave

kreciol
Top achievements
Rank 1
 answered on 14 Jun 2008
1 answer
104 views
Hello,

How can I make the first row of a RadgridView selected by default, if there's any?

Thank You.
LM
Nikolay
Telerik team
 answered on 13 Jun 2008
2 answers
135 views
Hi,

I'm trying to set a default sort on a telerik gridview (Q2 2007)

BindingList<Temp> tempList = new BindingList<Temp>(); 
int j = 0; 
for (int i = 1000; i > 0; i--) 
     Temp temp = new Temp(); 
 
     temp.Temp1 = i + " descending"
     temp.Temp2 = j + " ascending"
     tempList.Add(temp); 
     j ++; 
 
             
radGridView1.MasterGridViewTemplate 
    .SortExpressions.Add("Temp1", RadSortOrder.Ascending); 
 
bindingSource1.DataSource = tempList; 

The sort appears to work, however, the arrow to indicate sorting is does not show.  Is there something that I can do to add this, or is the functionality non-existent?

Thanks,

David


David
Top achievements
Rank 1
 answered on 13 Jun 2008
2 answers
175 views
Two days ago I submitted a bug report but still got NO RESPONSE!
Why do I pay for a product with Gold support and a guaranteed response time of 24h?

Regards
Martin
Tinus
Top achievements
Rank 2
 answered on 13 Jun 2008
11 answers
1.2K+ views
Hi All and Telerik team,

Can any one please help me in getting this requirement done?

I need to add a image beside the treeview node?
will it be possible using RadControls?

I m using Q1 2008 version..

Thanks for your help in advance.

Regards,
kiran
Martin Vasilev
Telerik team
 answered on 13 Jun 2008
1 answer
116 views

I am running Q1 2008 SP1 of the WinForm Controls.  I have created a custom theme for the RadTitleBar.  The theme also includes 6 custom images for the Min, Max, and Close buttons. Three imaged for the default and 3 for mouse over, he mouse over works great for all three buttons.  The problem I am having is that if I click on the “Minimized” button the form will be minimize to the task bar, when I bring the form back up the “Minimized” button is showing the mouse over image.  This also happens on the max button.

I did notice the same problem in the Telerik Style Builder.  If any anyone can point me in the correct direction on how to fix this please let me know.  Thanks in advance!

This is how I have my images set UI Editor:

Telerik.Wincontrols.UI.RadImageButtonElement

                Image:  Selected File Image1
                ImageClicked:   Selected File Image 1
                ImageHovered:  Selected File  Image 2

Boyko Markov
Telerik team
 answered on 13 Jun 2008
4 answers
131 views
Docking 2008 Q1 SP1

In some strange cases opening a new document seems to cause repeated repainting / resizing(?) of documents that are in the background. Are there known repainting/refresh bugs? To provide a test application is probably quite complicated. I've noticed this mainly with UserDockForms that contain nested Table Layout Panels and .net UserControls.
Julian Benkov
Telerik team
 answered on 13 Jun 2008
1 answer
84 views
hi,

I have drawn the Gantt chart with date on X-axis, time on Y-axis.
I  have added the range of the X-Axis using the following Statement

radChart1.PlotArea.XAxis.AddRange(GraphStartTime.ToOADate(), GraphStartTime.AddDays(7).ToOADate(), 1);

I have set the Y-AxisLabel text to "XYZ".

My requirement is to change the AxisLabel text to "ABC", when the user clicks on the button.

I add the following code:
private void btnChangeAxisLabel_Click(object sender, EventArgs e)
{
            radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Text = "XYZ";
            radChart1.Refresh();
            radChart1.UpdateGraphics();
            radChart1.Update();
}


It is changing the AxisLabel text to "ABC".
But X-Axis ChartAxisItem's TextBlock.Text is not appearing(i.e The dates what i have added to X-axis is not appearing).

Please share the sample code.




           
Dwight
Telerik team
 answered on 13 Jun 2008
3 answers
213 views
I've recently started using DevForce for middle-tier development on my winform applications and am having difficulty binding with the Telerik GridView.  I saw in the example the grid binds to arraylists but what about Generic Collections?  The grid binds to all properties and I don't see a way to control that.  Am I missing something?

Al
Julian Benkov
Telerik team
 answered on 13 Jun 2008
2 answers
66 views
Hello,

I am having problems with the docking manager (6.0.2.0) at Design time again.

One of the Panels I am using in the docking manager has a Handler for the VisibleChanged-Event (so it fills its components with data the first time its actually visible)

This caused the visual studio designer (!!) to freeze (CPU 100%).
When I comment out the VisibleChanged Handler of the Panel , everything works fine.

At runtime both alternatives work.

So do events actually get fired at design time ?

Which DockPanel-Event should I handle if I want to intialize components (for example fill a RadComboBox with data) at runtime when they are first visible to the user.


Greetings
Julian Benkov
Telerik team
 answered on 13 Jun 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)
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?