Telerik Forums
UI for WinForms Forum
2 answers
237 views

I would like my users to red mark images before sending to us.What I am looking for is where I would have buttons above the image for:

Draw Line
Draw Circle
Draw Rectangle
Draw w/Pen

And each would be preset to width of 2, color red. I do not want to use your Draw Dialogs at all.

I would also want to have Undo/Redo available without using your tool palette.

Save I can handle already since you have the SameImageAs method.

How can I do this please?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jun 2019
2 answers
119 views

Hello Telerik Community , I just moved from devexpress to telerik and I can say it's really amazing for winforms.

I have some questions about licensing to make sure I don't get in trouble for copyright laws.

 

I'm developing an open-source app which is a 3D modeler and I used Telerik Rad Controls for Winform Trial to build GUI.

So here's the first question , Is it OK if I publish my app source in git-hub when it's using telerik trial version?

 

And second question , Can I share trial assemblies downloaded from official telerik website ?

 

In this case users and developers who use my app get nag screen and they need to buy full version of telerik right ?!

So it's OK to do that ?

 

Regards,

Mike Cell

Mike
Top achievements
Rank 1
 answered on 22 Jun 2019
2 answers
181 views

I wish to programmatically select the "Basic" Colors Tab when the colorbox is opened, without hidding the other tabs

Thanks in advance

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 21 Jun 2019
1 answer
160 views

Hi,

 

Is it possible to add a series of check boxes to each header? I would like them to appear directly underneath the date.

 

Thanks

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Jun 2019
30 answers
1.3K+ views
Hi,

Is it posssible to add additional controls such as a radCheckbox to the 'editAppointmentsDialouge'?
I need to implement a way of marking appointments as confirmed/not yet confirmed.

Regards

Dave
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jun 2019
1 answer
125 views

I have a gridview with a checkbox column. When the checkbox is checked, I would like to immediately perform some validation and cancel the check if the validation fails. I would like this to happen immediately and not when the user leaves the cell. 

I have set the editmode of the column to onvaluechange and now the CellValueChanged event fires as soon as the checkbox is checked. I can perform validation there and show a messagebox immediately if the validation fails. However if I uncheck the textbox from the CellValueChanged event, it doesn't take affect until the user leaves the cell.

I've tried using the CellValidation event but it doesn't fire until the user leaves the cell. 

How can I uncheck the checkbox and have it take effect immediately, without the user having the leave the cell?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jun 2019
3 answers
338 views

I have a RadGridView using the VisualStudio2012Light theme which is exactly the style I want - I don't want anything to change when it comes to that at all, not the headers, summary rows, add new row, etc.

I have some columns with WrapText enabled so they will stretch and auto size their parent rows where needed if AutoSizeRows is enabled.

Now the problem comes in when AutoSizeRows is enabled. All non-data rows resize as well, breaking whatever heights were set as part of the theme. For maintainability I don't want to have to add explicit overrides/adjustments for heights in case the theme changes at a later stage. I am very happy with the theme and only want the rows to stretch in size and to never shrink below what the theme dictates.

I'm using 2016 Q1 and am battling to find the correct event and property combinations to only allow my data rows to resize - I figured that preventing autosizing of non-data rows is probably the cleanest fix for now I don't know if there is any request perhaps to prevent AutoSizeRows from shrinking already themed heights?

I've tried using the CreateRow event but can't figure out how to change enable/disable from there. The GridViewCreateRowEventArgs object has a RowElement property which hasn't been instantiated yet since the row doesn't exist. Must I instantiate that myself to set AutoSize to false? How would I create a default RowElement without changing anything else but that? If I can't use e.RowElement, how do I use e.RowInfo to set AutoSize to false?

I've tried using the RowFormatting event but to no avail.

 Any assistance on this would be greatly appreciated.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Jun 2019
2 answers
115 views

Hi

I want to change the header height in scheduer, but i cant figure out how.

It is scheduer in winforms.

 

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Jun 2019
14 answers
1.6K+ views

Hi,
I have a gridview with cells bound to a datasource. In addition I added a checkboxcolumn as follows:

 

this

 

.radGVMeldinger.MasterGridViewTemplate.Columns.Add(new GridViewCheckBoxColumn());

I want this grid not editable, only the checkbox.
I made the following code snippet:

 

private

 

void radGVMeldinger_CellClick(object sender, GridViewCellEventArgs e)

 

{

 

    if (e.RowIndex >= 0)

 

    {

 

        if (this.radGVMeldinger.MasterGridViewTemplate.Rows[e.RowIndex].Cells[12].Value.ToString() != "True")

 

        {

            radGVMeldinger.MasterGridViewTemplate.Rows[e.RowIndex].Cells[12].Value =

true;

 

        }

 

        else

 

 

 

 

        {

            radGVMeldinger.MasterGridViewTemplate.Rows[e.RowIndex].Cells[12].Value =

false;

 

        }

    }

}

 

Everything works fine, unless the fact that when I click the checkbox column this event doesn't fire.
This event fires when I click on every other column.
Has anyone a solution?
Regards,
/Henk

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jun 2019
1 answer
230 views

Lets say I added a row, and a required field is missing, so I alert the user, I want to keep the values the same, but after the alert values disappear. Here is the code, how i tried to return values

 

01.if (!String.IsNullOrEmpty(newItem.stCountryName))
02.                dr.Cells["column1"].Value = newItem.stCountryName;
03.                //((CountryTable)dr.DataBoundItem).stCountryName = newItem.stCountryName;
04.            if (!String.IsNullOrEmpty(newItem.stCountryCode))
05.                ((CountryTable)dr.DataBoundItem).stCountryCode = newItem.stCountryCode;
06.            if (newItem.nCodeLen != null)
07.                ((CountryTable)dr.DataBoundItem).nCodeLen = newItem.nCodeLen;
08.            if (newItem.nRegionID != null)
09.                ((CountryTable)dr.DataBoundItem).nRegionID = newItem.nRegionID;
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jun 2019
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?