Telerik Forums
UI for WinForms Forum
1 answer
124 views

While dragging the node from radtreeview into another control cursor becomes NO cursor. We want to change the cursor type.

Please provide us the solution. 


Stefan
Telerik team
 answered on 28 Nov 2011
5 answers
139 views
I face problem about RAD Gridview (Q3)

pin columns takes no effects for ColumnGroupsView and HTMLView

(as an example from telerik)

but it works fine for tableview

could you please tell me how can I solve this problem?

greetings,
Kae J.
Jack
Telerik team
 answered on 25 Nov 2011
6 answers
352 views
Hi All,

I need to exclude the mask characters from my MaskedEditBox.  Using MS's MaskedTextBox, the code to do this is:

myMaskedTextBox.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals;

Does anyone know of the equivalent?

Robert
Peter
Telerik team
 answered on 25 Nov 2011
4 answers
419 views
I'm implementing grouping in a RadGridView. The grouping is working fine. I was then asked to allow the user to switch between grouping and not grouping, so I added a couple of radio buttons then I call a subroutine (VB.NET) that performs the following logic when the user clicks on either of the radio buttons:

Private Sub Process_GroupByShipTo_CheckedChanged()
    If Not bControlsPopulated Then
        Exit Sub
    End If
    If rbGroupByShipTo.Checked Then
        rgvItems.EnableGrouping = True
        rgvItems.ShowGroupedColumns = True
    Else
        rgvItems.EnableGrouping = False
        rgvItems.ShowGroupedColumns = False
    End If
End Sub

Initially, when the form first loads, the default checked radio button is the Group By None radio button (rbGroupByNone). I click on the Group By Ship To radio button (rbGroupByShipTo) and grouping occurs. I click on the Group By None radio button and grouping goes away. But then, when I click on the Group By Ship To radio button once more, it no longer groups.

I then tried repopulating the gridview with the following code, but that did not work:

Private Sub Process_GroupByShipTo_CheckedChanged()
    If Not bControlsPopulated Then
        Exit Sub
    End If
    If rbGroupByShipTo.Checked Then
        rgvItems.EnableGrouping = True
        rgvItems.ShowGroupedColumns = True
        rgvItems.DataSource = Nothing
        rgvItems.Rows.Clear()
        PopulateDataGrid()
    Else
        rgvItems.EnableGrouping = False
        rgvItems.ShowGroupedColumns = False
    End If
End Sub


Thanks in advance for any suggestions,

Hector
Stefan
Telerik team
 answered on 25 Nov 2011
3 answers
186 views
My page contains a RadMenu with ClickToOpen = true.  After that, hovering over the menu will expand to display the child menu items.  Upon selection of one of the child menu items I open a modal RadWindow via javascript.  I also use javascript to collapse the radmenu (shown below).

The problem is that after the RadWindow is closed (no pastback occurs on the parent page), it is no longer necessary to click on the RadMenu to begin showing the menu items.  All the user needs to do is hover.  I have attempted to move the focus to another control on the page, but the RadMenu does not appear to lose focus.  I also tried using the blur() method in the code that collapses the menu, but that does not appear to work either.  How do I move the focus away from the menu so users must click on the menu to again open it?

Here is the javascript function to collapse (with the call to Blur to try to move the focus away from the RadMenu). 

function CollapseMenu() { 
    //close the menu 
    var menu = $find("<%= mnuActions.ClientID %>"); 
    var topMenuItem = menu.get_items().getItem(0); 
    topMenuItem.close(); 
    topMenuItem.Blur(); 
}


Thanks!

Sean M. Severson
Kate
Telerik team
 answered on 25 Nov 2011
6 answers
125 views
Hi,

Kindly help me with this...

I set the RadCalendar control to...
AllowMultipleView = true
MultiViewColumns = 6
MultiViewRows = 2

Each time I click the Prev/Next button, the view jump to prev/next 12 months. How can I set the buttons to just move 1 month per click. I should maintain the settings above. Thanks.


Kind regards,

Ian
Adam
Top achievements
Rank 1
 answered on 24 Nov 2011
1 answer
178 views
Hello, I am using the RadPageView in a dialog box with about 10 different tabs. I want to set the first tab to be selected by default programatically so I use the code:

RadPageView1.SelectedPage = tabAutomation

in the form load handler, and this works, however, when the page is rendered the selected tab is not visible. This seems to happen if a tab that is down the line was selected at build time. Is there a property that will bring the selected tab into view at runtime?

Thanks

Don Tompkins
Databound Solutions, Inc.
Stefan
Telerik team
 answered on 24 Nov 2011
1 answer
265 views
Hi,

    It is possible to get RadPropertyGrid instance from EditValue function (from UITypeEditor class) ?

Regards
Radek
Ivan Petrov
Telerik team
 answered on 24 Nov 2011
2 answers
121 views
Let me try to explain my problem.

I have a databound gridview... I have 2 different columns, one of the columns is a combobox column which takes it´s data from a database.
Let´s call 1st column "A" and the combobox column "B".
Column A can only accept 2 different values.
Column B takes it´s values from database based on the 2 possible values on column A.

Value 1 (in column A) has 12 different possible values in column B, and value 2 (in column A) has other 12 different values in column B. (one to many relation in database)
Right now I fill the combobox with the 24 different values (12 for value 1 and 12 for value 2, I get this values from database cause when I load the gridview I already know this 2 different values that will be allowed in column A).

What I want to achieve is that once I insert a value (from the 2 possible values) in column A, column B filters it´s values to only the 12 related to the value in column A and not the 24 related to the 2 possible values... so user won´t be able to select a value in column B not related to value in column A. And this has to be done on each row, that means that when the filter is applied it is only applied to the selected row, leaving the other rows with it´s own filter based on value in column A.

Any help will be welcomed

Thanks in advance

Jota
Top achievements
Rank 1
 answered on 24 Nov 2011
4 answers
1.1K+ views
Hi,

I have a problem counting the filtered rows, e.g. I have 50 rows in the grid's DataSource table but after applying a filter, only 10 rows are shown in the grid, so what I want to count is just these 10 row (version 2011.2.11.712).

The problem has come up already in this forum and I tried the following:

1.grid.Items.ItemCount: results in error as the grid does not have the property Items.
2.grid.MasterTemplate.ChildRows.Count: always returns just 1
3. looping through grid.Rows and checking the IsVisible property or each row: is true for all 50 rows
4. comparing the underlying table rows with grid.Rows[i].DataBoundItem as described in another thread here: does not do the trick either.

What am I missing here? Hope you can help me with this, thanks a lot in advance

 

Jens
Top achievements
Rank 2
 answered on 24 Nov 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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?