Telerik Forums
UI for WinForms Forum
2 answers
257 views

Hello,

My RadTreeView is in bound mode (not sure of the relevance of this, considering I can't get this event to work in unbound mode either), and I've tried just about every meaningful event that I could find, but still can't find one that fires after a node's text is changed.

What I've tried:
RadTreeView1.TreeViewElement.TextChanged
RadTreeView1.TreeViewElement.Edited
RadTreeView1.SelectedNode.PropertyChanged
RadTreeView1.Edited

Is there an event that fires after a node's text is changed? If not, does anyone know of a workaround? I'd like to make sure the user does not assign two nodes the same text.

Thanks!

Dimitar
Telerik team
 answered on 23 Oct 2015
1 answer
106 views

Hopefully this is a dumb question with a simple solution.

I have an unbound gridview with AllowRowReorder enabled. When the user drags and drops a row to reorder the contents of the gridview I want to do something. Is there an event for when this occurs?

Dimitar
Telerik team
 answered on 23 Oct 2015
2 answers
341 views

 Hi there,

 I apologize if this is answered elsewhere. I tried searching and I couldn't find anything that worked for my need.

 I'm trying to put together a demo project to sell the need for Telerik to the company I work for. The thing I wanted to impress them with was the RadGridViews. In my former job, which feels like a lifetime ago, I worked a lot with the ASP.NET ones, and now I'm trying to work with the WinForm ones and... failing on this issue.

 We currently have a "report" which pulls data from a database using a stored procedure. It's called using a method GetClientInfo and passing in various information (Department and Employee ID). This then fills a DataGridView. When the user finds a Client they want to view they click a button and it loads a second grid underneath containing the Case details of each Client and the total outstanding Bills, GetFileInfo, passing in the ClientNo that it got from the previous grid. What I therefore want to do with the Grid, which I remember doing in the ASP.NET version, is to load the original data into the top level, and then load child rows for the GetFileInfo based on the row.

 It needs to work something like:

GridUnpaidBills.DataSource = GetClientInfo(department, employeeId);

And then, depending on the PLUS they click, it needs to load the child source:

ChildSource = GetFileInfo(GridUnpaidBills.SelectedRows[0].Cells["ClientNo"].Value.ToString());

Does that make sense? I don't know the ClientNo until the PLUS is clicked for that row, so what I was looking for was an On Demand load for the Child, and while I've looked at the help pages and elsewhere I've found various code that sets out a relation using existing tables, but I need to use the method to access the Stored Procedure to retrieve the data as I (currently) have no way of retrieving it otherwise, and I don't want to have to rewrite all the stored procedures for a demo project.

Hopefully I've explained this properly, and hopefully someone can help me out.

Apologies again if it's ridiculously obvious and I'm just not seeing it.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2015
3 answers
149 views

Hi,

I am trying to create custom shaped form but I do not see the difference:

 

public partial class FormToolTipError : Telerik.WinControls.UI.ShapedForm
{
    public FormToolTipError()
    {
        InitializeComponent();
         
        Telerik.WinControls.CustomShape customShape = new Telerik.WinControls.CustomShape();
        customShape.AsString = "20,20,200,100:20,20,False,0,0,0,0,0:220,20,False,0,0,0,0,0:220,120,False,0,0,0,0,0:20,120,False,0,0,0,0,0:";
        this.Shape = customShape;
 
        ...

 

 

Dimitar
Telerik team
 answered on 22 Oct 2015
6 answers
858 views
Here's my situation.

I have grouped view (dayview) with only 2 resources visible at a time.  If I add 3 resources to the scheduler, I end up with a horizontal scrollbar to scroll between the 3 resources, keeping 2 on the screen at a time.  This is fine, and works correctly.

However, I am modifying the SchedulerCellElement's to suit my business needs, so when I take an action on the schedule, I rebuild the view with custom background colors, etc.

Now when I scroll the view, it appears that its reformatting and repainting the whole schedule view element.  That's fine as well.  But I cannot seem to find the event for this, so that I can attach to that, and reapply my business logic to the view element.

The RadScheduler exposes a Scroll Event, but it doesn't seem to fire.

What I am missing here??
David
Top achievements
Rank 1
 answered on 22 Oct 2015
2 answers
394 views

I'm wanting to use the navigator on a stock page. We have something in the regions of 11000 stock items so I also need to offer a search function based on our part numbers. 

After the user has found the item they want I would like them to be able to navigate either side of that item using the navigator. 

I am using the Entity Framework and Linq to Entities. 

 I load data to the navigator with

1.var stock = (from s in context.Stocks
2.             select s).ToList();
3. 
4.            this.bindingSource1.DataSource = stock;
5.            this.bindingNavigator1.BindingSource = bindingSource1;

 

How can I find the position of my item and then set the binding navigator to that position?

Thanks, 
Victoria

Victoria
Top achievements
Rank 1
 answered on 22 Oct 2015
2 answers
108 views

I'm using C#
Telerik UI for Winforms Q3 2015
Using a RadForm.
I have a radgridview. 
I'm trying to get a Boolean Column to show as a Checkbox column.
            gridViewComboBoxColumn1.DataSource = this.propertiesBindingSource;
            gridViewComboBoxColumn1.DataType = typeof(bool);
            gridViewComboBoxColumn1.DisplayMember = "lease_up";
            gridViewComboBoxColumn1.EnableExpressionEditor = false;
            gridViewComboBoxColumn1.FieldName = "propertynumber";
            gridViewComboBoxColumn1.HeaderText = "column2";
            gridViewComboBoxColumn1.Name = "column2";
            gridViewComboBoxColumn1.ValueMember = "property_number";
This returns True or False as it should.

I want to use the DisplayMember Value for a CheckBox
            gridViewCheckBoxColumn2.EnableExpressionEditor = false;
            gridViewCheckBoxColumn2.Expression = "LeaseUp ";
            gridViewCheckBoxColumn2.FieldName = "LeaseUp2";
            gridViewCheckBoxColumn2.HeaderText = "Lease Up 2";
            gridViewCheckBoxColumn2.IsAutoGenerated = true;
            gridViewCheckBoxColumn2.MinWidth = 20;
            gridViewCheckBoxColumn2.Name = "LeaseUp2";
            gridViewCheckBoxColumn2.ReadOnly = true;
            gridViewCheckBoxColumn2.Width = 80;

To Make sure what value was being passed I added the TextBox Column Below for testing
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.Expression = "column2 ";
            gridViewTextBoxColumn2.HeaderText = "column1";
            gridViewTextBoxColumn2.Name = "column1";
            gridViewTextBoxColumn2.ReadOnly = true;
The Value returned by the Expression is the ValueMember (property_number)
and not the DisplayMember (lease_up)
What do I need to put in the Expression of either the TextboxColumn or
CheckBoxColumn to return gridViewComboBoxColumn1.DisplayMember (lease_up Boolean value)?
Any help will be greatly appreciated.
Thanks,

Tommy
Top achievements
Rank 1
 answered on 21 Oct 2015
3 answers
177 views

Hello,

 

is there any way to access a collection of the cells/rows that match the search criteria?

I'm trying to implement a combined search/filter - function -- using the SearchProgressChangedEvent to hide all rows that do not match the search criteria.

 

 

Kind regards,

Andreas

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2015
1 answer
185 views

Thank you

first question

i don't want selected rectangle that i select item(using fullrowselect)

please see a picture

 

second question

i want that header isn't clicked

how can i do??  thanks!!

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2015
1 answer
168 views
How can I completely remove the RadForm FormInnerBorder either through the Visual Style Builder or in my code which implements a RadForm?  I need visibility to go away along with all padding so that my inner control bounds can fill up to the outer border without the inner border still taking up about 3 pixels of space on the left, right, and bottom of the form.
Dimitar
Telerik team
 answered on 21 Oct 2015
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
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
Styling
Barcode
BindingNavigator
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?