Telerik Forums
UI for WinForms Forum
3 answers
456 views
Hello,
1. I want to show sum of a coulmn of RadGridView in a text box. How do I must do this?
2. Suppose that there are 3 tables: Table1(PK1), Table2(FK1,FK2) and Table3(PK2).
the Table2  has equivalend ID from Table1 and Table2(One to many relation).
I've downloaded the ExCheckedListBox from CodeProject website. the ExCheckedListBox  data source is Table1. I want the Items which are in ExCheckedListBox to be checked only if they are in Table2.
link:http://www.codeproject.com/KB/combobox/ExCheckedListBox.aspx
Table1:
ID1    Name
1    Name1
2    Name2
3    Name3
Table 3:
ID2   City
1    City1
2    City2
3    City3

Table2:
ID1    ID2
1        1
1        2
1        3

ExCheckedListBox Items:
Name1    Name2    Name3
Only "Name1" must be chcked when user navigate through records of Table1 in a RadGridView object.
Please help me.

Alexander
Telerik team
 answered on 26 Oct 2010
2 answers
173 views
after installing, Telerik  I run the sample scheduler. an exception is triggered (see Attach  files). the problem is in the component scheduler ,  others components   works very well . please help me  and sorry for my bad english.
Dobry Zranchev
Telerik team
 answered on 26 Oct 2010
9 answers
467 views
Hello,
I work with radGridView in unbound mode and every time I add a column I want to add a Tag to it, indicating the object that the column derives from. However, there is no such property as Tag for columns. Is there a possible way to achieve this, like binding a property or something like this? I tried to add the object's key in gridView.Columns[index].Name property, but this has as a result the uniqueness of the columns. Please help.

Thank you in advance
George K.
Svett
Telerik team
 answered on 26 Oct 2010
2 answers
175 views
Hi Guys,

I am using the document tab strip within which I have 2 tabs.The requirement is that the user cannot swap the tabs.
I prevented that by setting AllowDragDrop=false for the document tabstrip.
However when the user drags a tab, the tabstrip hints where the drop will appear by showing visual pointers in between tabs.How do I prevent  this scenario.


Any help would be appreciated.
I am using Visual studio 2008.
Nikolay
Telerik team
 answered on 26 Oct 2010
2 answers
281 views
We have a very odd requirement. The grid rows show existing data, which is not editable. It is provided for display purposes only. The user can then add rows. One of the columns is a combobox that is bound to a list of items.

The odd requirement is that the comboBox needs to provide a subset of the data when it is dropped down for editing.

Here is a scenario. The grid contains the following customer names and types:
  • Jones   Education Customer
  • Smith   Business Customer
  • Baggins Residentical Customer
  • Support System Customer

In order to get the customer type name to show up (instead of the customer type id) we need to bind the combobox to the full set of customer types. But when the user adds a new one, they cannot have the System Customer as an option in the list.

I am filtering out the items that we don't want and rebinding it. But the new list is ignored and the full list is populated.

Any tips?

My code is below:

Private Sub CustomerGridView_CellBeginEdit(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles CustomerGridView.CellBeginEdit
    ' The list of types available for selection is different from the list that is
    ' bound for display, so handle this here.
    Dim DropDownListEditor As RadDropDownListEditor = TryCast(Me.CustomerGridView.ActiveEditor, RadDropDownListEditor)
    If DropDownListEditor IsNot Nothing Then
        If (CustomerGridView.Columns(e.ColumnIndex).Name = "Type") Then
            Dim editorElement As RadDropDownListEditorElement = CType(DropDownListEditor.EditorElement, RadDropDownListEditorElement)
            Dim filteredList = OriginalList.
                Where(Function(d) d.IsSystem = false)
            editorElement.DataSource = filteredList.ToList
        End If
    End If
End Sub
Alexander
Telerik team
 answered on 26 Oct 2010
1 answer
184 views

I recently run into weird redraw problems with the Forms Designer on a Windows XP Tablet Edition PC. Turned out to be related to the hardware acceleration settings of the graphics card driver. I've read that WPF can have problems with some display drivers. Has anybody experienced the same, in particular together with the Telerik Controls?

Symptoms were:
    Controls do not draw correctly in designer mode
    Container Controls do not draw
    Cannot select the Task menu
    Controls are invisible while moving them around on a Form

Workaround for now is to disable some of the HW Acceleration Features, especially Direct Draw related Settings.

Regards
Erwin
Peter
Telerik team
 answered on 26 Oct 2010
1 answer
144 views

hi,

i have a problem in column header if i set field name contain "." or multi "_" did not display any data

please replay as soon as possible 

Emanuel Varga
Top achievements
Rank 1
 answered on 26 Oct 2010
2 answers
154 views
Hi,
I've downloaded ExCheckedListBox from CodeProject. the control extends the ability of CheckedListBox by adding DataBinding feature.I have 3 tables: Table1,2 and Table3. Here is data for them:
Table1
ID1    Name
1        name1
2        name2
3        name3
Table3
ID3    price
1        200   
2        300
3        400
Table2 (Joins Table1 and Table3)
ID1    ID3
1        1    
1        2    
2        3
Items of ExCheckedListBox are selected from Table 3.
When the user navigate records of Table1 in a RadGridView only the items which are related in Table2 must be checked. that is
when record with ID1=1 of Table1 is selected, then only price 200 and 300 must be checked in the ExCheckedListBox. Because in Table2, ID1=1 has two related records: 200(ID2=1) and 300(ID2=2) .
But how?
I've tested the Value property but I was not successfull.
Please guide me.
Emanuel Varga
Top achievements
Rank 1
 answered on 26 Oct 2010
7 answers
235 views
Hello,

I was wondering if there was a AllowClearCell property (or something similar). I don't want the user to right-click on a cell and select the Clear Value function on some on my cells. Is there a way other than the event CellValueChanged?

If the person wants to clear the value of a cell, I want him to click in it and edit the value to leave nothing in it. I want this mainly because I have code in the CellEndEdit and because I don't want the values in my ComboBoxColumn to be cleared (It must be one of the values in the list).
xclirion
Top achievements
Rank 1
 answered on 26 Oct 2010
4 answers
609 views
I have an editable grid where the first column is a combobox.

I am using gridView1.ClearSelection to clear any selection because the customer wants the grid to appear with no default selection.

However, the first cell of the first row is still selected.

I've tried everything I can think of, but nothing seems to be unselecting that first cell in the first row.

I attached a screen shot in case this is not clear.

Thanks!
Emanuel Varga
Top achievements
Rank 1
 answered on 25 Oct 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?