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

I am upgrading all controls of my C# winform app to Telerik. I couldn't find drawitem event in RadDropDownList.

Here is the code of combobox drawitem event:

private void cbMyCompanyList_DrawItem(object sender, DrawItemEventArgs e)
{
 
e.DrawBackground();

DataRowView drv = (DataRowView)(cbMyCompanyList.Items[e.Index]);

int CoID = (int)(drv["CompanyID"]);
string CoNum = (string)(drv["CompanyName"].ToString());

...........

using (SolidBrush sb = new SolidBrush(e.ForeColor))
 {
      e.Graphics.DrawString(..., e.Font, ..., ...);
 }
}

How could I translate this to Telerik?

Thanks in advance!!

George
Telerik team
 answered on 17 Feb 2014
1 answer
293 views
Is it possible to get the name of the printer that the user selected when printing a PDF document using the RadPdfViewer?

Thanks in advance
Dimitar
Telerik team
 answered on 17 Feb 2014
1 answer
247 views
I have some questions about the RadRichTextBox.

How do I data bind the content of the RadRichTextBox to a datatable, and how could this be accomplished?

What is the most appropriate field type in an sql database for the content to be stored in?

If I cannot data bind to a datatable then how can this functionality be created?

Thanks in advance
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Feb 2014
1 answer
96 views
I have followed the following guide
http://www.telerik.com/help/winforms/chartview-features-drill-down.html

I have then edited the code following the guide.

However when i go the grid view and click on it noting happens am i suppose to link the radchartview to a click method?
Dimitar
Telerik team
 answered on 14 Feb 2014
2 answers
117 views
On most of my grids the horizontal scroll bar works correctly, but on the ones where I set the ViewDefinition to a HtmlViewDefinition it does not seem to be working.  I force the scrollbar to always show, but it does not let me scroll over to the columns off of the right side of the grid.  The scrollbar only lets me scroll a tiny bit (about half a column) to the right despite there being a dozen or more columns off of the right side of the grid.  No matter how I resize the window the scrollbar "bar" takes up about 98% of the space with about 2% "empty" space. 

Do you have any suggestions on what I can look at that could cause this?
George
Telerik team
 answered on 14 Feb 2014
0 answers
94 views
I need the value of current cell's immediate Parent Row Index but this has been depreciated. So how do I get it?

int currentParentIndex = cell.RowInfo.ParentRow.Index;
Priyam
Top achievements
Rank 1
 asked on 13 Feb 2014
1 answer
55 views
Hi,

I'm developing an application similar to the Mail application. I used AutoCompleteBox for TO List and i want to store selected items values in db. But i didnt find Value field in Databinding Properties. How can store seleceted values in db and restore back?

Thank you.
Dimitar
Telerik team
 answered on 13 Feb 2014
8 answers
295 views
hello, well I tested the demo of your product working with the listview control by the database
radlistview1.DataSource = dt
dt.Columns radlistview1.DisplayMember = (1). ToString


and post pictures in the ItemDataBound event to perfect the problem there is that I require key press selects the first item that Start with good lyrics that I hope your help thanks.


I tried this and nothing


For i = 0 To ViewVideos.Items.Count - 1
             If ViewVideos.Items (i). Text = "sauce" Then
                 ViewVideos.SelectedIndex = i

                 MsgBox (i)
             else
             End If
         Next

regards
George
Telerik team
 answered on 13 Feb 2014
2 answers
69 views
Hi, this is a little potential bug I found. Could you please confirm? 
Here's the setup: a RadGridView with two columns, named column 1 and column 2 (index 0 and 1) and an event handler method on the SortChanged event.
Use the column sort functionality in the UI on column 1. Then do it again for column 2 but break in the SortChanged event handler method.
The new item now states that the sortdescriptor is for column 1 while the old item now states that the sortdescriptor within is for column 2. That is to say, the new item and old item seem to be reversed? 
Is this how its meant to be or am I viewing this the wrong way?
Stefan
Telerik team
 answered on 13 Feb 2014
4 answers
132 views
Hi,

I have a few datatables (as children) on the first level.
How to show all the tables in the foreground (without the tabs)?
Stefan
Telerik team
 answered on 13 Feb 2014
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?