Hi,
I have recently converted my application to Telerik UI. It was fine before conversion into Telerik but now, after installation on client side, they're complaining for very slow performance. Forms are taking time to load.
Can you please tell me why its happening? Any bug you have noticed in your current version?
Thanks
I've can change the size of the main checkbox dropdown, but I can't figure out how to change the size of the autocomplete dropdown. Here's what I've tried, along with a bunch of other stuff:
var itemWidth = 200;
var itemHeight = 36;
radCheckedDropDownList1.AutoCompleteMode = AutoCompleteMode.Suggest;
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.SuggestMode = SuggestMode.Contains;
radCheckedDropDownList1.DropDownListElement.ListElement.ItemHeight = itemHeight;
radCheckedDropDownList1.DropDownMinSize = new Size(itemWidth, (people.Count * itemHeight) + itemHeight);
radCheckedDropDownList1.DropDownMaxSize = new Size(itemWidth, (people.Count * itemHeight) + itemHeight);
radCheckedDropDownList1.DropDownMaxSize = new Size(itemWidth, (people.Count * itemHeight) + itemHeight);
RadCheckedAutoCompleteBoxListElement autoCompleteList = radCheckedDropDownList1.CheckedDropDownListElement.AutoCompleteEditableAreaElement.AutoCompleteTextBox.ListElement as RadCheckedAutoCompleteBoxListElement;
autoCompleteList.ItemHeight = itemHeight;
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DropDownSizingMode = SizingMode.None;
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DropDownMinSize = new Size(itemWidth, 400);
radCheckedDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DropDownMaxSize = new Size(itemWidth, 400);
Hi admin,
I want to rotate individual pages. Not radpdfviewer of rotation. I found individual page logic but exactly not correct . please see attach file.
Thanks
Moe
Hi Admin,
After RadPdfViewer1.LoadDocument , I want to default focus to page no 6. May I know how to do in winform.
Thanks
Moe
Hello,
I am developing one windows application. in one of the page i am using Telerik.WinControls.UI.RadGridView and added Edit and Delete button in grid. While first time my page appears i click on "Delete" button, it shows MessageBox.Show message with confirmation "Yes" and "No" buttons. while i click on No button it works as expected. While i click on "Edit" button it open new form in window and save and close that form. now rebind grid in "Edit" and "Delete" button. Now, if i click on delete button, it asks for MessageBox.show with confirmation "Yes" and "No" buttons. While i click on "No" button message box appear twice. while user clicks on "NO" we called "return". still its not working. Can anyone please help me out for this issue. Need help ASAP.
Thanks.
I have a custom visual item class derived from RadListVisualItem. My custom visual item is being created in the CreatingVisualListItem event, but the "Padding" property is ignored. I've tried Margin, as well, but no luck. My class is below. What am I missing?
public class CustomVisualItem : RadListVisualItem
{
DockLayoutPanel mainContainer;
StackLayoutElement leftColumn;
StackLayoutElement rightColumn;
LightVisualElement titleElement;
LightVisualElement photoElement;
private ImagePrimitive image;
public ImagePrimitive Image
{
get
{
return this.image;
}
}
protected override Type ThemeEffectiveType
{
get
{
return typeof(RadListVisualItem);
}
}
protected override void CreateChildElements()
{
base.CreateChildElements();
mainContainer = new DockLayoutPanel();
leftColumn = new StackLayoutElement();
rightColumn = new StackLayoutElement();
photoElement = new LightVisualElement();
titleElement = new LightVisualElement();
this.Children.Add(mainContainer);
mainContainer.LastChildFill = true;
leftColumn.Orientation = Orientation.Vertical;
leftColumn.Children.Add(photoElement);
photoElement.DrawBorder = true;
photoElement.Shape = new CircleShape();
photoElement.BackColor = Color.Transparent;
photoElement.BackColor2 = Color.Transparent;
photoElement.BackColor3 = Color.Transparent;
photoElement.BackColor4 = Color.Transparent;
photoElement.AutoSize = false;
rightColumn.Orientation = Orientation.Vertical;
rightColumn.Children.Add(titleElement);
titleElement.Padding = new Padding(50);
titleElement.AutoSize = false;
titleElement.DrawBorder = true;
titleElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders;
titleElement.BorderLeftWidth = 0;
titleElement.BorderTopWidth = 1;
titleElement.BorderRightWidth = 0;
titleElement.BorderBottomWidth = 0;
mainContainer.Children.Add(leftColumn);
mainContainer.Children.Add(rightColumn);
DockLayoutPanel.SetDock(leftColumn, Telerik.WinControls.Layouts.Dock.Left);
DockLayoutPanel.SetDock(rightColumn, Telerik.WinControls.Layouts.Dock.Right);
leftColumn.NotifyParentOnMouseInput = true;
rightColumn.NotifyParentOnMouseInput = true;
titleElement.NotifyParentOnMouseInput = true;
photoElement.NotifyParentOnMouseInput = true;
}
}
I am having trouble just trying to get a user's currently selected cell when using this control.
https://docs.telerik.com/devtools/winforms/controls/spreadsheet/features/ui-working-with-selection.html
from this page I can't even get this to work with my control (Selection seems to not be found so I Underlined and Bolded it)
Selection selection_2 = this.radSpreadsheet.SpreadsheetElement.ActiveWorksheetEditor.Selection;
selection_2.Select(new CellIndex(0, 0), false);
yes I have all the required References added to my project and form.
Hi everyone!
I have a couple of columns containing numbers which some of them are zeros (0).I use the following code to format grid cells:
for
(
int
i = 1; i < 6; i++)
{
GridViewDecimalColumn myCol =
this
.Grid.Columns[i]
as
GridViewDecimalColumn;
myCol.FormatString =
"{0:###,###,###,###}"
;
}
As you can tell this code turns this value: 1234567 into this: 1,234,567
But my problem is that when this formatting is applied, since some of my cells contain the value "0", all of them will be blank and empty. It's like nothing exists in that cell but if I remove the formatting, all zeros are again where they should be.
I believe this problem is probably because of the type of "GridViewDecimalColumn" class.
What's your suggestion?