Telerik Forums
UI for WinForms Forum
2 answers
162 views
Hi Telerik

I'm trying to create a standout highlight in a treeview to indicate which document in a raddock has been selected. I have created a Custom document with a DocumentNode property which points to the node in the tree which relates to the document. I'm using the Active document changed event and a TreeViewElement.Update to attempt this. THe code works for the addition of a single document but gets stuck on the next added document and won't reformat the appropriate node when I change from one document to the other by clicking on the document window tab.

The key code snippets are below:
In Active Document changed

tvMPWorkspace.TreeViewElement.Update(RadTreeViewElement.UpdateActions.StateChanged);


In Node Formatting event

if (rDockModelPackage.DocumentManager.ActiveDocument != null && ((RadCustomDocumentWindow)rDockModelPackage.DocumentManager.ActiveDocument).DocumentNode == e.Node)
{
    e.NodeElement.BackColor = Color.PaleGoldenrod;
}
else
{
    e.NodeElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local);
}

As usual, all help gratefully received
Regards
Ian
Ian
Top achievements
Rank 1
 answered on 17 Oct 2011
2 answers
165 views
Hi
When i am droping an object from another control to ribbon, how do u know.. where did i drop my object, i mean.. on which button/gallery and what is that name and all


i have tried like this
Point pt = new Point(e.X, e.Y);
 if ((rbMosaique.GetChildAtPoint(pt) != null) &&
(rbM.GetChildAtPoint(pt).GetType() == typeof(Telerik.WinControls.UI.RadGalleryItem))


but it is always showing null


pelase help me 


Advance thanks


Regards
Hema
Peter
Telerik team
 answered on 17 Oct 2011
9 answers
284 views
Is there something broken about dragdrop in Q2 treeview?
I have a treeview where I have enabled 'AllowDragDrop' and 'AllowDrop'. However, the 'ItemDrag', 'DragStarted' and 'DragStarting' events aren't firing all all.

Is there something I'm doing wrong? The documentation makes it look easy!
I'm basically wanting to detect when a node from the first treeview is dragged into the second treeview.

Thanks,
Richard.
Svett
Telerik team
 answered on 17 Oct 2011
1 answer
272 views
Hi,

I am using RadListView in DetailView type and have 4 columns.  I would like to display an image before the text in the 3rd column depending on the data in that column.  The column holds a file name i.e myFile.pdf and I would like to make that a link that is clickable how do I do that?

I know this is twp questions into one but I really need a quick response and the Issue tracker site is not working at the moment

Thanks
H
Ivan Todorov
Telerik team
 answered on 17 Oct 2011
8 answers
216 views
Hello,
I want "four column headings" Merge to "1" header line.
is that possible?
Ivan Petrov
Telerik team
 answered on 17 Oct 2011
2 answers
306 views
I want to have a button in the filter row for cancelling all active filters.
Just like the Clear filters button in http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

Is this possible in winforms?
Dave
Top achievements
Rank 1
 answered on 15 Oct 2011
6 answers
321 views
Is there a way to increase the status indicator width for appointments?
Ivan Todorov
Telerik team
 answered on 14 Oct 2011
1 answer
84 views
The code sample for an Unbound grid in the Creating Rows Programmatically section is the same as the code in the Creating An Empty Grid section, as can be seen here.
Stefan
Telerik team
 answered on 14 Oct 2011
5 answers
277 views
I'm using 2011 Q1's RadListControl, and it doesn't seem to want to respond to right clicks.

I'm listening for MouseClick, but only left button mouse clicks are captured.
Stefan
Telerik team
 answered on 14 Oct 2011
2 answers
176 views
Hi Telerik team,

I am using an older version of Telerik (Telerik RadControls for WinForms Q3 2008 Sp2) in which command bar was named as ToolStrip (i think so).

I am facing an issue and stuck here. Can you please guide me here.

Basically i am adding ToolStripItem on ToolStrip using following code.

My sample code is as follows.

 

 

Private Sub AddItem(ByVal Pi_Index As Integer)
  
    Dim lObj_TStripElement As RadToolStripElement = New RadToolStripElement
    Dim lObj_TStripItem As RadToolStripItem = New RadToolStripItem
   
    Try 
        Try 
             lObj_TStripElement = TStripTop.Items(Pi_Index)
         Catch ex As ArgumentOutOfRangeException
             TStripTop.Items.Add(lObj_TStripElement)
     Finally 
         lObj_TStripElement.Items.Add(lObj_TStripItem)
     End Try 
     Catch ex As Exception
         MessageBox.Show("An unexpected error encountered " & Environment.NewLine & ex.Message())
  
 End Try
End Sub

Now if i call AddItem by giving it index in sequence then it implementation is fine. e.g.
call AddItem(0)
call AddItem(1)
call AddItem(2)

But if sequence of index changed then items/elements are not adding in provided sequence i.e.

AddItem(3)

AddItem(0)

AddItem(2)

AddItem(4)

AddItem(1)


Please note that i cannot send index in sequence. How i can add items in sequence using above method?

Thanks
Stefan
Telerik team
 answered on 14 Oct 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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?