Telerik Forums
UI for WinForms Forum
1 answer
202 views
Hi!

I have a main form that is set to contain MDI child forms.
In this form I have added a dock control and set it to auto detect mdi.
I then add mdi childs to the main form and the dock control displays them as tabs, perfect :)

But.... How can I change active tab from source code?

(I'm using 2009 Q2 SP1)

Regards
Per
 
Boryana
Telerik team
 answered on 05 Aug 2009
1 answer
122 views
Hi,

I am trying to set my Gridview to the Office2007Blue theme but the theme does not seem to be available.  The only three themes i see are Reset, Control default and vista.  How do i enable the Office2007Blue theme?

I am using RadControls for WinForms Q3 2008 on .NET Framework 3.5.
Jack
Telerik team
 answered on 05 Aug 2009
3 answers
204 views
I have an mdi parent and child. Both these are just RadForms.
The issue is that when the code is executed to show the mdi child, I have programatically set the WindowState of the child to Maximised.
When the child loads, the child is maximised, but the top control is cut off as if it is underneath the RadMenu.
If I then use the minimise and maximise on the actual mdi child form, then the issue correct itself. It is only when the form first loads.
Deyan
Telerik team
 answered on 05 Aug 2009
1 answer
173 views
Hello,

We are considering to make a planningstool with on the one hand a grid view with all tasks to be planned and on the other hand a sheduler for each employee...

We would like to have a drag and drop functionality between the grid and the sheduler

we are using Winforms Q3 2008

is this possible ? Can somebody provide me some code ?

thanks
gerd
Boyko Markov
Telerik team
 answered on 05 Aug 2009
4 answers
816 views
Scenario:

I have a list of line items for checks to be 'approved' by the CEO.  He can take one of three actions.  He can approve it, he can explicitly deny it, or he can choose to do nothing on it at this point.

Implementation:

I have a hierarchical GridView that properly shows everything I need.  I have a single column there with 3 options " ", "approve", "deny", declared as below:

            GridViewComboBoxColumn colApproved = new GridViewComboBoxColumn(); 
            colApproved.FieldAlias = "Approved"
            colApproved.FieldName = "Approved"
            colApproved.HeaderText = "Approved"
            colApproved.DataSource = new string[] { " ", "Approve", "Deny" }; 

It is then added to the MasterGridViewTemplate.

All of this is completely fine.  I am able to capture 'ValueChanged' when it is changed and by testing the active editor I can determine that it's a combobox being changed... again, all of this is working and there is no problem.

Problem:

However, I have a button that I want to use to approve ALL items in the grid.  So, in the button click, I loop through the rows, and then reference the proper cell, but I cannot figure out how to set the selectedIndex.  I can just set a 'value' which doesn't really do what I want... here's one of the code attempts I've made:

        private void btnApproveAll_Click(object sender, EventArgs e) 
        { 
            foreach(GridViewDataRowInfo row in this.radGridView1.MasterGridViewTemplate.Rows) 
            { 
                if (((Button)sender).Text == "Approve All") 
                { 
                    row.Cells["Approved"].Value = 1
                } 
                else 
                { 
                    row.Cells["Approved"].Value = 0
                } 
            } 
           if (((Button)sender).Text == "Approve All" ) 
           { 
               ((Button)sender).Text = "UnApprove All" ; 
           } 
           else 
           { 
               ((Button)sender).Text = "Approve All"
           }  
        }

That code will literally set the Value to 0 or 1.  I have tried casting the row.Cells["Approved"] as a GridViewComboBoxColum or GridComboBoxCellElement and in both cases it did not work. 

((ComboBox)row.Cells["Approved"]).SelectedIndex = 1

That doesn't work because you cannot convert type 'Telerik.WinControls.UI.GridViewCellInfo' to 'System.Windows.Forms.ComboBox'.

Surely there is an easy way to do this?













Martin Vasilev
Telerik team
 answered on 05 Aug 2009
5 answers
187 views

My old project was: VS 2008, using VB.Net and Telerik Q1 2009.

I've update project through Project Update utility but obtain a lot of error messages (see picture: http://pic.ipicture.ru/uploads/090710/IPanVnW98P.png ).

If I try to change version of dll's manually (from 2009.1.9.414 to 2009.2.9.701) - many errors appeared (actually during changing version of TelerikCommon.dll).

Marcus Swope
Top achievements
Rank 1
 answered on 04 Aug 2009
1 answer
142 views
Hi,

Is there any way to prevent the selected main tab to collapse when the user double-clicks it? In fact I want to disable this feature.

Thanks in advance,
Mark 
Deyan
Telerik team
 answered on 04 Aug 2009
1 answer
133 views
Maybe I am just missing something, but how can reorder the ROWS in a grid?  I know that the grid doesn't support drag&drop at this time, but I can't even figure how to do it manually.  At this time, I have found 2 ways to do this:
1) Remove the row and then insert at new index
2) Since my grid is unbound I can swap all the data between the rows

Is there a better way to accomplish this at this time?

Thanks,
Lee
Boryana
Telerik team
 answered on 04 Aug 2009
3 answers
163 views
Hi there,

We have developed a Windows application which consists of many modules which has an MDI using vb.net. Every time a new patch has to be released for a particular module, we have to release the patch for entire application as it has an MDI.

I was suggested that by creating a console application (Using Telerik Controls/features) using which the MDI of Winforms application will be invoked. 
  As a part of that console all the modules can be separated so that any release of patches in future can be released independently for that particular module.  

Can anyone please explain how to create Console application(Using Telerik Controls/features) . It would be of great help if someone could please brief me on the Console using Telerik.

Thanks,
Satyajeet
Nick
Telerik team
 answered on 04 Aug 2009
9 answers
139 views

I was looking for an example on how to create a gallery at the ribbonbar and so i looked at the telerik example ribbonbar/First Look. 

Opening of the gallery looks ok and when i don't move the mouse over a gallery element the closing of the gallery looks also ok.

 

But when i move the mouse over a gallery element (and it is zoomed) or when i click on a gallery element then when the gallery is closing there is some part of the border left over and is not removed from the screen. 

I use the Q2'09 release of the telerik controls.

Regards,

Ramius 

Peter
Telerik team
 answered on 04 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)
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?