Telerik Forums
UI for WinForms Forum
1 answer
155 views
Hello,

i fill the list once in the keyDown-event because the list is retrieved from a server. So i load the list when the user first presses a key. But when i set the DataSource-Property of the RadDropDownList, the text is cleared. Any solution for that problem?

Regards

Nico
Peter
Telerik team
 answered on 18 Dec 2012
1 answer
189 views
Hello,
I'm adding a RadTitleBar to floating windows using the RadDock FloatingWindowCreatedEvent and then removing the floating window border through the FormBorderStyle property. However, everything I have tried so far results in a RadTitleBar that doesn't allow me to drag on it to move the window (although the buttons work correctly). Is it possible to get the RadTitleBar working with floating windows in this way, and if so, how?

Thanks!
Julian Benkov
Telerik team
 answered on 18 Dec 2012
2 answers
132 views
Hi guys,
beforehand, i use my radtreeview without binding it to another object.
It works very nice, and i also use drag & drop facility, is very userfriendly.
No additional code needed to use this drag & drop.

and then, i use a radtreeview and bind it to datatable. the datatable has hierarchy inside it.
I use parentmember and childmember property and it works very nice.

but, when i try to use drag & drop between nodes, it becomes weird.
e.g : 
i've 5 node, A, B, C, D, E
when i try to move node C after the node A (become the second node), it move to the last node (after E).
the new position not exactly what i want.

i open the Telerik demo application for Winforms, with the chapter Treeview/Self Referencing, and i also find the same condition with my situation.
can anyone explain me about this ?

thx alot for your attention, sorry if my english is not good enouh....
Howard
Top achievements
Rank 1
 answered on 18 Dec 2012
3 answers
155 views
Hi,

Your help manual said "You need not call merge method if you want to use menu merge in a MDI application. RadMenu automatically discovers that it is placed in a child MDI form."
 But, RadDock in my application can not merge child menu atumatically.
Please, show me how to merge menu of child form in menu of parent form.

Jaehong.
Boryana
Telerik team
 answered on 17 Dec 2012
3 answers
140 views
Hello,

When you assign negative number to the textbox control  and set the property RightToLeft to true,
the minus sign appears in the right side instead of the left side as you can see at the attach image.
How can I fix it?

Thanks,
Nikolay
Telerik team
 answered on 17 Dec 2012
2 answers
288 views
Hi,

We are changing our existing application to use RadForm and other Telerik controls to make it more UI appealing. But, I run into a problem. We had used windows UserControl very widely and now it seems like Telerik doesn't have such control that can replace windows UserControl. Could you please help me finding out some solution to this problem?

Thanks in Advance,
Prashant
Prashant
Top achievements
Rank 1
 answered on 17 Dec 2012
2 answers
274 views
Hi, guys.
I am really sorry if I am asking something that is already is answered. But I swear I tried to search for it using Google and internal forum search.

Ok, I am using RadListView control in  ListViewType.IconsView view. And I am placing my items into groups and I do show groups.

It all started when I placed many items to the list. I immediately saw that the list is displayed with vast scroll and user see only the top of the list and only the first group. So I decided to collapse all groups when I load my items into list.
/// <summary>
/// Collapses all groups in channel pair list
/// </summary>
private void CollapseAllListGroups()
{
    foreach (var group in PairControlList.Groups)
        group.Expanded = false;
}

By the way, if it is not the best way to do so - you can tell me, because I was looking for some function like "Collapse all groups" and didn't find it. If I missed it - tell me, if not - it would be good to have one already implemented for RadListView control.

Oh.. back to things. My groups all appeared collapsed, and then I saw that it is hard for user to decide where to go, since some groups might be empty and some may have hundreds of items. So, what I want to do is to display the count of items in each group on the group item. (See attached picture)
I didn't found how to do such a thing. I believe that it has to be built in functionality of  group item in RadListView. Again, if I've missed it - just tell me.
And I tried to implement it, but no success...  was thinking about changing group item text on VisualItemCreating event, but at the same time I may not know the number of items that will be placed to each group... and items will be removed/added to the groups later.

Best regards
Artem
Top achievements
Rank 1
 answered on 16 Dec 2012
1 answer
104 views
 private void gvFiles_RowFormatting(Object sender, RowFormattingEventArgs e)
        {
            if (e.RowElement.RowInfo is GridViewDataRowInfo)
            {
                //mandatory conditions
                if ((string)e.RowElement.RowInfo.Cells["OrderPay"].Value == "1" && e.RowElement.RowInfo.Cells["FID"].Value == DBNull.Value)
                {
                    //if the "Extended" nothing is written
                    if (e.RowElement.RowInfo.Cells["Extended"].Value.Equals(DBNull.Value))
                    {
                        //then to the current date add 14 days and to compare the date in "DateEnd".
                        if (DateTime.Now.AddDays(Properties.Settings.Default.WarningDays) >= Convert.ToDateTime(e.RowElement.RowInfo.Cells["DateEnd"].Value))
                            //if it is greater than or equal, display a red line.
                            e.RowElement.ForeColor = Color.Red;
                    } //otherwise, if the "Extended" is not equal to zero
                    else if (!e.RowElement.RowInfo.Cells["Extended"].Value.Equals(DBNull.Value))
                    {
                        //then compare with segdonyashney date have "Extended" and "DateEnd".
                        if (DateTime.Now.AddDays(Properties.Settings.Default.WarningDays) >= Convert.ToDateTime(e.RowElement.RowInfo.Cells["DateEnd"].Value) &&
                            DateTime.Now.AddDays(Properties.Settings.Default.WarningDays) >= Convert.ToDateTime(e.RowElement.RowInfo.Cells["Extended"].Value))
                            e.RowElement.ForeColor = Color.Red;
                    }
                    else
                        e.RowElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
                }
                else
                    e.RowElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
            }    
        }

It works.
But when you press the grouping and gruppiruesh on a particular column, it starts to produce the correct lines in red and those that it should be allocated.
Moreover, hide and reveal to the grouping and each time he paints in red color different rows.

And more.
In the GridView I have built a hierarchy. After grouping near the rows, press the + to see the subitems, instead udlenit write down, it hides all the items below. Shown.

1 - Normal GridView
2 - After grouping the first element is painted red, although it should not be released under the terms of
3 - If during the press groups see subitems, then the rows disappear from the bottom somewhere O_O
Nikolay
Telerik team
 answered on 15 Dec 2012
2 answers
166 views
Hello, I'm Chuki2 and I new in here.

I have create a custom form from scratch. Usually when we click right mouse, it will show "new appointment" then it will open form Edit Dialog right? How to do if when user click "new appointment" then it will open my custom form?

Sorry if I ask. But I have spend many hour to looking answer but still not found. Hope someone can help me to resolved this problem.

Thank again.
Chuki2
Top achievements
Rank 1
 answered on 14 Dec 2012
3 answers
77 views
Hi there,

we wanted to download the trial for a colleague of mine, but since yesterday the download is not available. When will it be available again, please?

Kind regards!
Fabian
Nikolay
Telerik team
 answered on 14 Dec 2012
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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?