Telerik Forums
UI for WinForms Forum
6 answers
461 views
Hi,
We are using radtreeview to display data from multilple related tables. We have followed the example application at http://www.telerik.com/help/winforms/tree_datarelational.html. By following the steps data is correctly displayed. Further we need to save the changes made by drag drop back to database. What is the best way for doing this? On DragEnded I am trying to see the changes made to the underlying dataset but HasChanges() method when called in dataset returns false. 

kindly, suggest me the way to achieve this.

Thanks,
Avinash Tauro
Avinash Tauro
Top achievements
Rank 1
 answered on 23 Sep 2010
3 answers
1.3K+ views
I am migrating my code from using RadPanelBar to using RadPageView.  In my code, I was able to select a given Panel by setting a boolean:

myRadPanelBarGroupElement.Expanded = true;

What is the equivalent call for a RadPageView page?  I scrolled through all commands, and tried a few, and nothing worked.  I admit I didn't try them all, though.

Any advice will be appreciated.
Alexander
Telerik team
 answered on 23 Sep 2010
1 answer
123 views
Hi,

I am working with a manually bound scheduler.

Once an appointment is added, deleted or changed I need to add or adjust the database. I can find the AppointmentDeleted event on the scheduler but cannot find either the appointment insert or update events. Reading through the forum it appears that this may have been made availalbe through some other method but I cant seem to to work it out.

I can see some reference to the Appointments.CollectionChanged event, but I can't see that either.

Can you please point me in the right direction?

Version: Q2 2010 SR1 - VB.Net

Regards
Steve
Dobry Zranchev
Telerik team
 answered on 23 Sep 2010
2 answers
181 views
I'm trying to populate the right site of the start menu on the rad ribbon bar with recently access documents. I see how I can load items into there, but how do I handle the events for the clicks if they are being added at run time? Here is my code for adding an item:

 

 

Dim Item As New Telerik.WinControls.UI.RadMenuItem

 

Item.Name =

 

"TestItem"

 

Item.Text =

 

"This is a test menu item"

 

RadRibbonBar1.StartMenuRightColumnItems.Add(Item)


So now how do I programaticly handle the click even for that menu item? Usually I add a click handler through the visual studio IDE for items that already exist... Any help would be appreciated!

Stefan
Telerik team
 answered on 23 Sep 2010
3 answers
316 views
Hello,

I was wondering if there are any examples of how to list recently opened documents by my app in the ribbon menu?  I am using C# .net 3.5.

Thanks,
Dave
Peter
Telerik team
 answered on 23 Sep 2010
1 answer
72 views
I'm new to Telerik controls. Two days back only I dowmloaded the control. I'm trying to create the report
I'm calling the Stored Procedure which will retrun Status Desc and the count
(Completed - 2 , Pending - 3 Inprocess - 5 Submitted - 10) I need to create the Chart to give overview of the status.

Dim

 

cmdSQL As SqlCommand = New SqlCommand("ExecutiveReportOverView", sqlcon)

 

cmdSQL.CommandType = CommandType.StoredProcedure

cmdSQL.Connection.Open()

 

Dim da As SqlDataAdapter = New SqlDataAdapter(cmdSQL)

 

 

Dim ds As DataSet

 

ds =

New DataSet

 

da.Fill(ds)

I tried the Following Statements for RadChart it doesn't work.

 

RadChart1.DataManager.DataSource = ds

RadChart1.DataManager.DataBind()

What should I do to get the values in the chart?

Thanks

Ves
Telerik team
 answered on 23 Sep 2010
4 answers
266 views
Hi, 

I need to change the font colour of a cell value when I don't have access to CellElement (I understand that in the new version of the grid, this is a problem)

Is it possible to apply conditional formatting to a column based on the value of a different column?

For example: 
If in Row 1, the value of Cell X = 123 then add a conditional formatting object to Cell Y

Thanks
Richard
Richard Slade
Top achievements
Rank 2
 answered on 23 Sep 2010
3 answers
184 views
We are trying to bind 100K records with 300 columns to GridView. First time the Data is loaded fine. For the second time we get the out of MemoryException. I am Binding the grid with dataset. Please advise.

Any help is appreciated!!!
Jack
Telerik team
 answered on 23 Sep 2010
4 answers
274 views
Hey guys,

Not sure if this is a bug or if I'm just doing something wrong.

I'm using a multiColumnComboBox with AutoFilter set to true.
  1. Open the drop-down box (optional, see 3)
  2. Type some text into the box.
  3. Open the drop-down box (optiona, either 1 or 3 is same)
  4. Select an entry with mouse or keyboard - same effect
  5. Try to type new text into the box.

After step 5, my box is looking up for each individual character I type, and selecting the first entry on each return..

After step 5, if I open the box first and then type, the box will select and close after I hit a single character. 

After step 5, if I hit the semicolon, no character will appear in the box - but the fiddly behaviour goes back to normal.

Not sure if this is to do with my code or not. Here's the section where I bind to the multiColumn:

        internal void FillDropDowns(bool bRefill) 
        { 
            string sSuburbText = this.mcboSuburb.Text; 
            // string sTownText = this.cboTown.Text; 
 
            if (bRefill) 
            { 
                this.LocationsSentTo.Clear(); 
                this.LocationsSentToTableAdapter.Fill(this.DataSet, "LocationsSentTo"); 
            } 
 
            this.mcboSuburb.DataSource = this.LocationsSentTo; // This is a wrapper property around the DataSet table referred to above. 
            this.mcboSuburb.DisplayMember = "postCode_prefix"; 
            this.mcboSuburb.ValueMember = "postCode"; 
 
            RadGridView gridView = this.mcboSuburb.MultiColumnComboBoxElement.EditorControl; 
 
            GridViewDataColumn prefixColumn = gridView.Columns["postCode_prefix"]; 
            prefixColumn.HeaderText = "Suburb"; 
            prefixColumn.Index = 0; 
            prefixColumn.BestFit(); 
 
            GridViewDataColumn postCodeColumn = gridView.Columns["postCode"]; 
            postCodeColumn.HeaderText = "PostCode"; 
            postCodeColumn.Index = 1; 
            postCodeColumn.BestFit(); 
 
            GridViewDataColumn sentToColumn = gridView.Columns["sentTo"]; 
            sentToColumn.HeaderText = "SentTo (D)"; 
            sentToColumn.Index = 2; 
            sentToColumn.IsVisible = Program.DebugMode; 
            sentToColumn.BestFit(); 
 
            GridViewDataColumn siteIdColumn = gridView.Columns["siteId_fk"]; 
            siteIdColumn.HeaderText = "Site ID (D)"; 
            siteIdColumn.Index = 3; 
            siteIdColumn.IsVisible = Program.DebugMode; 
            siteIdColumn.BestFit(); 
 
            if (this.mcboSuburb.EditorControl.MasterGridViewTemplate.FilterExpressions[this.mcboSuburb.DisplayMember] == null) 
            { 
                FilterExpression filter = new FilterExpression( 
                    this.mcboSuburb.DisplayMember, FilterExpression.BinaryOperation.AND, 
                    GridKnownFunction.Contains, GridFilterCellElement.ParameterName); 
 
                filter.Parameters.Add(GridFilterCellElement.ParameterName, true); 
 
                this.mcboSuburb.EditorControl.MasterGridViewTemplate.FilterExpressions.Add(filter); 
            } 
 
            this.mcboSuburb.SelectedItem = null; 
            this.mcboSuburb.Text = sSuburbText; 
        } 

Note that the FillDropDowns is not being called by any events while the typing or opening is taking place.
Jack
Telerik team
 answered on 23 Sep 2010
1 answer
101 views
Hi,

I have a label updating a value from a plc, sometimes the formatting of this radLabel seems to get lost and it will only show 3 out of 6 numbers.

It is alligned MiddleRight.

Is there a kind of Telerik log showing if something went wrong with formatting and other Telerik controls??
Peter
Telerik team
 answered on 23 Sep 2010
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?