I'm using the DockWindow on an MDI WinForms app. The Customer Search form is the first one to open.
When I open another form I'd like it to appear to the right of Customer Search. For some reason its appearing to the left.
The code below shows how I open it. Setting the MDIParent adds it to the DocumentWindows collection.
How can I get the Account form to appear to the right of Customer Search. (And any forms opened after that also must appear to the right.)
FormAccount? form = null;
foreach (HostWindow window in this.dock.DockWindows.DocumentWindows)
if (window.MdiChild is FormAccount)
{
FormAccount formCandidate = (FormAccount)window.MdiChild;
if (formCandidate.BranchId == GlobalServices.Instance.ActiveBranchID && formCandidate.AccountId == (accountId == null ? GlobalServices.Instance.ActiveAccount.NamesId : accountId))
form = formCandidate;
}
if (form == null)
{
form = accountId == null ? new FormAccount(GlobalServices.Instance) : new FormAccount(GlobalServices.Instance, accountId);
form.AccountId = GlobalServices.Instance.ActiveAccountID;
form.MdiParent = this;
form.SetImageAndTitle(ETitleFormat.Account);
form.AccountFormType = EAccountFormType.Account;
form.ControlBox = false;
form.LaunchedFromIPC = launchedFromIPC;
if (sender == null)
this.WindowState = FormWindowState.Maximized;
form.Show();
}
HostWindow hw = App.MainForm.dock.GetHostWindow(form);
if (hw != null)
dock.ActivateWindow(hw);Thanks
Carl

I may have missed someone already talking about this - but for those of us who like to give our users the ability to select their own "Theme" one ugly issue I'm constantly having to deal with is: When the user changes their theme, I have to manually change the "look" for every Splitter in my application (400+ WinForm classes, there are probably a few thousand "Splitters")
Is there some technical reason there's no "RadSplitter" in the Telerik WinForms library and if there is not, I'd like to suggest that this be added. It's a super-commonly used WinForm control, I'm a little shocked it's not already present in this spectacular WInForms UI Library!
p.s. using a SplitContainer is often not possible because of downward compatibility with the older app suits but does make a nice alternative for newer forms.
Kindest regards,
LK

Hi there,
I would like to add controls to the navigation portion of the Navigation View if possible. I can place controls in front of the Navigation View (see attached image) but I was hoping to be able to add a panel above or below where the Navigation buttons are that will collapse if the Navigation VIew button section is collapsed. Is this at all possible or should I simply place controls in front of the Nav View as I have put in the image.
Thanking you in advance
Simon


i add 3 RadCollapsiblePanels inside a SpitPanel as follwing shown
according to the top two RadCollapsiblePanel's height
i can not add add RadLavel into RadCollapsiblePanel3
because i can not see the container of RadCollapsiblePanel3 to add radlabel
how can i do ?

Hi, I have a requirement to have multiple icons in a cell, I have created a custom GridViewDataColumn and a GridDataCellElement
My current implementation has 2 issues, the icons don't appear until you enter or leave a row (in which case only those rows icons get displayed), or when you click on the column (in which case all the visible rows display their icons.
The second issue is that, since I can scroll horizontally, when scrolling right, the cell locations that end up under the location of my icons cells, when you scroll left again, they appear empty, and you need to reload the Datasource or scroll multiple times vertically for them to appear again.
What I'm doing right now is overriding the ArrangeOverride, to locate the icons on the cell with Children[i].Arrange, and creating the icons overriding SetContent and OnCellFormatting and creating LightVisualElements there, calling Children.Clear() at the beginning of the methods.
I'll try to post an example later but has anyone had an issue like this before?


How to set RadRichTextEditor 's font and size at Design Time ?
Or
Using Customization's Theme ?

Hi, Telerik Team.
I’m using Telerik UI for WinForms 2015 Q1 with a custom theme, and I want the text color to remain black even when the control is disabled. Currently, when Enabled=False, the text automatically becomes gray.
My goal is for the text color to be black in both Enabled and Disabled states.
This already works for RadTextBox, using the HostedTextBoxBase approach from the forum.
However, for the following controls, the text still becomes gray when disabled:
RadDropDownList
RadDateTimePicker
I already modified the Disabled state in Visual Style Builder and updated elements like RadDropDownTextBoxElement and TextBoxFill(Fill Primitive). I’ve attached my .tssp file.
Could you please review the .tssp and let me know if there is any incorrect setting, or if I’m modifying the wrong element to keep the disabled text color black?
Also, if there is a recommended way to achieve this without using Visual Style Builder (for example programmatically), I would appreciate your guidance.
Thank you.
