Telerik Forums
UI for WinForms Forum
1 answer
124 views

Hi,

I have setup a dataSet with 3 tables Locations,Customers and Orders. I have setup 3 relations "Locations to Customers" , "Locations to Orders" and "Customers to Orders"

I have a form that has two GridViews one to show All the Customers and one to show the Selected Customers Orders.

I have done this by: 

MainForm.DataSource = FormData;
MainForm.DataMember = "Customers";
 
SubForm.DataSource = FormData;
SubForm.DataMember = "Customers.Customers_Orders";


Is there anyway I can bind a column to the Locations Description from the Locations table via the  "Locations to Customers"/"Locations to Orders" in the relative grids? 

Julian Benkov
Telerik team
 answered on 14 Jun 2012
1 answer
165 views
can someone plz help me making an image editing tool using a ribbon bar and radpageview tool..
actually i am facing a problem i am unable to access picturebox of radpageview plz help me ..


page.Text = imagename
        Dim img As PictureBox = New PictureBox()
img.Image = imgShow
img.SizeMode = PictureBoxSizeMode.CenterImage
page.Controls.Add(img)
        Me.RadPageView1.Pages.Add(page)
        Me.RadPageView1.SelectedPage = page

now unable to access it plz help ..
Stefan
Telerik team
 answered on 14 Jun 2012
1 answer
112 views
Hello i am try telerik windows forms

Sorry for my bad english

I need work with ribbonbar mdi and show on tabs the title of the forms opened
Nikolay
Telerik team
 answered on 14 Jun 2012
1 answer
68 views
Hello
I have a problem to  work with a SelfRefrence GridView . i want to use drag&Drop service but it dosn't works when I use that grid.
can I use  DragDrop Event in SelfRefrence Grid ?I shoud be say that I can use dragdrop event in normal Grid
PLz Help Me......
Tank You.
Julian Benkov
Telerik team
 answered on 14 Jun 2012
2 answers
319 views
I am a new(will be official by the end of the week) Telerik customer that is migrating from DevExpress.  I have, obviously, been impressed so far but I have come across a concern.  My app makes extensive use of DevEx's "Dropdown Multiline Textbox control and I have not seen a similar control for Telerik so far.  Am I missing it or would I have to create it myself by embedding the Textbox into a Dropdown control?  If so is there any guidance on that?

While this isn't a deal breaker it will be a bit of a downer if the first thing I have to do after purchasing a $1300 Custom Control suite is build my own custom control....

Thanks for any help and direction that can be provided.
Patrick
Top achievements
Rank 1
 answered on 13 Jun 2012
2 answers
127 views
Hi,
i just downloaded and updated the RAD Controls for WIndows Forms, WPF and Just code to the Q2 2012 Versions.
Only Juste Code installs successfully.
All other products install but do not register any toolbox items.

KR
CBL
Petar
Telerik team
 answered on 13 Jun 2012
1 answer
153 views
Hello,
i have a CarouselBezierPath with three items:

2      3
   1

i dont want disappear my back items when i click previous/next button. In my example numbers, when i click ButtonPrevious, Item1 goes to Item2 location and Item3 goes to item1 location and the place of Item3 become empty and it is not so nice. Also for avoiding this situation i want to move item2 to item3 location. Also a rotation with BezierPath. With ElipsePath doesn't come out my favour view.
Thanks for helping
Gary

Peter
Telerik team
 answered on 13 Jun 2012
1 answer
163 views
Hi,

In the code below I have a dataset connected to a radTreeView. It is recursive and it works. When I try to filter the dataset with the .Select command the radTreeView knows there is data there but the displaymember stays blank - meaning no text in the tree. Why?

Thanks,
Karl 

private void BindLangDataToTree()
{
    this.radTreeView1.DisplayMember = "Thema_" + myLang; ;
    this.radTreeView1.ParentMember = "pid";
    this.radTreeView1.ChildMember = "id";
    this.radTreeView1.ValueMember = "id";
    radTreeView1.DataSource =  ds_Baum.Tables["Baum"];//.Select("Schule='" + mySchuleID + "'");
}
Julian Benkov
Telerik team
 answered on 13 Jun 2012
3 answers
200 views
Hi,

I have a ComboBoxColumn that is bound to a datatable.  One of the options in the datatable is "None" with a value of DBNull.  I have the DisplayMember and ValueMember set and everything works just fine, except when I choose "None" in the list and move off the row. The column with the ComboBox is empty instead of "None".  Any other value displays the lookup text just fine.

Any ideas?
Julian Benkov
Telerik team
 answered on 13 Jun 2012
1 answer
423 views
Hi,
Could I make RadGridView control's initialization faster? Currently first initialization of this control can take few seconds, what is quite long in case of dialog window, appearing on demand.

Sample code:

public partial class RadGridViewDialog : Form
{
    private RadGridView _grid;
  
    public RadGridViewDialog()
    {
        InitializeComponent();
    }
  
    private void btnInitialize_Click(object sender, EventArgs e)
    {
        _grid = new RadGridView();
          
        panel2.Controls.Add(_grid);
        _grid.Dock = DockStyle.Fill;
        _grid.BringToFront();
    }
  
    private void btnBuild_Click(object sender, EventArgs e)
    {
        using (_grid.DeferRefresh())
        {
            GridViewDataColumn firstColumn = new GridViewTextBoxColumn();
            firstColumn.HeaderText = "Name";
            _grid.Columns.Add(firstColumn);
            firstColumn.ReadOnly = true;
  
            GridViewDataRowInfo[] rows = new GridViewDataRowInfo[200];
  
            GridViewDataColumn secondColumn = new GridViewTextBoxColumn();
            secondColumn.HeaderText = "Value";
            _grid.Columns.Add(secondColumn);
            secondColumn.Width = 110;
            secondColumn.MinWidth = 70;
  
  
            int rowIndex = 0;
            for (int i = 0; i < rows.Length; i++)
            {
                rows[rowIndex] = new GridViewDataRowInfo(_grid.MasterView);
                rows[rowIndex].Cells[0].Value = "name" + i;
                rows[rowIndex].Cells[1].Value = "value" + i;
                rowIndex++;
            }
            firstColumn.IsPinned = true;
            _grid.Rows.AddRange(rows);
            firstColumn.BestFit();
        }
    }
}


After first opening this form, when user clicks on btnInitialize button application is freezing for few seconds, clicking on btnBuild button is much faster. Second and next clicks on btnInitialize (no matter in the same or other dialog in the same application) are faster too.

I've noticed that it's a reason of calling:
Telerik.WinControls.Themes.ControlDefault.ExternalControlsThemeHelper.LoadGridThemes()
in the static constructor of class Telerik.WinControls.UI.RadGridViewElement.

Is it possible to speed up first initialization of this class?

Regards
Stefan
Telerik team
 answered on 13 Jun 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)
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?