Hi folks, this is not a Telerik bug specifically - its a bug (I think) with the underlying base Checkbox and Radiobutton controls that I believe the Telerik controls inherit. Anyway let me describe the issue and maybe someone out there knows why this is...It's not super important its just one of those things that's bugged me for years (this bug has been around since the very first release of Visual Studio.)
I build business to business desktop applications. That means there are a ton of data-entry forms and if you pay any attention at all to quality UI (if you didn't you wouldn't be using Telerik controls!) you like to have your data-entry form elements line up. It's easier on the eyes and far easier for Data-Entry people to keep track of their place. Anyway lets pretend you have a form with Last Name, First Name text boxes and Are you a Supervisor checkbox.
You're not going to just dump the text boxes on the form - you'll have a label preceding the text boxes and a lot of folks (myself included) you'll use a colon to separate the label from the Textbox and to give you something to align to like this:
First Name: [__________]
Last Name: [__________]
Supervisor: [X]
FYI. What I've done in text above isn't possible with two labels, two text boxes and one check box. Don't believe me? Try it.
See the default (for whatever reason) for Checkboxes (and radios for that matter) is to put the data-input portion of the control BEFORE the text so your checkbox would look like this: [X] Supervisor:
So now your data-inputs no longer line up...no problem! Just change the RightToLeft property from false to true right? *wrong!*
That's the bug. If you set RightToLeft = True your checkbox would like exactly like this:
:Supervisor [X]
Yup...that's not a type. The colon gets shoved in front of the text for some odd reason and this is the thing that's been bugging me for over a decade and I've never found anyone who can give me a reasonable answer as to why in the heck Microsoft would do that. BTW the Colon doesn't matter. You can use any punctuation mark or multiple combinations of them - if they're at the END of your "Text" property, they'll get shoved to the front of the line.
I've long ago given up trying to do the above. Instead I use THREE labels, two text boxes and a Checkbox with no Text property then I add the code in for clicks and mouse-overs etc on the label to trigger the same event for the check box.
Again, its silly I know! I'm a new, huge fan of Telerik and thought maybe someone out there knows whats up with this and can reply.
Thanks everyone :)
-C

Hi!
I'm trying to add a context menu for the RadTokenizedTextItem items in the RadAutoCompleteBox.Items collection. Something like the mockup-image i attached to this post.
The RadAutoCompleteBox itself has both a ContextMenu and a RadContextMenu property, but the RadTokenizedTextItem have none of these.To be clear: I want to be able to right-click an individual token in the RadAutoCompleteBox, click an option in the menu, and then catch some kind of event that includes information about that token in the eventargs. Is this even possible? If so, how would I go about doing this?
I'm using UI for WinForms.
Thanks,
Aleksander


Related screenshots:
Scr1: http://prnt.sc/c4t86p
Scr2: http://prnt.sc/c4tazq
Description:
1) if AddNewRow.True and AddNewRowPosition.Top the top line of cell selection rectangle is eated by half;
2) if SelectionMode.CellSelect the bottom line of cell selection rectangle is eated by half.

I'm trying to use the ExportToCSV function and I can see it works ok with one of my grids, one that was created with the Designer. but when trying to generate a GridView on the fly it'll export a blank CSV, even when the grid's DataSource is filled with records.
01.private void radButton1_Click(object sender, EventArgs e)02.{03. RadGridView tempGrid = new RadGridView();04. 05. GridViewTextBoxColumn firstName = new GridViewTextBoxColumn();06. firstName.FieldName = "fname";07. tempGrid.Columns.Add(firstName);08. 09. GridViewTextBoxColumn lastName = new GridViewTextBoxColumn();10. lastName.FieldName = "lname";11. tempGrid.Columns.Add(lastName);12. 13. GridViewTextBoxColumn emailAddress = new GridViewTextBoxColumn();14. emailAddress.FieldName = "email";15. tempGrid.Columns.Add(emailAddress);16. 17. ContactsEntities csvList = new ContactsEntities();18. tempGrid.DataSource = (from c in csvList.CSVList select c).ToList();19. 20. ExportToCSV exporter = new ExportToCSV(tempGrid);21. string fileName = "D:\\ExportedData2.csv";22. exporter.RunExport(fileName);23.}| cmbNewTipoUtente.ValueMember = "ID_TipoUtente"; |
| cmbNewTipoUtente.DisplayMember = "Designacao"; |
| cmbNewTipoUtente.DataSource = dt; //<- DataTable |
| cmbNewTipoUtente.DataBindings.Add("SelectedValue", mNewTipoUtente, "ID_TipoUtente", true, DataSourceUpdateMode.OnPropertyChanged, null); |

VisualStudio10/c++cli/Telerik_UI_For_WinForms_2016_1_216_Dev.msi
Created a gridview with visible filters row.
When clicking on some filter the selection goes out from row. How could I make the selection stay on 'current row' ?

The following code doesn't work:
1.string newDate = "...";2.grid.CurrentRow.Cells["StartDate"].Value = newDate;
Hi Team,
In the Telerik article for Custom Nodes in Treeview, the root node and the child nodes contain the same controls i.e image,label,line,button.
Please provide code for displaying different controls in the root node and child nodes. Eg: image,label,line,button in Root Node, TextBox in child node in level1 and checkbox in child node in level 2
Thanks,
Swarupa
