Telerik Forums
UI for WinForms Forum
1 answer
143 views
I have bind a bit column of database into windows grid. The column shows check box, after edit the boolean column, when I am going to save the data, the boolean cell return false, while I have check the cell.
The sample code is:

For i=0 to grdMenu.RowCount-1

    Dim PAdd as Object = Nothing
    PAdd = grdMenu.Rows(i).Cell("Add").Value
Next

My bolean column name is Add.

The PAdd returns flase, whether I have checked the cell as true. I have also tried like
PAdd = grdMenu.Rows(i).Cell("Add").CellElement.Value

Please help
Georgi
Telerik team
 answered on 06 Mar 2008
1 answer
232 views
Is it correct to place a theme-manager on a UserControl? I ask this because we have user controls that use Rad-Controls and the only way I could get the themes to apply is to put the thememanager on the Usercontrol itself - there is no 'form' when editing the controls.

This does work, however, when I make changes to the theme (via VSB or directly in xml) they are not applied. I have to REMOVE the reference to the embedded resource, and add it again - then the theme changes are working.

I noticed on a regular form I do not have to do this.

Any thoughts on this issue?
Nikolay
Telerik team
 answered on 06 Mar 2008
4 answers
177 views
Hi
I have enabled the overflow button on a tab strip and when selecting a tab from the dropdown list, the selected tabitem is moved to the start of the tabstrip control (position 0) rather than the tabstrip just being scrolled to the selected tab item and that being made visible.

Is there any way of preventing this from happening and just scrolling the selected tabitem into view?

Best regards

Marek
Boyko Markov
Telerik team
 answered on 06 Mar 2008
1 answer
101 views
Hi

Can I programatically switch off and on the direction arrow icons while dragging and dropping nodes. I am switching off their actions fine at DragEnding but it is confusing to the user that drag options such as the right arrow appear when in fact it does nothing. Can I also programatically switch the no-entry icon off and on as well?

These are just cosmetic as everything works well

Ian
Boyko Markov
Telerik team
 answered on 06 Mar 2008
1 answer
105 views
Is there anything equivalent to SystemColor, where I can select some pre-defined color from Telerik?
Martin Vasilev
Telerik team
 answered on 05 Mar 2008
3 answers
375 views

I am using the windows gridview control.Actualy i want to take a textbox events from gridview textbox column.I was used one example from telerik help like below for combobox.

Dim colName As String = radGvItemDetail.MasterGridViewTemplate.CurrentColumn.UniqueName

If colName = "ItemName" Then

Dim ComboEditor As New RadComboBoxEditor()

Dim ddlItemName As RadComboBox = TryCast(ComboEditor.HostedControl, RadComboBox)

ddlItemName.BindingContext = radGvItemDetail.BindingContext

Dim cell As GridComboBoxCellElement = TryCast(radGvItemDetail.CurrentCell, GridComboBoxCellElement)

ItemDs = DDLPopulate("SELECT ItemIntCode,ItemName FROM TB_Item_Master ORDER BY ItemName", "ItemName")

ddlItemName.DisplayMember = "ItemName"

ddlItemName.ValueMember = "ItemName"

ddlItemName.MaxDropDownItems = 8

' Use the RadComboBox data vitualization

ddlItemName.IntegralHeight = True

ddlItemName.BeginUpdate()

Dim comboitem As New RadComboBoxItem()

comboitem.Value = 0

comboitem.Text = ""

ddlItemName.Items.Add(comboitem)

ddlItemName.DataSource = ItemDs.Tables(0).DefaultView

ddlItemName.EndUpdate()

e.Editor = ComboEditor

If ddlItemName IsNot Nothing Then

AddHandler DirectCast(ComboEditor.HostedControl, RadComboBox).SelectedValueChanged, AddressOf ItemNameComboChange

End If

End If

By same like that what is the equalant code for gridviewtexbox column.

I was used below method but its not working.

Dim TextEditor1 As New RadTextBoxEditor

Dim txtItemName1 As RadTextBox = TryCast(TextEditor1.HostedControl, RadTextBox)

 Regards,
Sakthi

Georgi
Telerik team
 answered on 05 Mar 2008
1 answer
230 views
I have a ComboBox in my GridView. I have to fill it dynamically on form load. How can i get the Value of ComboBox on SelectedIndexChanged/SelectedValueChanged. Please post it some example.

Regards,
Sakthivel 
Georgi
Telerik team
 answered on 05 Mar 2008
1 answer
78 views
I set grd.Dock = DockStyle.Fill in panel with AutoScroll = true;  and filter textbox on the right will be visible over right scrollbar. i think you need rearange this filters...
Jack
Telerik team
 answered on 05 Mar 2008
1 answer
148 views
I have to create user permission list with this grid. Three columns as MenuId, MenuName and hirarchy. MenuId is just like a serial no, Menu Name is name of menu and hirarchy is the position of menu like 0, 0.1, 0.2, 1, 1.1, 1.2 etc.

I want to disply Menu name like group, so that admin person will able to give permission like ADD, EDIT, DELETE with checkbox and I will save this data into database and will varify at the time of loggin.

Please guide me.
Nikolay
Telerik team
 answered on 04 Mar 2008
1 answer
283 views

We are trying to get the Keyascii of Enter Key in RadTextBoxEditor. But we can't able to get that. See the Sample code below.

Private Sub radGvItemDetail_EditorRequired(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.EditorRequiredEventArgs) Handles radGvItemDetail.EditorRequired

If
colName = "txtItemName" Then

Dim txtItemNameEditor As New RadTextBoxEditor

e.Editor = txtItemNameEditor

If txtItemNameEditor IsNot Nothing Then

AddHandler txtItemNameEditor.KeyPress, AddressOf ItemNameKeyPress

End If

End If

End Sub

Private Sub ItemNameKeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)

If Asc(e.KeyChar) = Keys.Enter Then
.
.
.
End If

End Sub

Because we want to add a new row, by "Enter" Keypress  in GridViewTextBoxColumn

Regards,
Sakthivel

Jack
Telerik team
 answered on 04 Mar 2008
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?