Telerik Forums
UI for WinForms Forum
3 answers
119 views

Hello, I'm sorry if this already has been discussed or is described in the documentation, but I couldn't find anything.

If a Radtextbox conatins a string longer than can be displayed and I click it, the marker wont appear where I click, it appears in the last part of the string.

How can I make the marker appear where I click?

Thanks

Stefan
Telerik team
 answered on 07 Mar 2011
7 answers
184 views
Hi,

I have a gridView with 2 columns, and the AutoSizeColumnsMode set to Fill.
The problem is that each time I refresh the data (in setting the datasource property with a new bindingList), the width of the second column is reduced by 1 pixel (the first column is growing).

Is this a known bug ?
Is there a workaround ?
Stefan
Telerik team
 answered on 07 Mar 2011
25 answers
376 views
When Pageview's viewmode is set as outlook,  two buttons can be used to set number of buttons listed on the panel after a pageview is loaded.

Question:
Is is possible to set  a fixed number of buttons shown when a pageview is loaded?

Eg.  We have 7 pageviewpages.  We want only show 3 buttons when the pageview is loaded and later we can do adjustment by using showing more buttons or showing fewer buttons.

See attached sampled image. We want to have sample_2 instead of sample_1 when a pageview is loaded.
Nikolay
Telerik team
 answered on 07 Mar 2011
5 answers
436 views
The following code does not work for Toolwindow in a radDock. The intriguing part is that it works when am debugging the application not when I run it. Could any of you please help.

private void toolWindow1_MouseLeave(object sender, EventArgs e)
        {
            toolWindow1.Hide();
        }

Thank You
Bob
Nikolay
Telerik team
 answered on 07 Mar 2011
3 answers
76 views
When I change either the MultiViewRows or MultiViewCols property of a calendar, it gives the error:

Object Reference not set to an instance of an object

This always seems to happen if I increase the number of Rows or Columns but also seems to happen occasionally if I decrease them.

The rows/col change was initially donein the SizeChanged event but to ensure that was not the reason for the problem, I set up a test with a button that just changes the Rows and Cols from 5 and 2 to 4 and 3 and the error happens every time.

Is anybody else experiencing this and is their a workaround that anybody can give me.

Thanks in advance
Dobry Zranchev
Telerik team
 answered on 07 Mar 2011
0 answers
171 views
Hi Guys,

I am developing a Windows App using C# 4.0. I have an MDI Application and when I add MDIChild forms to this app in maximize state there restore button is displayed although I have set control box to false, maximize box to false and minimize box to false. I want my child form to be always maximized. When i click the restore button it resizes to small size which I don't want.

Anyone please help.
Afraz Ali
Afraz Ali
Top achievements
Rank 1
 asked on 07 Mar 2011
1 answer
144 views
I have been using the RadDock control to manage my MDIs for me. This has been reasonably successful until I save a layout to reload later.

I am trying to reload the content using radDock1_DockWindowAdded()

                    if (e.DockWindow.Name.StartsWith("input1"))
                    {
                        input1 in1 = new input1();
                        in1.Text = e.DockWindow.Text;
                        in1.MdiParent = this;
                        ((HostWindow)e.DockWindow).LoadContent(in1);

This appears to work but I get an exception 

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.Docking.RadDock.RegisterWindow(DockWindow dockWindow)
   at Telerik.WinControls.UI.Docking.RadDock.EnsureRegisteredWindow(DockWindow window, RadDockTransaction transaction)
   at Telerik.WinControls.UI.Docking.RadDock.EnsureTransaction(RadDockTransaction transaction)
   at Telerik.WinControls.UI.Docking.RadDock.CommitTransaction(RadDockTransaction transaction)
   at Telerik.WinControls.UI.Docking.RadDock.CommitTransactions()
   at Telerik.WinControls.UI.Docking.RadDock.EndTransactionBlock()
   at Telerik.WinControls.UI.Docking.RadDock.LoadFromNewXml(XmlReader reader)
   at Telerik.WinControls.UI.Docking.RadDock.LoadFromXmlCore(XmlReader reader, Boolean oldXmlFormat)
   at Telerik.WinControls.UI.Docking.RadDock.LoadFromXml(String fileName)
   at TELMDI.Form1.LoadSavedLayout()

and the radDock1_LoadedFromXml never fires.

When I check my raddock1.MDIChildren they all appear to be there and they are also correctly applied on screen.

But when I then try to add new MDIs I cannot set the parent to be this; so something obviously gets corrupted.

If instead I change the order so that I LoadContent and then set MDI I get 2 new windows and the following exception
                        input1 in1 = new input1();
                        in1.Text = e.DockWindow.Text;
                        ((HostWindow)e.DockWindow).LoadContent(in1);
                        in1.MdiParent = this;


'System.InvalidOperationException' occurred in Telerik.WinControls.RadDock.dll
14:26:09 DockWindowAdded input13=System.InvalidOperationException: Cannot reload content for a HostWindow, which is bound to a MDI Child.
   at Telerik.WinControls.UI.Docking.HostWindow.VerifyContentChange()
   at Telerik.WinControls.UI.Docking.HostWindow.LoadContent(Control content)
   at TELMDI.Form1.radDock1_DockWindowAdded(Object sender, DockWindowEventArgs e) in E:\VS2008 Projects\telerik_test\TELMDI\Form1.cs:line 153

Does anyone know the correct way of reloading MDI content after loadfromxml?

 Thanks in advance.
Nikolay
Telerik team
 answered on 07 Mar 2011
0 answers
120 views
HI

let me know any way to store formattedvalue of a perticular cell in to variable rather than value of the cell

Thanks
Somnath
Top achievements
Rank 1
 asked on 07 Mar 2011
3 answers
164 views
I just download Trial for Telerik Winform and this trial reminder popup annoying me and less productive exploring your product, even your demo application display this popup.

Why don't you record popup reminder by session, when popup has show in current user session, like when first time build project, swicthing into design mode, or run mode.
Rather than popup every time I switch to designer mode, and other random time.
Nikolay
Telerik team
 answered on 07 Mar 2011
3 answers
264 views
Hello,

I'd like to be able to select a row in a gridview, then click a button that would insert a new row in the same gridview with the same values as the selected row.

Any help to get me started would be appreciated.

Thanks
Francis
Richard Slade
Top achievements
Rank 2
 answered on 05 Mar 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?