Hello,
I have Raddropdownlist control with list of items. Some of the items have the same display value but whole objects are different. DropDownListElement.AutoCompleteSuggest.SuggestMode property is set on SuggestMode.Contains value. When I use filter for descripted situation I get list of items (number of items is correct) but all position on filtered list is pointing on the same item (selected indexes alsow are the same). Could you tell my what can I do to get correct filtering result for this situation?
All the best
We were using the built-in windows DateTimePicker for all of our dates, and have changed to using RadDateTimePicker, and i am having a few issues/questions.
1. We have Overrides setup on KeyPressEventArgs to trap the ENTER key which then sends a TAB - so our users can just hit enter to move to the next field instead of being required to hit tab (this works on all data entry fields except raddatetimepicker).
2. The user is required to type in the full year. We have the format set to Short. Using standard windows DateTimePicker, the user could type 22 and it would make it 2022. But, if the user types 22 now, it just puts the 22 in the year. So if the year was 2003 and you type in 22, the year now becomes 0322. We want the year to be entered as 2 digits and use the current century. How would we do that?
3. We don't want the user to be able to clear out the date completely, we want a date to be entered. Windows didn't allow this (we never set min date values). I even set the NullDate to be "1/1/1901" and that made it when i "cleared out" the date it displayed 1/1/0001.
Thanks for your help.
By default, RadSpellChecker offers one dictionary: English (en-US). All other dictionaries are provided by our customers and can be downloaded from the links below (ordered by culture code):
Afrikaans (South Africa) (af-ZA)
Bulgarian (Bulgaria) (bg-BG)
Czech (Czech Republic) (cs-CZ)
Danish (Denmark) (da-DK)
German (Switzerland) (de-CH)
German (Germany) (de-DE)
English (Australia) (en-AU)
English (Canada) (en-CA)
English (United Kingdom) (en-GB)
English (United States) (en-US)
Spanish (Spain) (es-ES)
Persian (Iran) (fa-IR)
French (Canada) (fr-CA)
French (France) (fr-FR)
Hebrew (Israel) (he-IL)
Hungarian (Hungary) (hu-HU)
Italian (Italy) (it-IT)
Norwegian, Bokmal (Norway) (nb-NO)
Dutch (Netherlands) (nl-NL)
Norwegian, Nynorsk (Norway) (nn-NO)
Polish (Poland) (pl-PL)
Portuguese (Brazil) (pt-BR)
Portuguese (Portugal) (pt-PT)
Romanian (Romania) (ro-RO)
Russian (Russia) (ru-RU)
Slovak (Slovakia) (sk-SK)
Slovenian (Slovenia) (sl-SI)
Swedish (Sweden) (sv-SE)
Thai (Thailand) (th-TH)
Ukrainian (Ukraine) (uk-UA)
Please note that some of the dictionaries can be incomplete and they are not supported by Telerik. If you create a new properly working dictionary and share it with our community, we will gladly award you for your work.
Hi
After fetching information from the database and performing calculations, I want to add the information to the data grade view.
I have already made the columns based on the data type
I get this error when running the program:
"Rows can not be add programmatically added to the rad radgridview's Rows collection when the control is data-bound"
This error does not always occur and it happens by accident
Whatever I searched for, I did not find the reason
Maybe my solution to this is wrong
Thank you in advance for your support
This code snippet is inside a loop and may run hundreds of times :
var item = new GridViewDataRowInfo(dailyGridView.MasterView);
if (dailyGridView.Columns.Any(c => c.Name == "Code"))
item.Cells["Code"].Value = personelInfo.First().Code;
if (dailyGridView.Columns.Any(c => c.Name == "FirstName"))
item.Cells["FirstName"].Value = personelInfo.First().FirstName;
if (dailyGridView.Columns.Any(c => c.Name == "LastName"))
item.Cells["LastName"].Value = personelInfo.First().LastName;
if (dailyGridView.Columns.Any(c => c.Name == "Date"))
item.Cells["Date"].Value = PersianDateTime.FromDateTime(report.Date).ToShortDateString();
if (dailyGridView.Columns.Any(c => c.Name == "DayName"))
item.Cells["DayName"].Value = PersianDateTime.FromDateTime(report.Date).DayName;
And more line ...
dailyGridView.Rows.Add(item);
I'm using the RadSpreadProcessing library to import Excel files, process them, and export back out.
I come across an issue when cells have complex formulas.
These complex formulas have dependencies on other cell values which those values get set (SetValue(...) method) while processing the worksheet after its been imported.
When I try to get the cell value of the complex formula using this call:
cellSelection.GetValue().Value.GetResultValueAsString(cellSelection.GetFormat().Value)
it returns me a value of #NAME?.
When I try to get the value of the complex formula using this call:
cellSelection.GetValue().Value
I noticed a ResultValueType of Error.
But when the workbook is exported back out the cells do not contain #NAME? in them. They contain the correctly auto-calculated values.
In the attached ComplexFormulaIssue.PNG, Row 1 column A value gets set while processing the worksheet using the SetValue(...) method (set it from NX: 12 to 12 for example).
Row 1 Column B formula depends on Row 1 column A value (which works fine since it's an easier formula I guess. No issue here).
Row 1 Column C and D are normal text values.
Row 1 Column E has a complex formula that has dependencies to all the other cell values (this is the one that gives me issues).
I attached 2 other PNGs as examples of formulas I used in Row 1 Columns B and E.
In our application, we were using the standard windows CheckBox.
We have an Overrides onkeypress to trap the ENTER key and send a TAB (so enter moves to the next field on the form). This works great, and for the user to toggle a checked/non-checked state, the space bar is hit.
When using the RadCheckBox, the space bar still changes the checked state, but also when i hit ENTER, it changes the checked state and moves to the next field.
I do not want it to change the checked state on the ENTER, i only want it to move to the next field.
Thanks.
Hi
I need floating labels in RadTextBox and RadDropDownList using telerik winforms.
Telerik has this feature implemented in their Floating Labels in kendo.react library for various controls.
However I'm using Telerik UI for Winforms R2 2020 which does not support this. In R2 2021 Telerik has added support only for floating labels Floating Labels in RadTextBox/RadTextBoxControl but not for RadDropDownList. I can't upgrade to R2 2021.
I need some customization tips to implement floating labels in both RadTextBox and RadDropDown using Telerik Winforms
Hi!
I think we have a problem with Telerik RadGridView.
We are using RadGridView with several columns (GridViewTextBoxColumn and GridViewDecimalColumn).
Every column has a concrete header text which is localized.
Every time we have tried adding a new column somewhere in the middle of the collection, Telerik RadGridView shifts all the columns that follow the inserted column by one place. It means that we have to change the translation for those shifted columns after each addition, and it is very frustrating and sometimes our translation was messed up. The same situation is with removing columns.
Do you have any knowledge about the described behavior?
Do you know how can I avoid shifting columns, and thus changing the translation?
Thank you for the answer in advance!