Telerik Forums
UI for WinForms Forum
4 answers
374 views

Hi I have following tree structure with checkboxes. I wanted to read the child notes selected or unselected and based on that I want to update a string which store those values

Tree structure

Parent1 ((checked))
         --Child11   
         --Child12 (checked)
         --Child13 (checked)

Parent2(checked)
         --Child21 (checked)
         --Child22
         --Child23

Parent3 (checked)
         --Child31
         --Child32 (checked)
         --Child33

Dim ParentsNodes as string

Dim ChildNodes as string

I want to loop through entire node with any check or uncheck event and update my ParentNodes string and ChildNodes string so that it says

ParentsNodes = "Parent1, Parent2, Parent3"

ChildNodes = "Child12, Child13, Child21, Child32"

 

How do I loop through my nodes in RadTreeView using VB.NET and in what event should I put this loop so that any check or uncheck updates my strings. Please help

Thank you!

Dimitar
Telerik team
 answered on 10 Jun 2016
2 answers
95 views
is there a way to make something like this(see attached image)?
i tried to use drop down menu with custom items but it did not work.
is there some way to show a form on drop down menu click?
or some other way you would suggest to achieve this?
Aazar
Top achievements
Rank 1
 answered on 09 Jun 2016
1 answer
596 views
How can I change page type to A4 programmatically before printing?
Hristo
Telerik team
 answered on 09 Jun 2016
1 answer
73 views

Actually current i am working on a project that needs to import /export/manage a very large word document in Rich Text Editor. 

In this project user imports a word document of approx. 50 pages and then make some changes and the it saved to sql server database.

Now user can load it from database and further make some changes and again saved to database.

On importing the large word document it successfully imported in Rich Text Editor but after making some changes,

when i export it to a file then got the error "object reference not set to an instance of object".

Export functionality is working fine for small documents(approx 10 pages).

I am using this code.

Dim pathSource As String = Application.StartupPath & "\FileName.docx"
Using fsSource As Stream = New FileStream(pathSource, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite, Int32.MaxValue, True)
                        provider.Export(document, fsSource):  '(error raised after executing this line of code.)
                        Dim docByte As Byte() = New Byte(fsSource.Length - 1) {}
                        fsSource.Read(docByte, 0, System.Convert.ToInt32(fsSource.Length))
                        fsSource.Close()
                        SaveFileToDatabase(docByte)
End Using

Please help....

Regards,

Panch Raj

 

Hristo
Telerik team
 answered on 09 Jun 2016
1 answer
126 views

Hello,

RadGridView supports self referencing hierarchy mode to mimic multi-column TreeList behavior. Is it possible to do the same with VirtualGrid?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jun 2016
1 answer
382 views

Hi,

I need a control like windows TabControl for my project. For the radRibbon, I cannot make it dock to the whole layout and have full page tab containers where I can put all of my contents. I need same functionality like TabControl.

 

Medical App is providing the same functionality of tab which I need.

 

Thanks

Dimitar
Telerik team
 answered on 09 Jun 2016
1 answer
110 views

I would hide a column before copy selected items.

Generally I use first column as Icon, but I have to remove it before copying.

How can I do?

Is exists a specific event to use before call Copy method?

ItemsRadGridView.SelectAll()
ItemsRadGridView.ClipboardCopyMode = GridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText
ItemsRadGridView.Copy()

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jun 2016
4 answers
363 views

radDock Position = Fill, Top, Bottom......

I want the loaded form will be in floatting mode without drag and drop it in the radDok.

I tried with the below code but I am not satisfied:

<p>var frmBrand = new FormBrand();<br>frmBrand.Text = @"Brand::  ";v<br>HostWindow host = radDock1.DockControl(frmBrand, new DockPosition()); </p><p>//HostWindow host = radDock1.DockControl(frmBrand, DockPosition.Left)<br>host.DockState = DockState.Docked;<br>radDock1.AutoDetectMdiChildren = true;<br><br>frmBrand.Show();</p>

Dimitar
Telerik team
 answered on 09 Jun 2016
2 answers
120 views

Hi, 

I've used your demo solution to understand how cell border color errors works.

I've found a bug if you populate your gridview with enough data to have a vertical scrollbar.

When you scroll down enough to hide first rows, when you scroll up to see the rows, it seems there's a glitch on some cells like you see in the screenshot.

Regards

OD
Top achievements
Rank 1
 answered on 09 Jun 2016
4 answers
173 views
I am using Telerik Tree View control in Excel VSTO Application. The Tree View control is added in the Document action pane. I am deploying VSTO application using Click Once. In the deployment deployment folder I see the dll's Telerik.WinControls.dll.deploy, TelerikCommon.dll.deploy,Telerik.WinControls.UI.dll.deploy .
But on openning the workbook the Tree View control is not gettting loaded and it is not throwing any error either. I am using the Telerik Trial version. Thanks
Hristo
Telerik team
 answered on 08 Jun 2016
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)
Chart (obsolete as of Q1 2013)
Form
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
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?