Telerik Forums
UI for WinForms Forum
1 answer
124 views
Hi,

In debug mode I am stepping thru the code in visual studio.  The problem is that the expanded part of the ribbon sits on top of the visual studio screen thereby hiding the code.  This is not a big deal but annoying,  I am running with the latest libraries.

Thanks
Rich
Stefan
Telerik team
 answered on 19 Feb 2013
2 answers
138 views
I'm using Winforms Q2 2011 SP1.
The gridview cell is in edit mode and the text cursor is at the right/left bound of the text editor.
How can I avoid that on the next right / left key the editor is closed an the next cell is selected.
Stefan
Telerik team
 answered on 19 Feb 2013
1 answer
122 views
Is it possible to bind the scheduler to a DataView? I have a lot of code on another form that uses a datagrid to show appointments. I've already written my filtering based on many relational tables and I would like to reuse it. My appointments have many resource tables (Type, Location, Employees, Guests, Units, Groups) and I would love to not have to write a lot of stored procedures. I also like the instant filtering given by using a DavaView without having to refill the data.
Jack
Telerik team
 answered on 18 Feb 2013
8 answers
482 views
I am having difficulty finding the right circumstances to create the following:

I need a drop down list with check boxes for each item.
Each item in the drop down displays a human readable string, but has a char value
Each time an item is checked, the Text value must be a concatenation of each selected char value
Each time the Text is edited, each individual letter in the Text field must check the DropDown item with the matching char value.

_________
- 1 - First Item
- 2 - Second Item

1________
x 1 - First Item
- 2 -Second Item

2________
- 1 - First Item
x 2 - Second Item

12_______
x 1 - First Item
x 2 - Second Item


In each of the above crude examples, the value of each item in the list would be 1 and 2.

I tried implementing the example code you provide in your RadControls Demo application, following the DropDown & List/Creating New Items example, and I am therefore able to get multiple checkboxes to display. (It appears your source code in the RadControls Demo is missing the "this.radDropDownList1.CreatingVisualListItem += this.CreatingVisualListItem;" for the list and dropdownlist objects.) 

However, I need a few more things I have not been able to find in the forum notes:

1) I need to keep the drop down from closing when checkboxes are selected.
2) I need to set the Text object of the list to a custom value (concatenation of the values of the checked items).
3) I need the reverse, setting the checkboxes based on what is typed in the field
4) I need to insert an OK button in the drop down to allow the user to close it when they are done checking boxes.

Any thoughts?


Thanks

Peter
Telerik team
 answered on 18 Feb 2013
3 answers
770 views
Hi,

I changed the form property FormBorderStyle = None.  That hides the border but the user can't resize the window other than go to  full screen.  I also blanked out the forms text property and set the controlbox property to false.  In the controls RadRibbon demo the form title bar is hidden but the form can still be resized by the user.  How was that done???  I saw mention of RadForm and RadFormShaped on old forum threads but I assume they have been depreciated.  I am using Telerik Q3 2012 assembly V4.0.30319.

Thanks
Rich
Jack
Telerik team
 answered on 18 Feb 2013
13 answers
1.3K+ views
Hi,
other question... I was trying to build a search for my treeview. But with some examples of the net for a normal treeview, I don't get it working.

Here is my code:

RadTreeNode[] tn = rtrvNetworkAll.Nodes[0].Nodes.Find(txtSearch.Text, true);
for (int i = 0; i < tn.Length; i++)
{
         rtrvNetworkAll.SelectedNode = tn[i];
         rtrvNetworkAll.Select();
         rtrvNetworkAll.Focus();
}

So there are nodes that can have the same name.

I searched in the support contents of the radtreeview. Found nothing yet.

Thanks in advanced
Stefan
Telerik team
 answered on 18 Feb 2013
5 answers
296 views
I'm not able to find a working example of what I need. They are either outdated and not compatible with 2012 Q3 or they don't apply.

I need the Telerik version of
Dim GuestCB As DataGridViewComboBoxCell
GuestCB = DataGridView1.Rows(DataGridView1.RowCount - 1).Cells("Guests")
                For Each RV2 As DataRowView In DV2
                    Dim Row2 As DataRow = RV2.Row
                    GuestCB.Items.Add(DVGuests.Table.Rows(DVGuests.Find(Row2(2)))("LookupName"))
                Next

DV2 is a filtered DataView that changes with each row, that's why I fill the ComboBox manually. This is just for display purposes - nothing is selected.
Stefan
Telerik team
 answered on 18 Feb 2013
3 answers
3.2K+ views
Hi, I have an import feature that I want to display progress while its running.
the import feature is located  in a MdiChild
the progress bar is located  in a radStatusStrip on the Parent form

here is the code I have and yet the Progress bar doesn't move untill after the loop is done.

int j = Textbox_InputText.Lines.Length;
(ss.Items[1] as RadProgressBarElement).Maximum = j;
int i;
            for (i = 0; i < j; i++)
            {
                ....Do import stuff


                //I tried .Value++ also and same results
                //(ss.Items[1] as RadProgressBarElement).Value1++;
                (ss.Items[1] as RadProgressBarElement).PerformStepValue1();
            
               

            }

PLEASE Help, I am extremely frustrated with this.
Nikolay
Telerik team
 answered on 18 Feb 2013
1 answer
90 views
AllowAdd = true;

When I right-click a node and choose "New", I want to make sure that the Tag of RadTreeNode is set to some important data. I'd expect the CreateNode event to solve this:

private void radTreeView_CreateNode(object sender, CreateTreeNodeEventArgs e)
{
    e.Node.Tag = obj;
}

However, this event is not called when I choose "New". Is this a bug or a feature?
Stefan
Telerik team
 answered on 18 Feb 2013
2 answers
134 views
I'm adding all my nodes in the NodesNeeded event. Then, in the NodeFormatting event, I'm changing the image of the nodes using the ImageKey.

The problem is that NodeFormatting is not called for all visible nodes. It seems it gets called for arbitrary root nodes when I expand one of the roots or when I scroll up and down. What's going on?

UPDATE
If I explicitly set the ImageKey when adding the nodes (which I don't want to do), then all images are updated when I click inside the tree view. Calling Refresh() after adding the nodes does not help.

UPDATE 2
Another problem...
when I double-click node A its icon changes to "Open" and is kept open until I select one of its child nodes. When a child is selected, the icon changes to "Closed". I have put breakpoints at all places where I set the icon to "Closed" and it does not fire. Hence, for some reason, the RadTreeView manages to revert the icon to its previous state...
Jack
Telerik team
 answered on 18 Feb 2013
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)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?