Telerik Forums
UI for WinForms Forum
2 answers
94 views
Hello,

I'd like to have two listboxes side by side that scroll together, much like you would see in a diff or merge tool. Is there some way that this can be accomplished with Telerik ListBoxes?

Thanks!
Jeremy
Jeremy Murtishaw
Top achievements
Rank 1
 answered on 07 Aug 2009
1 answer
92 views
Hi, I use the ribbon, dock controls (not the new one yet), and some other controls like the RadGroup etc.
However, when designing the App as an Outlook Style application and placing the controls in the Navigation area to the left, the positions and sizes of those controls are not being kept.

I must say:
For the amount of noise you guys are making those kind of problems are realy ticking me of.
This is not the first time this is happening I had similar issues with the grid in a previous release.

So, my advise:
Before you give us those amazing controls make sure we can use them in production without being messed with whenever a property is being changed. I'm sure I'm not the only one having those kind of problems.
If this keeps happening I will want to have my money back and use another vendor, just for you to know this is serious!!!

I use the latest version, VS 2008 with the latest SP, Windows Vista Ultimate 32 with the latest service pack. 
Mike
Telerik team
 answered on 07 Aug 2009
3 answers
392 views
Hello,
I am testing Edit modes on RadGridView and I found the feature quite counterintuitive, please correct me if I am wrong.

Here is a work flow:
1) I select cell - it goes to edit mode as expected - then I press escape and the cell escapes edit mode.
2) now I move with my cursor to different row, the cell is still out of edit mode
3) however when I select row on the same row as in step 2 I am suddenly in edit mode again.
Jack
Telerik team
 answered on 07 Aug 2009
1 answer
148 views
Hi!

I think I have found a "bug".

I have a multicolumndropdown on a form.
The multicolumndropdown displays rows from a tabel with about 15000 rows in.
I have implemented "on demand loading" by using the KeyPress event of the combobox control like this:

Sub

 

cbCustomerSearchValue_KeyPress

 

    If

 

Asc(e.KeyChar) = 13 Then

 

        Retailers = Retailer.LoadRetailersByReference1(cbCustomerSearchValue.Text)

      

 

        RetailerBindingSource.DataSource = Retailers

 

        If Retailers.Count > 1 Then

 

            cbCustomerSearchValue.MultiColumnComboBoxElement.ShowPopup()

 

        ElseIf Retailers.Count = 1 Then

 

            LoadCustomer(Retailers(0))

            tabCustomerInformation.Focus()

 

        End If
    End if
End sub

When the user selects a row, I load the information about the customer like this:
Private Sub cbCustomerSearchValue_SelectedValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cbCustomerSearchValue.SelectedValueChanged

 

 

If cbCustomerSearchValue.MultiColumnComboBoxElement.IsDroppedDown And cbCustomerSearchValue.SelectedItem IsNot Nothing Then

 

 

 

    LoadCustomer(DirectCast(DirectCast(cbCustomerSearchValue.SelectedItem, Telerik.WinControls.UI.GridViewDataRowInfo).DataBoundItem, DataAccessLayer.Retailer))

 

 

End If

 

 

End Sub

 

 

 


If the search result in just one hit, I load that customer and display information about it.

Here comes my problem:
If the search resulted in more then one hit, I show the drop down list and the user can then select. (This is working)
The problem here is that even though the text inside the drop down box is not the same as the displaymember text on the first row, the first row in the grid is still selected.

Since the row is already selected, the selectedvaluechange event will not fire :(

Is there a way to detect when the actual user clicks on a row (and not when the databind occurs)?

Why is the first row selected when databinding occurs, can I disable this behavior?
In a normal dropdown control no row is selected until the user made it choose.
I think the multicolumndropdown should behave the same :)

Regards
Per




Jack
Telerik team
 answered on 07 Aug 2009
2 answers
155 views
Hi,
I want to informed (preferebly by event) that DockTabStrip of a given DocumentWindow has changed.

In other words. Imagine I have two documents (in the same TabStrip, only one can be seen at a time) and I drag one out and dock it, lets say, on the left. Now I can see both of the documents at the same time. Is there any event that fires up on such action?

Obvoiusly I work with RadDock control =)

Paul
Top achievements
Rank 1
 answered on 07 Aug 2009
1 answer
184 views
Hi,

I want to use RadControls in VC++ application (using Visual studio 2008). When I add the reference to Telerik.Wincontrols, the Radcontrols are added to Toolbox.
In a VC++ application, all the RadControls under the toolbox are disabled. In a C# application, all RadControls under the toolbox are enabled and can be added to windows form.

Question:
Why are the RadControls in the toolbox, disabled in VC++ application?
Please clarify how to make them enabled, so that they can be used in VC++ application.

Thanks in advance,
Best Regards,
Rajani

Victor
Telerik team
 answered on 07 Aug 2009
3 answers
129 views
Hello,

I am generating a treeView from 3 SQL Server tables.
I added the binding sources, table adapter .... 
I write this code:

 

this.villeTableAdapter.Fill(this.logisticsDataSet.Ville);
/
/ TODO: This line of code loads data into the 'logisticsDataSet.Region_2' table. You can move, or remove it, as needed. 

 

 

this.region_2TableAdapter.Fill(this.logisticsDataSet.Region_2);
// TODO: This line of code loads data into the 'logisticsDataSet.Region_1' table. You can move, or remove it, as needed. 
this.region_1TableAdapter.Fill(this.logisticsDataSet.Region_1);

// TODO: This line of code loads data into the 'logisticsDataSet.Pays' table. You can move, or remove it, as needed.

 

this.paysTableAdapter.Fill(this.logisticsDataSet.Pays);
this.radTreeView1.RelationBindings.Add(new RelationBinding("FK_Reg_1_Cont", this.Region1bindingSource)); this.radTreeView1.RelationBindings.Add(new RelationBinding("FK_Reg_2_Reg_1", this.Region2bindingSource));this.radTreeView1.RelationBindings.Add(new RelationBinding("FK_Emp_Reg_2", this.Region2bindingSource));

this.radTreeView1.RootRelationDisplayName = "Cont";
this.radTreeView1.DataSource = this.paysBindingSource;

Now my treeView is correctly populated.

My problem is how the change the text displayed in the treeNode because i want that the treeView another column name (and in the future i want to customize the text displayed in the treeNode) ?
Thanks in advance.

 

 

 

Victor
Telerik team
 answered on 07 Aug 2009
6 answers
131 views
Hi again,

I have cut copy and paste toolbar buttons on my toolbar - whenever I click one, the focus on the active control is lost so I can't send a clipboard command to the control. Any ideas on how to achieve this?

reagrds,

Avner
Boyko Markov
Telerik team
 answered on 07 Aug 2009
3 answers
296 views

I have a GridView into which I load a few rows of data. Behind each row I have more information, which is displayed in a different form when the user clicks on the row. I also have "Previous" and "Next" buttons to navigate in the GridView.

At startup it looks like the first row is selected, it is blue and has a little arrow to the right. But when I click the "Next" button I get radgrid.SelectedRows.Count = 0, and therefore I can't navigate to the next row. If I then click on the first row I get the same result, BUT if I click on one of the other rows I get radgrid.SelectedRows.Count = 1 and everything works fine. I then can click on the first row too, getting the expected result.

Is this a bug, or is it something I'm doing wrong? Is there a way to set which row that is selected, - radgrid.Rows.SelectedIndex = 0 ?

Any help is appreciated.

Regards, 

Jill-Connie Lorentsen

Jack
Telerik team
 answered on 07 Aug 2009
5 answers
219 views
Hi Telerik + others, I'm thinking of compiling our winform app with the telerik source code rather than the raw telerik DLL's, my assumption here being there will ne a way in which I can do this and get the compiler to eliminate unused deadcode branches.

At the moment we're distributing at least 10mb of telerik pre-compiled libraries and i figure there is a lot of telerik code I'm probably not using that could be removed.

Has anyone else tried this approach or have any useful comments/advice?

Regards
   Ewart.

Arie Segev
Top achievements
Rank 1
 answered on 06 Aug 2009
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?