Telerik Forums
UI for WinForms Forum
5 answers
202 views
Hi,

I've been looking at the RadControls for WinForms Examples app and I noticed in the RadRibbonBar section you have an example of a MDI Layout. The picture shows the app having rounded corners with a different color border. However, when I click on the button, Launch Example, I do not get this layout. I've been trying to replicate it but I've run into a couple of problems. 1) If I change the border size nothing happens. 2) I add a padding - which gives me a border- but I cannot change the color of it.

Any help would be greatly appreciated.

Michael
Nikolay
Telerik team
 answered on 18 Jan 2008
9 answers
218 views
Hi all,

Maybe a simple question, but how can I define the maximum width of a dockpanel? So that if the window resizes, the width of the dockpanel stays fixed?

Thanks,
Daniel

Julian Benkov
Telerik team
 answered on 18 Jan 2008
1 answer
297 views
Hi,

to solve the problem described here
http://www.telerik.com/community/forums/thread/b311D-bamtct.aspx

I tried to handle the SplitterMoved event.
BUT - the SplitterEventArgs give the wrong values.
To reproduce it use the following steps:

Create an app with a dockmanager holding two panels.
For easy investigation move the splitter to some high XPositon.
Lets say - about the middle of your form.
Now add a handler to the SplitterMoved Event in the primary site.
Add a dummy code line there - for an example
int nX=e.SplitX;
Add a breakpoint at that line.
Now start debugging - and drag the splitter very far to the left.
Release the mouse button -- BP hit.
Now check the value of e.SplitX.
EXPECTED: some small value
GOT: the value where the splitter was before dragging!!!

To proof this is not a "SplitterMoved normal behaviour" do the following.
On the rigth pane of your docking add System.Windows.Forms.SplitContainer.
Place the splitter also into the middle of the container.
Add a handler for SplitterMoved.
Add the same dummy code line as for your other handler.
Place a breakpoint at this line of code.
Run your application.
FIRST: you will see an initial break in the SplitContainer SplitterMoved handler
>>this event is not fired for the PrimarySite !!
Continue debugging.
Move the splitter of the SplitContainer far to the left.
Release the mouse - BP hit.
Check the value of e.SplitX
It is a small number - as expected.

Regards

Manfred
Julian Benkov
Telerik team
 answered on 18 Jan 2008
16 answers
330 views
Hi,

On my tests with drag and drop I am getting the following exceptions which do not seem to be thrown by my code.

The exeptions are "Object reference not set to an instance of an object."

at Telerik.WinControls.UI.RadTreeView.HandleDragDropCursor()
at Telerik.WinControls.UI.RadTreeView.DoDragDrop()
at Telerik.WinControls.UI.RadTreeView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at telerikevaluation.manager.StartUp.Main(String[] args) in C:\\Development\\telerik\\evaluation\\source\\RevivalManager\\StartUp.cs:line 19"


And sometimes this as well:

at Telerik.WinControls.UI.RadTreeView.PrepareDragDropOutlineForm()
at Telerik.WinControls.UI.RadTreeView.BeginDrag()
at Telerik.WinControls.UI.RadTreeView.PerformDragInitialization()
at Telerik.WinControls.UI.RadTreeView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at telerikevaluation.manager.StartUp.Main(String[] args) in C:\\Development\\telerik\\evaluation\\source\\RevivalManager\\StartUp.cs:line 19"

Any ideas?
/ jorge




Jordan
Telerik team
 answered on 18 Jan 2008
1 answer
194 views

Language: vb.net

I'm having a really difficult time getting changes to cell values displayed in a radGrid.

The grid is bound to a dataset containing the output of a SQL Server stored procedure that returns a list of documents.

In addition to the columns that are mapped to particular elements in the dataset (docName, docLocation), I also display a column (status) that is not mapped. 

Here's what I want to do: At runtime, after the grid has been populated, displayed, and the end user has selected several of the rows, I would like to traverse the SelectedRows collection of my grid, set the "status" column value to "S", and have these updated values displayed in the grid:

For Each row As GridViewRowInfo In dgEquiset.SelectedRows
cell = row.Cells("selected")
cell.Value = "selected"
Next

I don't get any errors, but the values don't get set.

How do I go about doing this properly?

Thanks!




Jack
Telerik team
 answered on 18 Jan 2008
5 answers
486 views
i really wish you guys had more info on the shaped form.
how do i add one to my windows project?
i found it somewhere but cant find it again
please help

justin
Jack
Telerik team
 answered on 18 Jan 2008
1 answer
119 views
Hi,

Is it possible to insert a menu strip column inside radgridview as shown in the picture below? How? Thanks.

http://img186.imageshack.us/img186/5589/menustripradew9.png

Jack
Telerik team
 answered on 18 Jan 2008
3 answers
127 views
Hi,

How can I set my forms background color to be the same as that from a RadTabStrip?

Thanks for your help,
Michael
Brad
Top achievements
Rank 2
 answered on 18 Jan 2008
2 answers
162 views
How can I load one instance of a form to the tabbed document list? I am current running this code.
 
    Private Sub newMDIRadButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles newMDIRadButton.Click
        Form5.MdiParent = Me
        Form5.Show()
    End Sub
 
 
but if I close the document from the tab and try to load it again, it doesn't work. Also, if I click the button one more time while the form5 loaded, it disappears.
Michael
Top achievements
Rank 1
 answered on 17 Jan 2008
4 answers
99 views
Hi:
I need to take the database that I have uploaded in a server the problem it is that in the server dont has a part where download the database i want to know if there is any form of download the database because I have distinc information in Internet database that in my computer
Thank you.
Alberto
Brad
Top achievements
Rank 2
 answered on 17 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
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?