Telerik Forums
UI for WinForms Forum
5 answers
178 views
I have the following situation.
        private void radMenuItem1_Click( object sender, EventArgs e )  
        {  
            dlgAssignSplits dlgSplits = new dlgAssignSplits();  
            if ( dlgSplits.ShowDialog() == DialogResult.OK )  
            {  
                //dlgSplits.Task  
                int insertAt = FindRowPosition();  
                ClipGrid gridItem = new ClipGrid();  
                List<ClipGrid> gridItemsList = UpdateClipTaskGrid();  //Gives back 6 rows  
                //gridItem = gridItemsList[insertAt];   // Changes the values in the row.  
                gridItem.Task = dlgSplits.Task;  
                gridItem.AssignedArtist = dlgSplits.Artist;  
                gridItem.AssignStatusDesc = dlgSplits.Status;  
 
                gridItemsList.Insert( insertAt, gridItem );  //gridItemsList has 7 Rows now  
 
                grdClipTask.DataSource = gridItemsList;  
                grdClipTask.Refresh();  //Form displays only 6 Rows.  
                  
                dlgSplits.Dispose();  
            }  
        } 


Please help me figure out why the stinkin grid won't update.
Anthony Terra
Top achievements
Rank 1
 answered on 12 Mar 2010
1 answer
402 views
1.  I've added a RAD context menu manager to my form.
2.  I've added a RAD context menu to my form.
3.  I've set the RadContextMenu property of my RadGridView appropriately.

At run time, when I right-click, I still see the default context menu and not mine. 

What gives?

Interstingly enough, I've found that my context menu DOES show up if there are no rows in my grid.  As soon as there are rows in my grid, the default context menu is displayed.


...AND THEN THERE WAS LIGHT!!!!

Ok, you must open the Property Builder for the Grid View.  Then you must select the "GridViewTemplate".  Then set the "AllowCellContextMenu" to false.  This seems pretty cheesy I must say.  Alot of work just to get the context menu that I want to be shown to be displayed.  Wouldn't one property on the grid itself be sufficient...something like "UseRadContextMenu"?
Nikolay
Telerik team
 answered on 12 Mar 2010
9 answers
596 views

HI,
    I have one issue regarding RadTabStrip. I have created two pages(Page 1 and Page 2) in RadTabstrip.In both the pages i have added two Radio Buttons and One Text box.Now I have subscribed Validating event of Text boxes of both the pages. I also have subscribed TabSelecting event of RadTabStrip.
                                                  Now in my scenario if validation of current Text Box is not done,I should not be able to select different tabPage.so to achieve this i have made  args.Cancel = true; this statement in TabSelecting Event.

C# Code :

private void radTabStrip1_TabSelecting(object sender, Telerik.WinControls.UI.TabCancelEventArgs args)
        {
            if (!Valid)
            {
                args.Cancel = true;
            }
        }

Here Valid is globla variable showing i need to stop tabChange.

Problem :

Suppose now i am on Page 1 and entered some Invalid entry in TextBox and I click on  page 2. Validation fires from Text Box and force me to be on page 1. Here Page 2 is not selected.This is fine for me,But now if i made Valid Entry in Text Box then I am able to change tab but not able to click( or change) Raido button on Page 1. Here I am suppose to change or select Radio button on same page in case of valid entry in Text Box.

Dobry Zranchev
Telerik team
 answered on 12 Mar 2010
1 answer
131 views
Is there a way to filter the appointments on the calendar dynamically?  I would like the user to have a few options to select from as far as what appoinments that they see.

I tried one method of filtering which is probably not the most efficient but could not get it to work anyways. I have a dataset that was built from code.  I tried rebuilding the dataset but it does not work because I get an error message about the table already existing.  I even tried removing the relationships and datatables before rebuilding but still get errors.  I tried dataset.Reset and dataset.clear but when I try to reuse the dataset I still end up with errors when adding the tables/relationships again.

I started researching a dataViewManager but have not got that to work yet.

If anybody has any suggestions it would be appreciated.


Dobry Zranchev
Telerik team
 answered on 12 Mar 2010
2 answers
191 views
how do i know when a document is selected in RadDock? is there any event fired when the selected document window changes?

i have tried using the Selected event of documentTabStrip under the RadDock but it doesn't fire when the selection is changed
Shaihan
Top achievements
Rank 1
 answered on 12 Mar 2010
1 answer
132 views
Hi,

I've tried to remove a row from RadGridView programmatically using Remove, RemoveAt methods of GridViewRowCollection, but the count of rows in collection is still the same (radGridView.Rows.IsReadOnly = false).

Regards,
Oleg
Julian Benkov
Telerik team
 answered on 12 Mar 2010
1 answer
140 views
Hi,

Is there a way to get the bindingnavigator to correctly reflect the radgridview after/during filtering?  I have the code that fixes it after sorting, but I don't have anything to fix it while filtering  so that it shows the correct number of records and that the go to beginning and go to end do the right thing.

Any ideas?

Thanks,

Eyal
Julian Benkov
Telerik team
 answered on 12 Mar 2010
1 answer
140 views
I've been trying to get color blending to work but I dont know if Im doing something wrong.
On my main form I set the entire Application to a theme

Private Sub Form_Load(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles Me.Load  
        ThemeResolutionService.ApplicationThemeName = "Office2007Black" 
Ive then been looking at this page and modified the code to use Office2007Black insted and used the same colors in the example but it doesnt look like anything is changing.  I also tried with the Desert theme and still nothing.
http://www.telerik.com/help/winforms/color_blending_.html
Deyan
Telerik team
 answered on 12 Mar 2010
1 answer
196 views
I've been looking at the documentation and samples and couldn't find any place where this is showed so I'm not sure this is possible. Can anyone confirm?

1. Display non continous worktime. For example from 8-14 and from 15-18. So noting that 14-15 is lunch time.

2. When you use the week view, and are on the right most day, it's very difficult to notice when are the hour frames. You just see a bunch of lines and nothing different on them, so it makes very difficult to clearly understand what timeframe are you selecting (we are using 15min default view). I'd like to mark the "hours" line stronger so it's a bit easier to get where you are.
Another option would be to display the time range on both the left and right sides of the scheduler.

Thank you,
Vicenç Masanas
www.disgrafic.com
Boyko Markov
Telerik team
 answered on 12 Mar 2010
3 answers
71 views
Dear Friends,

If  i am ignorant please ignore that and let me know, can i create setup for my windows application using telerik controls(i.e. replacing "Next" button with a telerik button)..? are you providing any strategy to make that possible..?

i know we have to write bootstrpper to modify screens of set up project in vs2008 but i want to clarify whether you are providing any way to achieve that.

any suggestion may help me a lot.

Thanks,
Regards,
Ravi

Peter
Telerik team
 answered on 12 Mar 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)
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?