Telerik Forums
UI for WinForms Forum
2 answers
79 views

hey,
I'm looking for a way to mimic the excel 2007 "fixed menuitem" in dropdownmenu functionality.  (the image below)
 http://picasaweb.google.com/chaco.zhao/Question/photo#5153743197678130354

Thank you

Georgi
Telerik team
 answered on 11 Jan 2008
5 answers
405 views
I am having a problem with the RadGridView when setting the datasource to null.

I have to dynamically generate a table I use for datasource. As I add or subtract columns everything seems to be working. The problem comes when I remove the last displayed column, the view still shows the column with all the rows. Although if I click a row I get a RowNotInTableException. Am I doing something wrong?

The pertinent code is : 

dataGridView1.GridElement.BeginUpdate();
dataGridView1.DataSource = CalculateTable(...);
dataGridView1.GridElement.EndUpdate();

The CalculateTable method returns null if there is nothing to do. Should I return an empty table instead, or is it some update thing I am not doing?

Kiril
Telerik team
 answered on 11 Jan 2008
1 answer
284 views
AutoSize is set to true on my RadPanel.  The AutoScrollMinSize does not shrink even if I set the MinSize to 0 because the underlying controls are wider than the  I would like to know if it is possible to hide the Horizontal Scrollbar even if the underlying controls are too wide.  I still want to have the Vertical Scrollbar enabled/visible.  Does the RadPanel have a function that would allow me to disable the Horizontal ScrollBar?

Thanks.

Dennis
Boyko Markov
Telerik team
 answered on 11 Jan 2008
3 answers
142 views
Open the WinControls examples application and then choose to view the TAB Drag & Drop example for TabStrip WinControl.

Perform a drag and drop.

Expected behaviour is that control that is dragged is placed at location indicated by the drop hint location.

Instead the dragged control is placed at new location but additionaly the control at the drop location is swapped with original location of dragged tab?!

This behaviour was working properly in older version of WinControls. We are seeing this error for the first time with Q3 release.
Boyko Markov
Telerik team
 answered on 11 Jan 2008
1 answer
180 views
I need to create WinForm where I will rotate data separated by columns, and which will allow user to do sorting. Ideally I would rotate content of RADGridView. Is it possible?
Georgi
Telerik team
 answered on 10 Jan 2008
1 answer
173 views
Hey all,
         I am using RadRibbonBar inside my windows application. I want to know if I can swap two tabs locations in runtime. i.e I have tab1 as the first tab in my RibbonBar and tab2 as the second tab in my RibbonBar, what I want to do is to change the tabs locations and to make tab1 as the second tab and tab2 as the first tab in the RibbonBar using a Button click event in runtime. Is this functionality available?
Thanks in advance
Boyko Markov
Telerik team
 answered on 10 Jan 2008
2 answers
223 views
Hi,

I am finding more basic issues with the RadRibbonBar.

Please consider the following code:

foreach (WebSite webSite in LookupManager.WebSites)  
            {                 
                RadMenuItem radMenuItem = new RadMenuItem(webSite.WSit_Name.Trim(), webSite);  
                radMenuItem.Click += new EventHandler(radMenuItem_Click);  
 
                if (webSite.WSit_IsEnabled)  
                {  
                    RadMenuItem radSubMenuItem = new RadMenuItem("Web Site Content");  
                    radSubMenuItem.FitToSizeMode = RadFitToSizeMode.FitToParentContent;  
                    radSubMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.WorldStockItem);  
                    radSubMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;  
                    radMenuItem.Items.Add(radSubMenuItem);  
 
                    if (webSite.WSit_AllowAutoPush)  
                    {  
                        RadMenuItem radSubMenuItem = new RadMenuItem("Publish Stock Item to Web Site");  
                        radSubMenuItem.FitToSizeMode = RadFitToSizeMode.FitToParentContent;  
                        radSubMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.WebSiteStockItemPublisher);  
                        radSubMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;  
                        radMenuItem.Items.Add(radSubMenuItem);  
                    }  
                    if (webSite.WSit_HasAdminTools)  
                    {  
                        RadMenuItem radSubMenuItem = new RadMenuItem("Extranet Tools");  
                        radSubMenuItem.FitToSizeMode = RadFitToSizeMode.FitToParentContent;  
                        radSubMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.Configure);  
                        radSubMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;  
                        radMenuItem.Items.Add(radSubMenuItem);  
                    }  
                    if (webSite.WSit_IsSitecore)  
                    {  
                        RadMenuItem radSubMenuItem = new RadMenuItem("Sitecore");  
                        radSubMenuItem.FitToSizeMode = RadFitToSizeMode.FitToParentContent;  
                        radSubMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.Sitecore);  
                        radSubMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;  
                        radMenuItem.Items.Add(radSubMenuItem);  
                    }  
 
                    RadMenuItem radWebSiteDetailsMenuItem = new RadMenuItem("Web Site Details");  
                    radWebSiteDetailsMenuItem.FitToSizeMode = RadFitToSizeMode.FitToParentContent;  
                    radWebSiteDetailsMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.WorldMagnify);  
                    radWebSiteDetailsMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;  
                    radMenuItem.Items.Add(radWebSiteDetailsMenuItem);  
 
                    RadMenuItem radWebSiteBrowseMenuItem = new RadMenuItem("Browse Web Site");  
                    radWebSiteBrowseMenuItem.FitToSizeMode = RadFitToSizeMode.FitToParentContent;  
                    radWebSiteBrowseMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.InternetExplorer);  
                    radWebSiteBrowseMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;  
                    radMenuItem.Items.Add(radWebSiteBrowseMenuItem);  
 
                }  
 
                try 
                {  
                    radMenuItem.ShowArrow = true;  
                }  
                catch (Exception ex)  
                {  
 
                }  
 
                try 
                {  
                    radMenuItem.Image = LookupManager.GetImage(LookupManager.ImageKey.World);  
                }  
                catch (Exception ex)  
                {  
 
                }  
 
                radRibbonBarWebSiteDropDownButton.Items.Add(radMenuItem);  
            }  
 

Notice the try {} blocks? Well I have to do that, otherwise a NullReferenceException is thrown on both methods. Bizarrely, the image setting works, even though the exception was thrown. I've previously seen this when setting the colour of a contextual tab group.

Any progress on automatically setting (or even programmatically being able to do it) the first contextual tab when a contextual tab appears?
Jack
Telerik team
 answered on 10 Jan 2008
3 answers
186 views
Will future releases of the Telerik controls allow binary serialization of their collections and items making those collections.

Currently neither items nor item collections of any of the controls i've used
seem to be marked for serialization. Binary serialization allows a more
complete form of data persistence as well as allowing developers to add
customisation that we may need to our own serialization in addition to that.

The current xml serialization does not allow for any customisation and also
lacks a considerable number of object parameters that it currently serializes.

Could future releases pls allow nodes/node collections , listbox items and collections , combobox items and collections and all other control items and their collections to be marked for serialization.

Jordan
Telerik team
 answered on 09 Jan 2008
6 answers
538 views
I didn't want to hijack this other thread, but as it talks about performance it is related:
http://www.telerik.com/community/forums/thread/b311D-bbbmem.aspx

In that thread you state that you are reworking the gridview for better performance and we should see something in the next release (2008 Q1?).

For the most part the gridview performance isn't that bad in my project, but one area it is extremely poor is using the BestFit() method on a column. I like to present a stylish output to the user and with dynamic data drawn from the database it is pure guessing to set the columns to a defined width. So after assigning a datasource, I loop over the columns and call BestFit(). This is very slow. I've taken to only doing it to a few key columns, but it would be nice to have the whole grid formatted nicely.

I just wanted to make sure improving performance of this method was part of the plan for the reworking of this control.

Thanks,

Alex
Alex Peachey
Top achievements
Rank 1
 answered on 09 Jan 2008
2 answers
200 views
I have a gridview bound to a BindingSource bound to a typed DataSet, with the member specified as one of my DataTables
.
I've updated the SQL for the dataset, but when I add columns to the gridview, I don't see those new columns in the DataField dropdown.  Even if I type in the name of the field to bind to, the column is empty.

What do I need to do?
Julian Benkov
Telerik team
 answered on 09 Jan 2008
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?