Telerik Forums
UI for WinForms Forum
1 answer
199 views
Hi,
I am new to the Telerik win forms controls.I want to know is it possible to use styles for controls like style sheet.For eg.if i want to change the text box width,i have placed text boxes in 3 forms,if i change the text box width in one place it should affects all the text boxes available in my project.How can i achieve this.Please let me know in sample project.

Thanks,
Santhose
Nick
Telerik team
 answered on 31 Mar 2009
4 answers
209 views
I'm unable to get the Minimize, Maximize, and Close buttons to appear on RadForm titlebars.  When the properties to display the buttons are set to True, I see a very small line in the upper right corner of the titlebar, near where the buttons would ordinarily display.  It's barely visible and is so small that some people might not notice it.  If I click on the line, sometimes it functions like a button.

I tried using Visual Style Builder to change the size of the buttons, and that worked, but the buttons don't have the any images.

Can you tell me if this is a bug or whether I'm doing something wrong?

Also, are there any workarounds through code?

Thanks,
Richard
Victor
Telerik team
 answered on 31 Mar 2009
1 answer
127 views
I had an issue on deleting rows from a customer, application uses the RadGridiView and he was getting the below exception on any attempt to delete a row in the grid. THere was a total of 3 machines and on each machine it was corrected by installing VIsta SP1, so FYI the radgrid requires VIsta SP1.

System.Reflection.TargetInvocationException was unhandled

  Message="Exception has been thrown by the target of an invocation."

  Source="mscorlib"

  StackTrace:

       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

       at System.Delegate.DynamicInvokeImpl(Object[] args)….

Jack
Telerik team
 answered on 31 Mar 2009
3 answers
196 views
Hi,

I have a RadComboBox which contains a list of objects. These objects have both a *name* and a *code*. The text value for each combo item is *<name> (<code>)* and the object is stored in the item value.

I have AutoCompleteMode = SuggestAppend and DropDownStyle = DropDown which gives me the necessary auto-complete logic for a user typing in something matching *<name> (<code>)*.

However I want the user to be able to type in something and the combo attempt to match on either the name OR code. Is this possible by sub-classing the combo and overriding some event?

For example, say we have an object with name = "Test Object" and code = "TST01". If the user types "T" we would get a match on this item, and if they typed "Test" or "TST" we would also get a match. 

Is there anyway to override the auto-complete logic using custom code?

Regards,
Ben
Victor
Telerik team
 answered on 31 Mar 2009
3 answers
144 views
Hi,

I have a performance problem.
I load the GridView 2009 Q1 with Tabkeadapter fill method. The Data comes from a view on a ms sql server and contains over 500.000 rows.
The performance is really slow.

What is the best method to give the user the best performance.
Is the Method with the table adapter good?

I thought about only showing about 1000 rows and after applying a filter generating a new query to execute against the db and refill the tableadapter.

Please help,

Thank you very much
Christoph
Top achievements
Rank 1
 answered on 30 Mar 2009
3 answers
223 views
Hi,

I've got a question on how best to accomplish drill down on a grid. The basic user experience should be to load up the form with a grid, and then click on any row's down arrow and see the grid expand to view related records (heirarchical grid).

I've currently got it working by creating 2 lists and setting up the relationship between them. What I'm wondering is if it's possible to set it up so that I can call the child object in the datasource to be the sub grid.

eg
Order has a property called 'OrderItems' which contains a list of all order items. In order to display on a grid, I need to call seperately a 'GetOrders' and a 'GetOrderItems', and then put the two together.

How would I get the grid to use Order.OrderItems as a data source instead? I suspect it would have to be an unbound grid, which is OK, but then I just need to know how to create a hierarchical unbound grid! Potentially it'd be nice to automatically generate a sub grid based on the properties of a sub object.
Nikolay
Telerik team
 answered on 30 Mar 2009
9 answers
669 views
Hi!
I'm trying to change a standart column to a combobox Column.
My way is to remove the original column with:
RadGridSubstances.Columns.Remove(RadGridSubstances.Columns("uzs_PosNeg")) 

and add a new GridViewComboBoxColumn with:
Dim comboBoxColumn As New GridViewComboBoxColumn 
comboBoxColumn.HeaderText = "positiv/negativ" 
comboBoxColumn.FieldName = "uzs_PosNeg" 
comboBoxColumn.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList 
 
 ' Create Custom Table for Combobox 
Dim comboDT As New DataTable 
comboDT.Columns.Add("Name"GetType(System.String)) 
comboDT.Columns.Add("Wert"GetType(System.Int16)) 
Dim myNewRow As DataRow = comboDT.NewRow() 
myNewRow("Name") = "positiv" 
myNewRow("Wert") = 1 
comboDT.Rows.Add(myNewRow) 
Dim myNewRow2 As DataRow = comboDT.NewRow() 
myNewRow2("Name") = "negativ" 
myNewRow2("Wert") = 0 
comboDT.Rows.Add(myNewRow2) 
 
comboBoxColumn.DataSource = comboDT 
comboBoxColumn.ValueMember = "Wert" 
comboBoxColumn.DisplayMember = "Name" 
comboBoxColumn.FieldName = "uzs_PosNeg" 
RadGridSubstances.Columns.Add(comboBoxColumn) 

At least I have two columns one with the Headertext "uzs_PosNeg" and one with the Headertext "positiv/negativ" (the ComboBoxColumn) When I change the Value in the Combobox (and change the row)  - the value in the other column changes and the Combobox displays nothing.

How could I do this? Is there an easyer way to assign two values to the combobox instead of creating a Datatable?

regards
Willi
Nikolay
Telerik team
 answered on 30 Mar 2009
1 answer
146 views

hi telerik,

I am working on winforms version Q2 2008 SP1 using a GridView control with one

imageCOlumn and three textboxColumns and a image list in that i have four images. I am using a

BindingList to bind the Grid, when i load the Grid initially it should not show image in the

imageColumn and all other textboxColumns gets filled with data.

Now, how can i fill the imageColumn of the Grid for a particular row based on the context menu that

consists of four images such that my imagecolumn gets filled with one of the images that i select from

the right click context menu.

how can i implement the above functionality, any help.

thanks and regards,
Vasu.

Nick
Telerik team
 answered on 30 Mar 2009
1 answer
145 views
Hello -

I'm creating a RadElement hierarchy composed of nested panels & various elements, and I'd like to insert a RadGridView under one of the nested StackLayoutPanels.  Can you tell me how to do this?

Thanks,
Michael Hewitt
Precision Software Design, LLC

Jack
Telerik team
 answered on 30 Mar 2009
1 answer
153 views
Can you please have a look at this post:
 
http://www.telerik.com/community/forums/winforms/treeview/in-place-editing-gives-error-for-self-referenced-tree-view-databinding.aspx#779905

Regards,

Rickar Nilsson
Victor
Telerik team
 answered on 30 Mar 2009
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?