Telerik Forums
UI for WinForms Forum
1 answer
108 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
112 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
400 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
240 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
80 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
158 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
295 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
1 answer
141 views
I have two column one is text box column and another is Boolean column, I want to stop check activity coresponding the text box column value, is it possible, if yes how?

Please advise me.
Georgi
Telerik team
 answered on 04 Mar 2008
1 answer
136 views
i want to create the a text/data scroller same as on
http://www.news-scroller.com/

but on Win Forms. I want the same effect on the DataGridView rows. i.e vertical scrolling automatically.
can i do this using Telerik WinForms Controls? if yes, how?

thnx
Dwight
Telerik team
 answered on 04 Mar 2008
1 answer
98 views
Hello, we are using the visual style builder for the RadTreeView and I am noticing two distinct TreeNodeUI elements under the RadTreeViewElement - both of these elements seem to affect the rendering (at least in the style builder), so I have to copy every single style change to both Nodes..  is there something I am missing here, does the extra node have some kind of state on it that I cannot see through the style builder?

It's not a huge problem but has so far wasted alot of time due to manual copying of properties.

Thanks.
Mike
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
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
ScrollablePanel
DataEntry
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?