Telerik Forums
UI for WinForms Forum
4 answers
130 views
Hi!

Could you write a short example with the chart control displaying a point series? My problem is that while I easily can se the point:s value labels in the chart I dont understand how to get the actual dots to be displayed.

I would apreciate a quick response.

Regards,
Oskar
shinu rag
Top achievements
Rank 1
 answered on 11 Aug 2010
1 answer
134 views
I upgraded to 2010.2.10.713 and the themes disapeared off of the dropdown lists for Grid View, as well as several other Telerik controls I use. FIrst pass, there where no themes selected in the Themes tab of the Upgrade/Configuration options. I reran both of them now with Vista selected as well as a view other random ones and there isn't anything in the drop down. The reference is in the project for the theme. Just typing in the name doesn't seem to do anything, no differences in appearance.

What happen, and how do I get it back?

Randy Miller
Vassil Petev
Telerik team
 answered on 10 Aug 2010
1 answer
104 views
Hi,

I am using ColumnGroupsViewDefinition to bind to my grid , however i want to allign the group header as right allign but watever i try it doesnt work , i am able to allign the columns wihin the group but allignment of group header text is what i really need.

Please let me know whether this is possible or not.

Thanks
Pinaki
Martin Vasilev
Telerik team
 answered on 10 Aug 2010
2 answers
138 views
Hello,

I just updated my code and the refrenced dlls to use the Q2 2010 release of telerik controls.

I have a functionality incorporated which calculates values on a cell basis referring to other cells within the grid.
I am using the cellvaluechanged-event to submit the current position and the entered value to my calculation routine.

If grid.Rows(e.RowIndex).Cells(5).Value = "Adjusted Net Requirement (User Input)" Or grid.Rows(e.RowIndex).Cells(5).Value = "Supply Adj. Forecast (User Input)" Then
            If IsNumeric(e.Value) Then
                _supplyLogicLayer.calculateOnTheFly(dsSupply, grid, e.RowIndex, e.ColumnIndex, e.Value)
                '_supplyLogicLayer.calculateOnTheFly(grid, e.RowIndex, e.ColumnIndex, e.Value)
            End If
        End If


the caluclateonthefly procedure basically grabs values from specific cells and does the calculation with them.

Since I upgraded to the new release this procedure takes a tremendous amount of time - the Q1 release has been much faster in processing it that way. Addionaly after setting a new value to a certain cell (f.e. dr.Cells(ColumnIndex).Value = 1000) it isn't shown in the grid directly. I need to refresh it or expand and collapse a child to see the new value.

It is probably important to know that I am using a childgridrelation within the grid.

Let me know what you think.

Thanks

P.S.: We could do a netviewer remote session that you guys can see what is happening here.
Julian Benkov
Telerik team
 answered on 10 Aug 2010
1 answer
105 views
Hi, I bind the gridview in winforms to a generic list with a custom object.
The object implements the INotifyPropertyChanged interface and has the "OnPropertyChanged" event in the setter of almost all properties of said object.
Now the list is being run in a service to update the data and only when scrolling the gridview the gridview is being updated.
Is there a way to have this done automatically? Am I missing something?

Thanks
Julian Benkov
Telerik team
 answered on 10 Aug 2010
1 answer
88 views
Hi.

I've encountered the following strange bevaviour in my GridViews.

Some GridViews in my application use bound ComboBox columns (NOT multi column).
Recently, I added functionality for saving/restoring the grid layout to/from files, using SaveLayout() and LoadLayout() functions of the grid.
Now, it seems, that after calling LoadLayout, my ComboBox columns are no long working properly. When I try to edit the content, I can see the DrowDown-Arrow button, but no content is displayed. The same code works perfectly when I leave out the LoadLayout() call.

I've debugged the code a bit, and it seems to me, that the combo box column "forgets" its data source (assigned during design time) upon calling LoadLayout(). If I re-assign the data source to the column in code after calling LoadLayout(), everything's fine again.

I can live with this workaround, but still wanted to ask if this is a known issue, or if I'm doing something wrong.

Thanks
Martin Vasilev
Telerik team
 answered on 10 Aug 2010
2 answers
192 views
Hi,
   The following is the code I use.  I have attached the pie chart generated by this code.

 

ICollection<PieChartSeries> pieChartList = new List<PieChartSeries>();

 

 

GeneratePieChart generatePieChart = new GeneratePieChart();

 

pieChartList = generatePieChart.GenerateChartSeries();

radChart1.DataManager.DataSource = pieChartList;

radChart1.DataManager.LabelsColumn =

"ItemName";

 

radChart1.DataManager.ValuesXColumn =

"Value";

 

radChart1.IntelligentLabelsEnabled =

true;

 

radChart1.DataBind();

radChart1.Series[0].Name =

"LegendName";

 

radChart1.Series[0].Appearance.LegendDisplayMode =

ChartSeriesLegendDisplayMode.ItemLabels;

 

radChart1.Update();


The legends are not displaying the values of the LegendName property of the colloection pieChartList. 
The LegendName property will have some names like Arvind, Robin, Kumar, Mark, etc...

Now the radChart is taking the legends as the radChart1.DataManager.LabelsColumnradChart1.DataManager.LabelsColumn's data (ItemName). Is it possible to display a different text for the legend (It should be other than the ItemName)?

In the above code I am using the line
radChart1.Series[0].Name = "LegendName";

Does it have any significance?

Regards,
Arvind Robin Kumar.
André Paulo
Top achievements
Rank 1
 answered on 10 Aug 2010
5 answers
1.2K+ views
I have just realized that at CellValidating event e.row.DataBoundItem is allways null.
In Q1 2010 when I added a new row into the grid using add row, e.row.DataBoundItem wasn't null and contained a new entity with part filled properties.
Now my application fires many exceptions....

Is it a bug or feature?
Julian Benkov
Telerik team
 answered on 10 Aug 2010
1 answer
296 views
I have a radgridview on a winform that is bound to a tableadapter.

I have the following code in the CellEndEdit Event:

 

 

private void grdPeople_CellEndEdit(object sender, GridViewCellEventArgs e)
       {
           try
           {
               this.Validate();
               this.peopleBindingSource.EndEdit();
               this.peopleTableAdapter.Update(peopleDAL);
                 
           }
           catch (System.Exception ex)
           {
               MessageBox.Show("Update failed:"+ex.Message);
           }
            
       }

The problem is when I click the "Click here to Add a New Row" and fill in the row, the Adapter.Update gets called but nothing is inserted into the database when I leave the row. I can step through the code and it steps over the Update, and no error is raised - yet there is no data in the database.  If I navigate off of the row, then navigate BACK to the row and update it, then the
INSERT command is fired cause I can see it in the database when I do a trace.  

So what I need to know is where is the right place to put a call to the Adapter.Insert Method?  I don't know what event to use.

I know I can create a new set of textboxes and checkboxes tro mimic my record and have a "Click to INsert" button with some code behind that, but I want to use the default functionality of the RadGrid.

Having said that - what is the recommended way to bind radGridViews to a SQL database?  I use TableAdapters because I come from an ASP .NET background and they work well there - but is there a better way to do it in Winforms?  Should I be using LINQ?

Julian Benkov
Telerik team
 answered on 10 Aug 2010
3 answers
124 views
Hi,
there are attached files
So  I have this problems with RadListBox - floating on scroll? i try to fix it with position:relative, but the problem still exist
radgridBug.jpg

My code is looking like that

<Content id=".." contentplaceholderid="">
<DIV>
     <div>
       <RADGRID IS HERE>
    </div>
    <div>
       <RadListBox  1>
         <RadListBox  2>
    </div>
<DIV>
</Content>

So if i put position:relative - to the main DIV - than my RADGRID is floating - radgridBug2.jpg

So is there some way to solve this issue- I google it and so many people had been crushed with this problem...
Kamen Bundev
Telerik team
 answered on 10 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)
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
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
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
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?