Telerik Forums
UI for WinForms Forum
2 answers
264 views
Hi,

    I need to set the Height of the  Multi Column Combo box with respect to the Height of the screen, for example i need to set the Height always 60% of the size of the screen. 


Mike Treat
Top achievements
Rank 1
 answered on 23 Feb 2010
0 answers
136 views
Hi,

I am building an application that has a need to implement themes in such a way that they will be synchronized with system themes (coloring scheme). The problem is when I used Telerik controls and use any of available themes on them, the controls on application would not take any effect when Windows themes are changed. I used another UI component that provides a theme named "system" that applies the current Windows theme on the application and when system theme changes it is also reflected in the application.

I want to know if the same behavior can be produced by using Telerik controls? Please let me know if this is possible or any work around is available for this case.

Regards,

Haroon
Haroon
Top achievements
Rank 1
 asked on 23 Feb 2010
5 answers
244 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
207 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
128 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
140 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
167 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
266 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
645 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
221 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
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?