Telerik Forums
UI for WinForms Forum
1 answer
125 views
When I go to property builder and finish, the designer.vb deletes the grid's declaration, and the only way to get it back is to delete the grid and move it back on the form. What's going on?
Mike
Telerik team
 answered on 02 May 2007
1 answer
205 views
The control would allow you to define commands.
Like "Quit", "Save file", "Save all" and so forth.
The definition would contain everything you need for a command. It's event callback, toolstrip icon, tooltip text, short cut key and so forth.

The main goal of this would then be that you could then use these commands from anywhere. Like to add a "Save all" entry in the main menu you would just point to the command managers "Save all" entry and be done with it.
If you want the same functionality in a context menu or on a tool strip you would just point to the same command manager and the same command.
Change anything in that command and all places will be updated with the new icon, text or whatever.
The idea would be to get rid of the double definition of commands. If worst comes to worst you define the same icon, text and event callback in 3 diffrent places. (Menu, Context menu, Tool strip)

Using such a system the user would also be allowed to define his own toolstrips and menu choices, if he so wished because we would have a global pool of commands the user could use.

All this is featured in the excellent prof-uis package that I sadly had to leave behind because it's MFC & C++ only

Prof-Uis customizations
Command Manager

Dimitar Kapitanov
Telerik team
 answered on 02 May 2007
4 answers
423 views
I have a data table with a GUID column I am binding to the grid view.  After setting the data source, I am programmatically setting a group by expression, setting the column type for the GUID column to System.Guid and hiding the GUID column.  I have also enabled autosizing on all columns as well as on the master table.

Problems:

(1) As I scroll through the grid, seemingly randomly some rows display a portion of the hidden column.  There is no rhyme or reason to it - scroll to the bottom, and then back to the top and the first row shows part of the hidden column.  Scroll just enough until the column is off display and then back, and sometimes the hidden column is gone, other times not.

(2) Nothing I do, no property I set, nothing will cause the columns to autosize.  They all reset back to 50 wide.  I can resize the columns manually and they stay.  But nothing will make them columns start out properly sized, including setting column widths when defining the master table layout.

(3) When issue 1 happens on any row, the columns for that row are no longer aligned with the column headers.  When the hidden column disappears again, the columns are properly aligned with the headers.

(4) I can't find any way to add a "command" type column to the grid.  I want to be able to add a column like the normal data grid view control where the user can click the text which appears like a hyperlink and have some action occur.  Is this not a feature or am I just missing something?

I am using Q1 2007.  HELP!  What am I doing wrong?  I REALLY want to use this control because of the display properties, but these seem like pretty big issues to me. 

-Dave Ferreira
Kiril
Telerik team
 answered on 02 May 2007
2 answers
244 views
If I copy an exe to another PC which dll's need to go with it? I'm used to asp.net apps and just copying the controls I need but in WinForms the controls are in the GAC I guess.
Dimitar Kapitanov
Telerik team
 answered on 02 May 2007
1 answer
205 views
Dear Telerik,

I'm using Q4 2006 version for WinForms. I created some themes suitable for my project and accordingly XML files were created. When I created setup for my project, the xml files doesn't get included in it. It gives me an error while installing the project.

Why such an error is occured.

Please reply, its urgent.

Thanks and Regards,
Venktesh S


Jordan
Telerik team
 answered on 02 May 2007
1 answer
672 views
The grid view can be very slow if you run it under the debugger in visual studio. After some digging I have found a fix for this problem. This problem is probably not just releated to the gridview but to the whole telerik framework.

The reason is that by default visual studio enabled extra checks in among other things the pinvoke. It's used when the CLR goes from managed to native code. This apparently happens in simple things like "Bitmap.Width". The penelty for these check is a slowdown of up to 100x. So we of course want to turn them off.

One way to do taht is to add a file called "<programname>.exe.mda.config" next to your exe.
In that file copy the following
<?xml version="1.0" encoding="UTF-8" ?>
<mdaConfig>
  <assistants>
    <pInvokeStackImbalance enable="false"/>
  </assistants>
</mdaConfig>

Lastly disable 'visual studio hosting" under the debug properties. Now your  app should run as quickly as using Ctrl+F5.

For more reading about this issue:
http://blogs.msdn.com/jmstall/archive/2006/10/23/debugger_5F00_slowdown.aspx
http://blogs.msdn.com/tlai/archive/2006/06/15/How-to-Disable-a-Specific-MDA.aspx
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=114648
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=106327
http://msdn2.microsoft.com/en-us/library/d21c150d(en-US,VS.80).aspx

Cheers
 Joakim E.
Xetick
Top achievements
Rank 1
 answered on 27 Apr 2007
4 answers
136 views
I get an error message
http://www.portvista.com/media/telerik_error.jpg

Error loading theme a dozen times when placing a rad control on the form. This is happening after I just upgraded. How do I fix this?

I get all kinds of Telerik errors popping up in my project. I'm very concerned.... what's going on?
Mike
Telerik team
 answered on 27 Apr 2007
2 answers
168 views
This occurs in several areas, but for converstaion sake, I will limit to one instance.  I have a panel bar, with Labels, text boxes, etc.  and in design mode, everything is aligned, the right text size, and exactly the way I want it.  But when that panel control is added to its Docking manager at run time, it assumes all of its settings in regards to display.  So the Font increases, it is bolded, etc.  Is there a way to prevent this from happening....
Boyko Markov
Telerik team
 answered on 27 Apr 2007
10 answers
308 views
Hello, 
I have the following issues/questions with docking control
  1. The form that contains the docking manager is taking around 4.5 sec average to load for the first time, while it takes 0.3 sec without it, so is there a way to boost the performance, note that if I closed the form and opened it again it doesn't long time to load.
  2. I did set the min width for a dock panel, however when I changed its size i could change it to much less than the min width but when I click on the undersized panel it change size to the min width!
  3. Is there a way to prevent panels from docking as tabs?
Regards,
Rashad
Vassil Petev
Telerik team
 answered on 26 Apr 2007
1 answer
228 views
Hi guys

Unlike the DataGridView, the RadGridView seems to be missing a readonly property, is it called something else? I basically want to stop people from editing the data.

Also, is there some more RadGridView documentation in the pipeline. I really need to know how to code a connection to SQL Server and handle inserts, updates and deletes.

Regards

Mitch
Georgi
Telerik team
 answered on 26 Apr 2007
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?