Telerik Forums
UI for WinForms Forum
5 answers
211 views
Hi Telerik,

I am gonna use RadChart for the first time in a Windows application using VB.Net.

I need to display the pie chart for the total amount  with 7 divisions namely - Visa, Master, Amex, Cheque, Cash, Discover, Paypal.

This is my stored procedure output -

Amount     TenderType     NoOfPeople

300.00      Amex                  2
600.00      Cash                  4
450.00      Cheque              3
450.00      Discover             3
300.00      Master                2
300.00      Paypal                2
300.00      Visa                    2

The pie chart has to display Amount of the respective tendertype.   

Plz help me with how to code and display in Windows application using VB.Net.

Thank you in advance.

Regards,
Raj

 

Raj Maverick
Top achievements
Rank 1
 answered on 23 Feb 2010
3 answers
142 views
Good Morning, 

 I sow an exemplo: Telerik webmail.
 
to build this webmail, whats components I´ll need to buy?


sorry, but my english is no good!
Schlurk
Top achievements
Rank 2
 answered on 22 Feb 2010
2 answers
106 views
Hey at Telerik

I'm am trying to intercept an event that would look like a RowCreated.

I need the DataBoundItem and a row, so i can change the BackColor of each row depending on the data from the DataBoundItem

Does such an event exists or do i need to handle this another way ?

Sincerly

Jan
Martin Vasilev
Telerik team
 answered on 22 Feb 2010
1 answer
108 views
Is it possible to create an Items Collection during design time to fill a combobox such as I can with a combobox on a form? 
Martin Vasilev
Telerik team
 answered on 22 Feb 2010
4 answers
145 views
System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="Telerik.WinControls.GridView"
  StackTrace:
       at Telerik.WinControls.Data.DataAccessComponent.get_IsHasValidChildTemplates()
       at Telerik.WinControls.UI.GridViewTemplate.GetRenderColumns()
       at Telerik.WinControls.UI.GridRowElement.UpdateColumns(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridTableElement.UpdateColumns(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewTemplate.UpdateColumns(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewColumnCollection.NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewColumnCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.ObservableCollection`1.ClearItems()
       at Telerik.WinControls.Data.ItemObservableCollection`1.ClearItems()
       at Telerik.WinControls.UI.GridViewColumnCollection.ClearItems()
       at Telerik.WinControls.Data.DataAccessComponent.Dispose(Boolean disposing)
       at Telerik.WinControls.UI.GridViewTemplate.Dispose(Boolean disposing)
       at System.ComponentModel.Component.Finalize()
  InnerException:


This error comes every time(almost everytime) I close my app. Any pointers will be appreciated.
Kris
Top achievements
Rank 1
 answered on 22 Feb 2010
1 answer
216 views
Hi
I can't open example's forms. What is wrong?

I have WindowsForms Version 2009.3.9.1103.

Instead of form designer I got following text:

1 Error                                        Why am I seeing this page?    
   
   The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'Telerik.Examples.WinControls.Editors.ComboBox.EditorExampleBaseForm' could not be loaded. Ensure the assembly has been referenced and that all projects have been built.      
  
   
Instances of this error (1)   
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) 
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) 
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) 
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)   
  
  
 



Pauli
Top achievements
Rank 2
 answered on 22 Feb 2010
1 answer
580 views
Dear Friends,

I am facing problem with border of split panel in a split container.
 my requirement is one split panel in the split container must not show any borders but i am unable to do that...
i tried BorderStyle property but no use.

so what is the technique should be  fallow to disable borders of a split panel in the split container?

Thanks,
Regards,
Hari
Nikolay
Telerik team
 answered on 22 Feb 2010
4 answers
175 views
I have a gridview populated using a datatable.  Within my gridview I have 2 buttons "Up" and "Down".  The "Up" button takes the selected row and moves it up one row.  The "Down" button takes the selected row down a row.  The way i'm doing this is updating a column called "Order" and having my grid sorted by Page and Order columns.  If going up I swap order values within the grid with the row above the selected row and the opposite for down.   I have to be able to insert, delete and move rows up and down.  I'm trying to keep track of the grid rowindex and update that cell.
Ex.
Row# Page Order Text
1 1 10 Test1
2 1 20 Test2
3 1 30 Test3
Say I move row# 2 up now It should look like this
1 1 10 Test2
2 1 20 Test1
3 1 30 Test3
My problem is if I try and add a new row between rows#1-2 I should have 
1 1 10 Test2
2 1 20 Test4
3 1 30 Test1
4 1 40 Test3

Should I be updating my datatable?  I'm updating my grid.  Here is my RowChanging event
private void gv_RowsChanging(object sender, GridViewCollectionChangingEventArgs e)  
    {  
      if (e.Action == Telerik.WinControls.Data.NotifyCollectionChangedAction.Add)  
      {  
        RowSetup = e.NewItems[0] as GridViewDataRowInfo;  
 
        RowSetup.Cells["ID"].Value = gv.Rows[e.NewStartingIndex - 1].Cells["ID"].Value;  
        RowSetup.Cells["PAGE"].Value = gv.Rows[e.NewStartingIndex - 1].Cells["PAGE"].Value;  
        RowSetup.Cells["ORDER"].Value = Convert.ToInt32(gv.Rows[e.NewStartingIndex - 1].Cells["ORDER"].Value) + Convert.ToDecimal(".5");  
          
        foreach (GridViewRowInfo dri in gv.Rows)  
        {  
          if (dri.Cells["PAGE"].Value.ToString() == RowSetup.Cells["PAGE"].Value.ToString())  
          {  
            if (Convert.ToDecimal(dri.Cells["ORDER"].Value) > Convert.ToDecimal(RowSetup.Cells["ORDER"].Value))  
            {  
              dri.Cells["ORDER"].Value = Convert.ToInt32(dri.Cells["ORDER"].Value) + 1;  
            }  
          }  
        }  
        RowSetup.Cells["ORDER"].Value = Convert.ToDecimal(gv.Rows[e.NewStartingIndex].Cells["ORDER"].Value) + Convert.ToDecimal(".5");  
 
      }  
    } 

Thank you for any light you can shed on this.








Svett
Telerik team
 answered on 22 Feb 2010
1 answer
159 views
I have posted this question already last night, but it seems that it disappeared.
I have a RadButton with an image, all default settings. At run time, when I click on the button, the image moves slightly to the right and down. But when I release the mouse button the image remains in the new position
What is happening and how do I make it go back to the original location after the mouse click release?
Dobry Zranchev
Telerik team
 answered on 22 Feb 2010
4 answers
265 views

Hi all,

I have a grid with a combobox column and I have come to realize that filtering a combobox grid column is a problem. The only way to clear the filter in these types of column is to enter a blank value in the 'Custom' option. If I use the 'NoFilter' option, it works temporarily until I renable the filter, in which case I have the same issue. Has anyone else faced the same problem?

I tried the following methods: -

  1. Add a blank entry at the top of the combobox before binding. I was hoping somehow I can capture when the user selects this blank value and clear the filter, but I haven't been able to do so (from within the filterchanged event).
  2. I tried to capture when users select the 'NoFilter' option and clear the existing filter expression but that doesn't seem to work either.

If anyone has come across this scenario, please post the solution (and code if available). Thanks!

Regards,
MP

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