Telerik Forums
UI for WinForms Forum
3 answers
121 views
I want to add a confirm dialog when a user tries do close a dockwindow, I'm using the raddock as a mdicontainer, I use the DockWindowClosing event:

private void radDock1_DockWindowClosing(object sender, DockWindowCancelEventArgs e)
{
  if (RadMessageBox.Show("Are you sure", "Confirm", MessageBoxButtons.YesNo, RadMessageIcon.Question, MessageBoxDefaultButton.Button1) == System.Windows.Forms.DialogResult.No) {
      e.Cancel = true;
  }
}

The problem is that when I call RadMessageBox.Show, all the contents of the radwindow disappear.

How can I fix this so that I can ask for confirmation when closing a raddock window?

Thanks in advance.
Sergi
Top achievements
Rank 1
 answered on 23 Jun 2011
2 answers
175 views
We are trying to migrate an Access application to .Net.  To do this we use Microsoft's interop toolkit which allows us to create ActiveX controls in .Net.  So what it basically comes down to is this: we create a new interop user control, place some WinForms controls on it, build and register the assembly and use it in Access.

After some extensive tests we noticed that Telerik's WinForm controls do not behave well in an Access environment.  In a .Net application the controls work just fine.

Here's some examples of things we've seen:

  • RadGridView: crashes when leaving cells with a RadSpinEditor as their editing control.  The application shuts down without showing an error.  The event log mentions exception 0xc0000fd, which appears to be a stack overflow.
  • RadGridView: columns using RadSpinEditor cannot be edited.
  • RadContextMenu: navigating through the menu using the arrow keys scrolls 3 items up or down instead of one.

I know the controls are not exactly intended to be used like this, but is there anyone else who had similar experiences with the WinForms controls?  And has a solution to make the controls more stable?


Greetings,

Kris
Kris
Top achievements
Rank 1
 answered on 23 Jun 2011
1 answer
130 views
hi I have a checkbox where I need to check something if it is selected.  In the cellbeginedit event I check the value of the checkbox but it is false when I clearly set it to true. Is there a different way to approach this?  All I need to do is call a function if the checkbox is set to ticked.  The column is also added at run time if that helps. Thanks.

Stefan
Telerik team
 answered on 23 Jun 2011
1 answer
381 views

Hi

How to sort pages in RadPageView?

I was looking for method Sort or Comparer property but I did not find anything. Is it possible to sort pages in RadPageView?

I use version 2011.1.11.419.

Regards

Stefan
Telerik team
 answered on 23 Jun 2011
1 answer
103 views

HelIo,

I have a structure that looks like following:

Class TreeNode  { 
   
public TreeNode Parent { get; } 
   
public IEnumerable<TreeNode> Children { get; } 
   
public …  

I want to bind this structure to a Telerik RadGrid with detail tables for each level of the children. I know that radgrid supports declarative binding to a self-referencing hierarchy, but that assumes you have a flat dataset (e.g. from a database) and can look at a parent key field of some sort. My question is: It is possible to bound a radgrid to a data structure like the one I mentioned and is there a way to do it declaratively?

Thanks in advance,

Misa
Martin Vasilev
Telerik team
 answered on 22 Jun 2011
1 answer
159 views
Hi,

When using a CommandBarDropDownButton and having two menu items, the sizing appears to be off (see attached image) and there is a lot of extra padding at the bottom.  This works fine with 3 or more menu items.  Is there a way to correct this?

Thank you.
Ivan Todorov
Telerik team
 answered on 22 Jun 2011
1 answer
390 views
I have a RadTreeView with top nodes and each top node may have children (subnotes) depending on my database data source.

Top node 1
    |___ Sub node 1
    |___ Sub node 2
    |___ Sub node 3
Top node 2
    |___ Sub node 1
    |___ Sub node 2
    |___ Sub node 3
    |___ Sub node 4
Top node 3
    |___ Sub node 1

I have consigured all my top nodes to have a ContextMenu (radContextMenu1) associated with it.
For all the Sub notes of any top node (so for Sub node 1, 2, 3 of Top node 1; Sub node 1, 2, 3, 4 of Top node 2 and Sub node 1 of Top node 3 and any other subsequent Sub note of any other possible Top node), I want a context menu (radContextMenu2) to appear and I want to do this through C# code, not at design time.
The only example that you seem to provide is how to acomplish this at design time and only with predefined nodes; not database driven ones, like mine.

Here is the only example that you provide:

RadTreeView1.Nodes[0].ContextMenu = radContextMenu2;

This will NOT work in my case since my menu is constantly changing based on my dasaset.
In essence, I am looking for something like this:

RadTreeView1.AllSubNodesAtLevel[0].ContextMenu = radContextMenu2;
(where level 0 would be ALL the Sub nodes in the above pictured schema)

Thank you!
Nikolay
Telerik team
 answered on 22 Jun 2011
6 answers
202 views
HI,

I have a GridView with a checkbox column. When I would click on the column header checkbox checks all stay true.
Could anyone help me?
Francois
Top achievements
Rank 1
 answered on 22 Jun 2011
10 answers
554 views
Hi,

I have list control with data on a user control.

I have subscribed for a double click event for a listcontrol.

as there are lot of items in the controls, when the user clicking on scroll bar to go donw the list. it is firing the double click event and thus selecting the wrong item, instead of continue scrolling down as the click was on the scroll bar and not on the item.

please advice.

Regards,
khizar
Martin Vasilev
Telerik team
 answered on 22 Jun 2011
1 answer
85 views
I have tried setting the ThousandsSeparator both in the Property Builder and in code, but it has no effect on the display of the grid's numbers.  I am referencing GridView v2011.1.11.315.

Is this a known issue or am I missing something? 

Private Sub gridIssues_DataBindingComplete(sender As Object, e As Telerik.WinControls.UI.GridViewBindingCompleteEventArgs) Handles gridIssues.DataBindingComplete
      CType(gridIssues.Columns("balance"), GridViewDecimalColumn).ThousandsSeparator = True
End Sub




Nikolay
Telerik team
 answered on 22 Jun 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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Licensing
VirtualKeyboard
DataLayout
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?