Telerik Forums
UI for WinForms Forum
13 answers
1.1K+ views
Hello,

i am having a treeview. and adding the nodes manually.
For Each ct In ChecklistTemplate
  
                newChecklistTypeNode = New RadTreeNode(ct.ChecklistTypeName, False)
                newChecklistTypeNode.Tag = ct.CheckistTypeID
                newChecklistTypeNode.LoadedOnDemand = True
  
                If (Not tvChecklists.Nodes.Contains(newChecklistTypeNode)) Then
                    tvChecklists.Nodes.Add(newChecklistTypeNode)
                End If
Next

i am checking whether the node is already present in the treeview.
suppose following nodes are already added in treeview
1. abc
2. xyz
3. pqr

if i now add xyz node in treeview the condition tvChecklists.Nodes.Contains(newChecklistTypeNode) returns FALSE.

Please suggest.

Thanks
Sachin




Azhar
Top achievements
Rank 1
 answered on 29 Mar 2018
6 answers
187 views

Hello,

I am trying to create an image reviewer where an image is displayed and reviewed.  Right now the image is displayed in a radDiagram as a radDiagramShape.

What I am trying to do is create a feature where a box can be moved over the original image and the portion of the image that the box is over be displayed in a separate shape object.  That way the user can have a "zoomed" look over the original image without needing to zoom and pan over the original image.

Can this be done?

Thanks for any suggestions!

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Mar 2018
1 answer
94 views
I have a RadTreeView that has nodes listing directories and files from a certain location in the file system. Now if I were to go into Windows Explorer and manipulate one of the files, how can I update the RadTreeView automicatically to the user's action? Say if I were to delete the file, how can I refresh the RadTreeView to show that once they do it from Windows Explorer? Is there a way? 
Dimitar
Telerik team
 answered on 29 Mar 2018
3 answers
267 views

Hi,

I am using a GridView with a ColumnGroupsViewDefinition, I would like to display only the group headers and hide the column headers, is there a way to accomplish this?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Mar 2018
2 answers
1.3K+ views

Hi , I'm a new blood in programs. 

recently, I tried to build a RadGridView and fill in data from database

And I create a button if the user wanna export the data in RadGridView 

 

 RadGridView rgv = new RadGridView();

 rgv.DataSource = dt;

 GridViewSpreadExport spreadExporter = new GridViewSpreadExport(rgv);
            spreadExporter.ExportVisualSettings = true;
            SpreadExportRenderer exportRenderer = new SpreadExportRenderer();
            spreadExporter.RunExport(filegoalpath, exportRenderer);

here is the method i used  , dt has data i wanna export .

so i used rgv to keep the data i wanna export and use these four program to export an excel 

but the program always tell me that my rgv is null and check it cant be null

after i checked , i found that rgv.DataSource really keeped my data in datatable

but rgv.Columns.Count is 0 and rgv.Rows.Count is 0 ,too.

 

actually this is my first time to write a program in C# 

but i really want to learn it well

so ... hope you can help me to solve my problem :(
plz !!!!

 

勇誌
Top achievements
Rank 1
 answered on 29 Mar 2018
0 answers
99 views

I created some columns, some with decimal values and some with Boolean values.

When I do the bind, every field is fine except the the one with Decimal and Boolean. All my Boolean values are checked, yet after the bind, they show as unchecked. As for the Decimal columns, they are not showing anything at all.

John
Top achievements
Rank 1
 asked on 28 Mar 2018
1 answer
172 views

Hello Team,

We are currently building a POS app with winforms and we are wondering if the image attached (Solely the cart list, excluding the headers) can be reproduced?

If yes, how? Any help will be appreciated.

Hervé

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Mar 2018
1 answer
429 views

     Hello, 

i'm binding an observable collection of expando objects to a radgridview, each object is supposed to contain a boolean but since i'm constructing my expando object from a <string, object> dictionary the bool property is an object(bool), so when these are displayed with autogeneratingcolumns true i just get a text column with true or false 

 

how can i display them as checkbox ? 

 

Thanks by advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Mar 2018
1 answer
127 views
The size of the edit window does not match the print preview.
Hristo
Telerik team
 answered on 28 Mar 2018
12 answers
400 views
I've read several reasons why it's not built into the SaveLayout, but I still would like a way to save Conditional Formatting. How can I achieve this?
Dimitar
Telerik team
 answered on 28 Mar 2018
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?