Telerik Forums
UI for WinForms Forum
1 answer
89 views
Hi there,

I have an application that needs to be built and the Outlook style of application is the closest I can get to explaining how our UI will work.
So far we will have the following:
  1. A RibbonBar
  2. A PageView for Navigating between subsections of the application (exactly like Outlook switches between mail and calender)
  3. A SplitContainer to split the left side navigation from the actual content on the right

Where I get confused is:
I'm assuming the content that appears in the right side window (in Outlook's case this would be the mail items view, or the calender day view) should be built using separate windows. If that's correct do we load those windows as controls into the right side of the split container? (what is the norm when it comes to this kind of scenario?)
When we switch from Mail to Calender, how do we change the RibbonBar to be specific to that feature as is done in Outlook?

Thanks
Jacques
Nikolay
Telerik team
 answered on 22 Jul 2011
3 answers
112 views
Hi,

           I have added menu items and submenu items to the start icon in the radribbion bar .But  the width and hegiht is not proper for submenuitems.

Please refer the screenshots

I  am getting as in screen (submenuheight) but i want it as shown in screen(sample).

How can i do it any propery .


Thanks
Hema
Jack
Telerik team
 answered on 22 Jul 2011
1 answer
84 views
Hi,

We are trying to upgrade our project to the 2011 version, but having serious issues.
1. The VS extension fails with "Value cannot be null \n Parameter name: path1"
2. When using the upgrade tool the references are replaced correctly but there are problems with the way the grid displays:
columns' order is wrong, localization causes mismatch between data and headers!

Is there any code changes we must do in order to upgrade successfully?
Can we apply these changes automatically for our grids? Maybe the VS extension does that?

Thanks,
Hadar

Erjan Gavalji
Telerik team
 answered on 22 Jul 2011
1 answer
179 views
I used the standard Windows Forms Property grid until now and am really happy about the new control, as the visual impression is now much more consistent.

One thought on boolean properties though: Would be nice if double click on the Text would toggle the value as it does in the Visual Studio Property Grid. Also the text (True/False) should be read-only for boolean properties.

Regards
Erwin
Ivan Petrov
Telerik team
 answered on 21 Jul 2011
1 answer
199 views
Hello!

I found the following problem with the latest (v.2011.2 11.712) RadDropDownList:

The drop-down list is bound to the BindingSource. When I assign the binding source's DataSource to a list, the drop-down list control shows the first item but the SelectedItem and SelectedValue fields are still set to null as well as the SelectedIndex is set to -1. In the earlier version the fields were set to the corresponding values. If I assign the drop-down list's DataSource to a list directly, it works well.
using System;
using System.Collections.Generic;
using System.Windows.Forms;
  
namespace Test
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
  
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
  
            List<Data> list = new List<Data>();
            list.Add(new Data() { Value = "A" });
            list.Add(new Data() { Value = "B" });
            list.Add(new Data() { Value = "C" });
  
            radDropDownList1.ValueMember = radDropDownList1.DisplayMember = "Value";
            radDropDownList1.DataSource = bindingSource;
            bindingSource.DataSource = list;
        }
    }
  
    public class Data
    {
        public string Value { get; set; }
    }
}

This is very upsetting issue, because a lot of already tested code places becomes unstable unexpectedly. 

Thank you.
Peter
Telerik team
 answered on 21 Jul 2011
4 answers
81 views
how can i select all text when i click the text on CommandBarDropDownList1 ?

thanks for your help..
ricric
Top achievements
Rank 1
 answered on 21 Jul 2011
1 answer
296 views
I am building an application where users r coming from database in combobox on combobox1_Enter event.
I am also populating from another table rights for the particular user as per
selectedvaluechanged event of the same comboobx in datagridview.The problem comes when I reselect
same user error is"object not set to an instance of an object" this does not happen if I click buton for
populating usersrights in gridview when i select value in combobox.Can anybody help me with this?
here is the code:
private void UsersCombox_Enter(object sender, EventArgs e)
        {
            ds = null;
            UsersCombox.SelectedIndex = -1;
            SqlConnection mycon = new SqlConnection("Data source=DOTNET1;integrated security=true;initial catalog=examcollectiondata");
            SqlDataAdapter adap = new SqlDataAdapter("select * from createuserTbl", mycon);
            ds = new DataSet();
            adap.Fill(ds, "createusertbl");
            UsersCombox.DataSource = ds;

            UsersCombox.ValueMember = "CreateUserTbl.UserName";

            ds.AcceptChanges();


            ds.GetChanges();
            UsersCombox.Refresh();
        }

private void UsersCombox_SelectedValueChanged(object sender, EventArgs e)
        {
           //error when reselecting value in combobox
            SqlConnection mycon = new SqlConnection("data source=dotnet1;initial catalog=ExamCollectionData;integrated security=true");
//error comes in the line below
            SqlDataAdapter adap = new SqlDataAdapter("select DiffForms,selectdata,insertdata,updatedata,deletedata,viewreports from useraccesstbl where users='" + UsersCombox.SelectedValue.ToString() + "'", mycon);

            DataSet ds = new DataSet();
            adap.Fill(ds, "useraccesstbl");

            dataGridView1.DataSource = ds;
            dataGridView1.DataMember = "useraccesstbl";
Peter
Telerik team
 answered on 21 Jul 2011
5 answers
876 views
Has anyone else gotten this error after saving the form with the RichTextBox and reopening the designer in Vs2010?

at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkPropertyDescriptor.SetValue(Object component, Object value)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Svett
Telerik team
 answered on 21 Jul 2011
1 answer
350 views
I've seen a lot of examples of the Gridview for Winforms but looking around I found a little demo for WPD that I liked for the RadGridview for WPF.  Can the tabs in the WPF for silverlight can be achieved in the regular Gridview for Winforms.  I've attached a small pic with the highlighted tabs , i haven't found anything or any examples on how to achieve this in Winforms. 

Is this planned to be added as a new feature?


thank you

Jose
Ivan Petrov
Telerik team
 answered on 20 Jul 2011
1 answer
126 views
Hi,

I was testing the summary row to see if it could be useful for me.

So I set up a simple COUNT expression test. Desperately the summary item is always empty.

Maybe I missed some main information in the documentation? Do I have to do some additional work for this in an event or something else? Or maybe I'm using it in the wrong event? I also tested with some AggregateEXprssions, but the result was the same. I see the row, but it is empty. The result was also the same when I used the code where I'm initializing the grid's content.

My code is like this:

private

 

void rGrid_DataBindingComplete(object sender, GridViewBindingCompleteEventArgs e)

 

{

    ...

GridViewSummaryItem

 

summaryItem = new GridViewSummaryItem();

 

summaryItem.Name =

"name_Guid";

 

summaryItem.Aggregate =

GridAggregateFunction.Count;

 

 

 

GridViewSummaryRowItem summaryRowItem = new GridViewSummaryRowItem();

 

summaryRowItem.Add(summaryItem);

 

this.rGrid.SummaryRowsTop.Add(summaryRowItem);

 


}

Thanx

Nadine
Alexander
Telerik team
 answered on 20 Jul 2011
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?