Telerik Forums
UI for WinForms Forum
4 answers
273 views
Hi,

I am developing a windows application using radGrid (Hierarchical grid). I want to see only 5 child records at a time when parent row is expanded. Currently I have 50 child records and All the child records are getting displayed. I want to restrict the number of child records to be viewed, So that the remaining records can be scrolled.

Please suggest me if we can achieve this.


Thanks
Hari Kumar
Hari
Top achievements
Rank 1
 answered on 15 Jun 2009
1 answer
171 views
Environment:
  * WinForms 2009 Q1 SP1 (2009.1 414)
  * VS 2008 SP1
  * Windows XP Pro SP3

RadForm grabs a sliver of the surrounding area and retains it with the form, making it ugly.  It happens when you have the form's MaximumSize property set, and you maximize the form.   To reproduce:
  * Start a vanilla VB Winforms project
  * Drag a RadButton onto the form, then delete the button (this auto sets refs to Telerik assemblies)
  * In Form1.Designer.vb, make the form inherit from Telerik.WinControls.RadForm
  * Set the .MaximumSize property for Form1 to (400,300)
  * Size Form1 smaller than this in the design environment, say, (200, 200)
  * Run the project
  * Move the form over something w/variation - you won't see the bug very well if the form is over a solid area
  * Maximize the form
  * On the right and bottom, you'll now see artifacts grabbed from the surrounding area, which are now persistent on the form.

The error occurs w/both w/the default Vista skin and Office Black.

A bitmap illustrating the issue is one folder down in the zip file, which also contains a sample VS2008 project:

If you don't fix this, I'll have to redo my form as a vanilla WinForm.  When shall I expect a fix for this?

-James Frater, Creative Software Solutions csoftwares.com
Deyan
Telerik team
 answered on 15 Jun 2009
6 answers
273 views
I may have missed it but I could not find a way to hide the tabs.  Is that possible?  So that the position could be Top, Bottom, Left, Right, None? This way it could be used as a multi container control.
Nick
Telerik team
 answered on 15 Jun 2009
1 answer
178 views
I just installed the Q1 2009 version of RadControls for WinForms, and received an error when the installer attempted to install tools to the toolbox. I found a log file in the appropriate folder that contains the following text. What can I do to get the tools to install? My version of VS is 2008 SP1 and my OS is Vista 32bit.

Thanks in advance...

Log Text:

Starting ToolBox install procedure.
Exception:    Retrieving the COM class factory for component with CLSID {BA018599-1DB3-44F9-83B4-461454C84BF8} failed due to the following error: 80080005.
Stack:
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at ToolBoxInstaller.Init(String dteTypeString)
   at ToolBoxInstaller..ctor(String currentVersion)
   at ToolBoxInstaller.Main(String[] arguments)
Loaded Assemblies

    mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

    ToolBoxInstaller, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
        file:///C:/Windows/Installer/MSI74B6.tmp

    EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        file:///C:/Windows/assembly/GAC/EnvDTE/8.0.0.0__b03f5f7f11d50a3a/EnvDTE.dll

    System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

    System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        file:///C:/Windows/assembly/GAC/EnvDTE80/8.0.0.0__b03f5f7f11d50a3a/EnvDTE80.dll

Kyle Kelin
Top achievements
Rank 1
 answered on 15 Jun 2009
2 answers
252 views
I see here http://www.telerik.com/help/winforms/export-excel.html that I can export to Excel which is great, but lets say I want to export to CSV.  The corresponding ASP.NET grid control can easily do this, but I don't see a way to easily do this with the GridView control in Winforms, surely there is someway to do this?

Thanks,
Ben
ben
Top achievements
Rank 1
 answered on 12 Jun 2009
1 answer
111 views
Helo.

When you make an Outlook Addin (2007) and you use the DateTimePicker on a form the month display jumps out of its region if you click on the dropdown button when it's already open. The same happens also in a normal Winforms project if you doubleclick fast enough.

Screenshot of the problem:
http://www.shrani.si/f/1Y/1C/2uDt7Esk/outlookaddin.png
Martin Vasilev
Telerik team
 answered on 12 Jun 2009
1 answer
144 views
In the beta, the TabStrip does not shorten tab labels correctly if there is not enough space. Writes over to the next tab Strip.
Used to work in Q1

Regards
Erwin
Georgi
Telerik team
 answered on 12 Jun 2009
1 answer
255 views
Hi All

I have a redWautingBar on a radForm.

When I initiate a long running task I call StartWait and every 10 time round the loop call the Refresh() method.

 if(visible) radWaitingBar1.StartWaiting();
            else radWaitingBar1.EndWaiting();
            radWaitingBar1.Visible = visible;

 void s_UpdateStatus(string status, int progress)
        {
            if ((progress % 10) == 0)
            {
                radWaitingBar1.Refresh();
                this.Refresh();
            }
        }

However the control doesn't scroll untill the process is over.

The stock .Net control works but looks nowhere as good.

Where have I gone wrong?!

Thanks in advance
Martin Vasilev
Telerik team
 answered on 12 Jun 2009
3 answers
198 views
Hello,

I write this message because I noticed that my form is slow to appear with RibbonBar.

So I had the idea to put a splashscreen to show loading of the application but is also the splashscreen is slow to appear.

I show the splashscreen and I use the Load event of the splashscreen. In this event, I set the Visible property to False of the form containing the RibbonBar and I used the Show property of this form.

And in the Load event of the form, I close the splashscreen and I put the Visible property to True to form with RibbonBar

But that does not work, the splashscreen is slow to appear.

I hope the splashscreen appears immediately and once the form with RibbonBar loaded, I close the splashscreen form and I show the form.

Is this possible ?



Deyan
Telerik team
 answered on 12 Jun 2009
3 answers
167 views
Hi

I am evaluating the docking controls at the moment and have a few issues.

Is there an easy way to tell when a DocumentPane becomes active. There looked to be a promising event on the DockingManager (DockTabChanged) but this doesn't seem to get fired when tabs are added or deleted or the document pane is split.

The DockingWindow activate event seems to allow me to do what I want, but I have to add event handlers to each Document (which is doable but a pain). However the event fires twice for each activation (which is a pain to deal with). This is evident in your TabbedDocument sample (2009 Q1).

Thanks 
   Simon
Nikolay
Telerik team
 answered on 12 Jun 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
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
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
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?