Telerik Forums
UI for WinForms Forum
1 answer
116 views

I construct the list of 3 my objects and attach it to the GridView. As a result all 3 lines shows the first item: "aa". DataBound of all 3 lines is OK but display does not work OK. Here is my code below:


eeList =

new List<MedCheckEntry>();

 

 

MedCheckEntry i1 = new MedCheckEntry();

 

i1.ReferenceNo =

"aa";

 

eeList.Add(i1);

 

MedCheckEntry i2 = new MedCheckEntry();

 

i2.ReferenceNo =

"bbb";

 

eeList.Add(i2);

 

MedCheckEntry i3 = new MedCheckEntry();

 

i3.ReferenceNo =

"ccc";

 

eeList.Add(i3);

gridView.MasterGridViewTemplate.DataSource = eeList;

Nick
Telerik team
 answered on 21 Oct 2008
1 answer
364 views
Hi,
I would like to look in a complex treeview for a node with a certain name. How can I go through all nodes independently of the level?
For a reference I would be grateful.
Thanks.
Christian
Nick
Telerik team
 answered on 21 Oct 2008
1 answer
554 views
Hi,

I'm using the default context menu for the RadGrid in our application. It has all teh features the customer needs but there are 2 little issues:

- The menu item "edit" still appears in the default menu even when Editing is disabled. Shouldn't that be removed automatically?

- The only item(s) I want to remove from the context menu are copy and paste. The user doesn't need to do that and it produces an error when he copies a text or  a number into a DateField. Sure I can validate that in the code but I would rather remove the two items.

Is ist possible to remove the items and keep the default menu or do I have to create a custom only because of that?

Thanks
Nick
Telerik team
 answered on 21 Oct 2008
1 answer
235 views
I posted this last week and it seems it dissappeared for some reason.

So I have a GridView for Winforms control on a form that refreshes the dataset every 3 minutes.  Randomly during the day my users are reporting that the entire GridView control turns white and there is a red X in the control.  This is the entire GridView control's canvas.  Very wierd.  This is the error that the user's receive:

(There is a checkbox column in the Master template, this is not a hierarchical dataset.  It is flat.)

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

   at Telerik.WinControls.UI.GridRowElement.SetSelectedState(Boolean showSelection)

   at Telerik.WinControls.UI.RadGridView.OnEnter(EventArgs e)

   at System.Windows.Forms.Control.NotifyEnter()

   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

OpenOrderQueue

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/OpenOrderQueue.exe

----------------------------------------

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Web.Services

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

bd1mghel

    Assembly Version: 1.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Telerik.WinControls.GridView

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.GridView.DLL

----------------------------------------

Telerik.WinControls.UI

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.UI.DLL

----------------------------------------

Telerik.WinControls

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.DLL

----------------------------------------

System.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

----------------------------------------

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Drawing.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll

----------------------------------------

TelerikCommon

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/TelerikCommon.DLL

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Nick
Telerik team
 answered on 21 Oct 2008
1 answer
158 views
Do you know how can I display listbox items horizontally?
Nick
Telerik team
 answered on 21 Oct 2008
4 answers
207 views
Is it possible to create the x-axis labels from a date column in my dataset? I have a date set where I want to return a series of dates, and some associated values, i.e.a structure such as;

Selecteddate (date)
Somevalue1 (int)
Somevalue2 (int)

What I'd like to show is the series of dates along the x-axis, and my values plotted above those. Although I can sort them, I won't know how many value sets (rows) I will have in advance, or if the dates are evenly spaced (i.e. there might be gaps in dates).

Is this possible? Thanks in advance for any assistance.
Dwight
Telerik team
 answered on 21 Oct 2008
3 answers
157 views
Hello,

I am using the trial version for evaluation purpose. I clicked on the smart tag in a rad grid view and used the theme builder to change gridGroupExpandercellelement's SignStyle property to PlusMinus. And i saved the theme in a new xml and i gave the theme a name. Then dragged a radthememanager and loaded my newly created theme and in the smart tag of the gridview i loaded my theme. But some the expander still shows the arrow sign rather than the plus sign that i wanted. Any help would be greatly appreciated.
HAri
Top achievements
Rank 1
 answered on 21 Oct 2008
9 answers
132 views
Hello there!

Maybe my question is a basic one or not, but I would like to know if it is anyway possible to have the Calendar control to act similarly to the Scheduler ASP.NET Ajax control.

Here we would very much like that kind of functionality in our application, but it seems that the Calendar simply doesn't cut it.

Do we have to program the features needed or is there anyway we may customize it to do this?

Many thanks!
Vassil Petev
Telerik team
 answered on 20 Oct 2008
6 answers
260 views
Hi,

i am getting warning while accessing RadTreeNode's Parent and Index property that it is obsolete.

Can i have some replacement for this so those warning be removed ?

Thanks
Nikolay
Telerik team
 answered on 20 Oct 2008
2 answers
158 views
We are using the dock manager in a new application and have some concerns with performance due to the code being run multiple times in the Activated event of the UserDockForm.   We have looked through the forums and documentation to  get a better understanding what triggers the "Activated" event, but are not having much luck.  

Below is the code being used to create the dock form, and the activated event code.  Any help on why this event is fired 3 tiems would be greatly appreciated, and if we should be using a different event let us know.

    Private Function CreateDockedDoc(ByVal caption As String, ByVal size As System.Drawing.Size, ByVal formName As String) As UserDockForm  
 
        Dim myform As Form = CType(Me.GetType.Assembly.CreateInstance(formName, True), Form)  
 
        myform.MdiParent = Me 
 
        Dim dockDocument As UserDockForm = CType(myform, UserDockForm)  
        dockDocument.Text = caption 
        TryCast(DockingManager1.PrimarySite, DockSite).SetDocument(dockDocument)  
        dockDocument.CloseButtonVisible = False 
 
        Return dockDocument  
 
    End Function  
 
 
    Private Sub frmSystemCodePayPeriodSetup_Activated(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Activated  
 
        System.Console.WriteLine("Form activated ........")  
    End Sub  
   
 
erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 20 Oct 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
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?