Telerik Forums
UI for WinForms Forum
1 answer
109 views
Hi,
how to close a DocumentWindow DoubleClicking the TabHeader

TIA

Nikolay
Telerik team
 answered on 08 Apr 2010
3 answers
156 views
Hi, I'm watching the carrousel control and I like to know how they do the Music Library Demo, but I like to see the full project, my question is, if someone have the full solution of all the demos, thanks.
Georgi
Telerik team
 answered on 08 Apr 2010
1 answer
102 views
How?
Peter
Telerik team
 answered on 08 Apr 2010
1 answer
115 views
Greetings,

I'm using the Q1 2010 WinForm Rad Ribbon Bar.

I populate a ribbon bar based on some application state. However, when I later try to clear the ribbon bar, it deletes the tab but not the groups or buttons.

Here's some example code to populate the ribbon bar:

string[] buttons = { "button 1", "button 2", "button 3" }; 
 
var navTab = new RibbonTab("Tab"); 
 
foreach (var buttonName in buttons) 
    var group = new RadRibbonBarGroup(); 
    group.Text = buttonName
 
    var button = new RadButtonElement(buttonName); 
    group.Items.Add(button); 
 
    navTab.Items.Add(group); 
 
radRibbonBar1.CommandTabs.Add(navTab); 

I've tried several options for clearing the ribbon bar. From a simple:

radRibbonBar1.CommandTabs.Clear(); 

To attempting to walk and remove each button and then group and then tab:

var countOfTabs = this.radRibbonBar1.CommandTabs.Count; 
 
for (int i = countOfTabs - 1; i >= 0; i--) 
    int countOfGroups = radRibbonBar1.CommandTabs[i].Children.Count; 
 
    for (int j = countOfGroups - 1; j >= 0; j--) 
    { 
        int countOfButtons = radRibbonBar1.CommandTabs[i].Children[j].Children.Count; 
        for (int k = countOfButtons - 1; k >= 0; k--) 
        { 
            radRibbonBar1.CommandTabs[i].Children[j].Children.RemoveAt(k); 
        } 
 
        radRibbonBar1.CommandTabs[i].Children.RemoveAt(j); 
    } 
 
    radRibbonBar1.CommandTabs.RemoveAt(i); 

am I missing something obvious?

Thanks!

Ben





Deyan
Telerik team
 answered on 08 Apr 2010
1 answer
115 views
There is a date or date range on scheduler navigator to indicate the dates showing on the calendar.
The date is shown in a particular culture format such as 4/23/2010 ( mm/dd/yyyy) in U.S English.

How can make this date formate adjusted to a paritcular culture?
eg.  if the system is set up as Canada English, we want it to be 23/4/2010 (dd/mm/yyyy)

We try to do following but it does not work

Radscheduler1.Culture = Thread.CurrentThread.CurrentCulture
Ming Zhao
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
159 views
I am using the beta version of the RadWinsForms,  trying to follow the GridView tutorial but could not make this work.

    Private Sub GridView_RowsChanged(ByVal sender As System.ObjectByVal e As Telerik.WinControls.UI.GridViewCollectionChangedEventArgs) Handles GridView.RowsChanged 
        Dim objconnection1 As New SqlClient.SqlConnection("Data Source=(local);Initial Catalog=OTMC_HR; Integrated Security=True"
        Dim objDataAdapter1 As New SqlClient.SqlDataAdapter("Use OTMC_HR SELECT E.EmployeeID, FirstName, lastname, " & _ 
                                                            "E.WorkingPhone, HomePhone, E.Email,  P.PositionTitle,D.DepartmentName " & _ 
                                                            "FROM Employee AS E INNER JOIN Department AS D  ON E.DepartmentID = D.DepartmentID " & _ 
                                                            "INNER JOIN Position AS P ON E.PositionID = P.PositionID ", objconnection1) 
        Dim objDataSet1 As DataSet 
        objDataSet1 = New DataSet() 
        objDataAdapter1.Fill(objDataSet1, "EmployeeContactList"
        If (e.Action = Telerik.WinControls.Data.NotifyCollectionChangedAction.ItemChanged) Then 
            objDataAdapter1.Update(objDataSet1) 
        End If 
    End Sub 

When the data is edited, I" got Update unable to find TableMapping['Table'] or DataTable 'Table'."

Any suggestion to fix this problem
Martin Vasilev
Telerik team
 answered on 07 Apr 2010
3 answers
78 views
Hi

I switched to using the new Visual Style Builder Q1 2010 build.  Now, all my RadForms are a fixed size, not resizable.  They also have a very small title bar and no minimize,maximize or close buttons.  What have I done wrong ?

mark
Deyan
Telerik team
 answered on 07 Apr 2010
2 answers
161 views
Hi, I have a RadPanel1 in the form1 with few controls inside: Labels, buttons, listviews, listbox, pictures. How can i add the existing RadPanel1 into RadRotator? (please in VB if its possible) :)

best regards

Chili Girl.
Martin Vasilev
Telerik team
 answered on 07 Apr 2010
3 answers
236 views
We recently upgraded from the Q2 2008 to the latest version.

Since this update, there is a particular instance where the text within the gridview doesn't display. I can see the rows. The rows have the data (we have code where when you double click it does some things.. validating that the data exists). I'm tempted to delete the grid and re-create it since that seems to solve some of the other upgrade problems.

To make this more interesting when I re-bound the grid to other data sources it works fine.. it's just this one source. I've stepped the code and can't find anything that modifies the display to the grid whatsoever.

I'm kind of lost on how to track this down -- any suggestions?
Svett
Telerik team
 answered on 07 Apr 2010
1 answer
121 views
Dear friends,
I got into chaos whenever i need to put an image in a row(GridViewDatacolumn is the type of the column for that row).

can i load an image..with out using GridViewImageColumn.

Plz reply me asap.

my code is...
----------------------
GridViewDataColumn d1 = new GridViewDataColumn("un", "j");
              radGridView1.Columns.Add(d1);
 Image  _image = application.Properties.Resources.open_file;

 radGridView1.Rows.Add(_image );
  radGridView1.Rows.Add("This");
-----------------
but i am getting image as System.Drawing.image just text not an image..

Thanks,
Regards,
Ravi

Julian Benkov
Telerik team
 answered on 07 Apr 2010
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?