Telerik Forums
UI for WinForms Forum
2 answers
205 views
New to Telerik. I need to go through all the rows of my RadGridView, including ChildGridViewTemplates and change the content of a particular cell automatically.

Thanks 

Fernando Moragrega
Top achievements
Rank 1
 answered on 30 Sep 2010
4 answers
299 views
hi ,
   i am using RAdGridview in my windows form. I implemented forcolor change in rowformatting event. I have 2 gridview in my form. So i just think to generalize the row formatting to work both gridview. But according to gridview name i just change the forcolor. How can i get gridview name in the rowformatting event
Akhil Raj
Top achievements
Rank 1
 answered on 30 Sep 2010
4 answers
130 views
Please check the attached screen and application.
Selection of row is not working properly.

I ve sample code ready if you want.
Jack
Telerik team
 answered on 30 Sep 2010
4 answers
249 views
When initially loading the scheduler, how do you get the resources assigned to appointments?  I want to see the resource automatically assigned in the resource dropdown in the Edit Appointment Dialog and also see resources assigned to appointments when viewing the scheduler in grouping by resource view.

I am using a business object for my appontments and manually assigning resources (people) from by database in the Resources collection of the Radscheduler.  I am using the  AppointmentMapping object to assigned the resourceID to the appointment.  The appointments show no relationship to resources...
thanks,
Mike


 

 

Mike
Top achievements
Rank 1
 answered on 29 Sep 2010
3 answers
108 views
I have a background image that will be the same for all items, but I want 3 lines of text in front of the image that will vary for each item.  The text will be coing from a database.   

I cannot figure out which type of item I should use and how to bind the 3 text fields.  I am using VB on this one. 

Vassil Petev
Telerik team
 answered on 29 Sep 2010
2 answers
113 views
Hello,

I have been having this problem for a few days now.  I initially had Telerik Winforms 2010 sp1 installed on VS 2010 (running on win 7 32 bit).   After creating serveral forms ( with tree controls, tab controls, grids, text boxes etc.)  I ran into an error where VS reports "Visual Studio has encountered a problem and needs to shut down".  Upon restarting and attempting to open the project,  I receive the same message and can no longer open my project without VS crashing.  I went back to using VS 2008 (under Vista) and installed Telerik Winforms 2010 sp2.  Upon recreating the project, I created several forms and ultimately I receive the same error.  I am wondering if anyone else has encountered this issue?

Thanks In advance,

John
Peter
Telerik team
 answered on 29 Sep 2010
2 answers
352 views
In MDI application, i have placed New,Edit,Delete buttons in parent form.
I have a child form to display the data in listview.

Problem is;
To delete a record in listview child form,process is like 'Select row in listview in child form, then click Delete button in parent form which will ask for confirmation in message box; once clicked yes it deletes the record but child form doesn't activates to refresh the listview.

Any idea how to activate child form from parent (child form is visible), am using vs2008
Stefan
Telerik team
 answered on 29 Sep 2010
2 answers
619 views
We have tried setting the BackColor property of the RadDropDownList in both the designer and in the code behind.  Attempting to set the BackColor to a solid color (ie. this.RadDropDownList.BackColor = System.Drawing.Color.Red;) does not see to work.

We can't seem to find the correct property to set the background color of the RadDropDownList.  How can we set the background color on this control?

Thank you for any help and information you can provide.
Jeremy
Peter
Telerik team
 answered on 29 Sep 2010
3 answers
170 views
Hello there,

I'm using a radGridView and the content comes via dataSource. The content is grouped by an expression, that's all fine so far. Now I need to perform (it would be really nice) an action if the user clicks on the GroupHeaderLine. It should be possible to do an action for the whole group (a menu should open then). Is this possible in Q2 2010?

Greetings
David Dorst
Top achievements
Rank 1
 answered on 29 Sep 2010
2 answers
136 views
Hi,

i am currently implementing a custom filter dropdown with radgridview, but i get confused with the following problem.

For simplification just imagine i have two columns, Status and Status2.
Status is just a representation of 0 or 1. Status2 is an image representing the status.

If i click the filter symbol inside of the TableFilteringRow my custom dropdown will be opened.
After choosing an option a handler fires and the filter is being applied to the column "Status".
That works as i would expect it.

But if i try that the second time, my custom dropdown shows up, i choose another option,
the handler fires but the filter symbol seems to be still pressed. And that is the reason why the data inside the gridview cannot be filtered because the filter action is not yet finished until i click into another column/row.

See also the attached image for better understanding what i mean.

Here is the code:
Private Sub grdViewPostleitregion_ContextMenuOpening(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.ContextMenuOpeningEventArgs) Handles grdViewPostleitregion.ContextMenuOpening
        If (e.ContextMenuProvider Is Nothing) Then
 
            e.ContextMenu.Items.Clear()
 
            Dim dtMenu As New RadDropDownMenu
 
            Dim r As RadMenuItem
            Dim sepItm As RadMenuSeparatorItem
 
            'No Filter
            r = New RadMenuItem
            r.Text = "No Filter"
            dtMenu.Items.Add(r)
            AddHandler r.Click, AddressOf PostRegionNoFilter_Click
            'Separator
            sepItm = New RadMenuSeparatorItem
            e.ContextMenu.Items.Add(sepItm)
 
            'Imagefilter
            r = New RadMenuItem
            r.Image = My.Resources.Status_0
            r.Text = "OK"
            dtMenu.Items.Add(r)
            AddHandler r.Click, AddressOf PostRegionStatus0_Click
 
            r = New RadMenuItem
            r.Image = My.Resources.Status_1
            r.Text = "Warning"
            dtMenu.Items.Add(r)
            AddHandler r.Click, AddressOf PostRegionStatus1_Click
 
            e.ContextMenu = dtMenu
 
        End If
    End Sub
 
    Private Sub NoFilter_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        With Me.grdViewPostleitregion
            .Columns("Status").FilterDescriptor = Nothing
 
            .CurrentColumn = .Columns("Status")
            .CurrentRow = .MasterView.TableFilteringRow
        End With
    End Sub
 
    Private Sub Status0_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        Dim Filter As New FilterDescriptor()
 
        Filter.Operator = FilterOperator.IsEqualTo
        Filter.Value = 0
        Filter.IsFilterEditor = False
        With Me.grdViewPostleitregion
 
            .Columns("Status").FilterDescriptor = Nothing
            .Columns("Status").FilterDescriptor = Filter
 
            .CurrentColumn = .Columns("Status")
            .CurrentRow = .MasterView.TableFilteringRow
 
            .MasterView.TableFilteringRow.Cells(0).IsSelected = True
 
        End With
    End Sub
 
    Private Sub Status1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        Dim Filter As New FilterDescriptor()
 
        Filter.Operator = FilterOperator.IsEqualTo
        Filter.Value = 1
        Filter.IsFilterEditor = False
 
        With Me.grdViewPostleitregion
 
            .Columns("Status").FilterDescriptor = Filter
            .CurrentColumn = .Columns("Status")
            .CurrentRow = .MasterView.TableFilteringRow
 
            .MasterView.TableFilteringRow.Cells(0).IsSelected = True
        End With
    End Sub

How can i fix that?
Martin Vasilev
Telerik team
 answered on 28 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?