Telerik Forums
UI for WinForms Forum
1 answer
444 views
Heloo, 
I have added a combo box column programmatically with a static data source.
Now i need that whenever i select any of the item a specific function should be invoked.
I have tried with different events but didnt found a solution.
Please Help
var dg = new GridViewComboBoxColumn
               {
                   DataSource = new[] { "Edit", "Delete" },
                   HeaderText = "Action",
                   Name = "col_Action",
                   Width = 80,
                   AllowResize = true,
                   FieldName = "gv_cmb_Action",
                   SortOrder = RadSortOrder.None,
                   AllowFiltering = false,
                   AllowGroup = false,
                   AllowSort = false,
                   ReadOnly = false
               };
 
            if (gv_Criteria.ColumnCount != 9)
            {
                gv_Criteria.Columns.Insert(8, dg);
            }
Nikolay
Telerik team
 answered on 10 Sep 2013
1 answer
232 views
Hi,

I'm currently working with implementing new chartview in winform application.
I activate the trackball to show informations like in this sample 
http://www.telerik.com/help/winforms/chartview-features-trackball.html

In this sample, informations are displayed in color, each on a new line and with the LineSeries name.

X - 3: 23
Y - 3: 7

But when I copy the same code in my solution, I view
"X 23 Y 7"

Is there an option to set the default text format ?
If not, do you have sample for using TextNeeded event to build this text formated with axes information ?

Thanks
George
Telerik team
 answered on 10 Sep 2013
2 answers
288 views
Hi,

I've run into an issue with underlining a text span that is in a table cell. When I create the content of the cell by doing the following:
row = New TableRow
cell = New TableCell()
p = New Paragraph()
sp = New Span()
sp.Text = "Benefit Start"
sp.UnderlineType = UI.UnderlineType.Line
p.Inlines.Add(sp)
row.Cells.Add(cell)
table.Rows.Add(row)

The underline extends past the final character. See the attached 'underlineissue_richtextbox.jpg' for an example, this jpg also shows the same text/paragraph added to the section outside of a table and it works fine.

The problem is even worse when I export the document to a PDF as all the underlines are too wide. See the second attachment for an example.

Is there a work around for this issue or am I doing something wrong?

 

 

 

 

 

Rob
Top achievements
Rank 1
 answered on 09 Sep 2013
13 answers
924 views
Hi,

How can I simulate read-only on a RadCheckBox? the Enabled property changes the text as well.

Thanks,
- jorge
Peter
Telerik team
 answered on 09 Sep 2013
3 answers
161 views
Hi,

I have a RadGridView that has a GridViewComboBoxColumn containing 40,000+ values through data binding. Viewing the combobox values in every cell under that column is taking a few seconds. I think the reason for this sluggishness is because it loads up the values only when a cell is clicked. So I'm wondering if there's any way to optimize this behavior. 

Thanks!
George
Telerik team
 answered on 09 Sep 2013
3 answers
1.6K+ views
Hi,
i have two excel document and one of them is new and the other one is old. i must compare theese and add new sheets to the other excel with c#.

I want to compare two excel files in c#, i learned how can import and export from excel to datagrid and from datagrid to excel. but i must learn excel sheets import to datagrid or excel row by row.

how can i do and where can i start i dont know?

thanks.
Peter
Telerik team
 answered on 09 Sep 2013
5 answers
951 views
Hi,

I have a form that allows the user to change from and to date.
But if the user changes the "to date" to an illegal date (defined by the database) the user will get an message where he can override this error or not. If hi does not override it, i want the date to be reset (cancel the valuechanging) event. 
But the value in the datetimepicker stays at the date selected by the user regardless of me doing cancel = true or not. 

How can i achieve this functionality without triggering the change event once again?

Regards
Svein Thomas
Peter
Telerik team
 answered on 09 Sep 2013
1 answer
136 views
I have been able to modify the other aspects of the Title Bar using the Visual Style Builder, but I cannot find the properties/elements/source files to change the appearance of the Minimize/Maximize/Close buttons. How do I alter these? The attached image shows how the default ones are a mismatch with the visual style I am trying to create.
Dimitar
Telerik team
 answered on 06 Sep 2013
1 answer
175 views
I am trying to format a GridViewTextBoxColumn that contains a date using format string {0:MM/dd/yyyy}

However its ignoring the format and the 12:00 am is displaying behind the date.

How do i get a GridViewTextBoxColumn to format dates? 

Thanks.

Kim
Nikolay
Telerik team
 answered on 06 Sep 2013
1 answer
142 views
Hi,

I have a form that there are lots of toolwindows. Those toolwindows can be tabbedwindows or floatingwindows. So, when I change which one is activated I need to do an action with the control inside the window, but I'm having problems how can I do an action with this control when I activate this toolwindow? I couldn't find the OnActivated event.
Nikolay
Telerik team
 answered on 06 Sep 2013
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?