Telerik Forums
UI for WinForms Forum
3 answers
308 views
I've dynamically added a RadSpinElement to my RadRibbonBar and I'd like to make it so that the MouseWheel scrolling does not affect the value in the textbox. I'd like the user to have to either hold down the up/down arrow or type in a value.

Is there an event or property I can use to achieve this?
Svett
Telerik team
 answered on 12 Oct 2012
3 answers
579 views
how can i avoid DateTimePicker crashing?
when I set DateTimePicker to minimum value of 01.01.0001 (ex. when you set it to Null value) and then open calendar (positioned at 01.01.0001) and move a month (or a year) earlier - application crashes.

when it's a simple DateTimePicker i can set a minimum value and a null value to secure the situation.
but when DateTimePicker is a part of RadGridView column type of DateTime, i have no ability of setting values of Minimum or Null for it. 

do you have any solutions for this situation?
Peter
Telerik team
 answered on 12 Oct 2012
7 answers
1.5K+ views
Hello:
I have a problem when i set the property FormBorderStile = None.
The problem is because the size of the form change.
For example i set the size on (400,300), save and close the form; when i open the form, its size have been changed.
what's the solution for it?

thanks.
Stefan
Telerik team
 answered on 12 Oct 2012
6 answers
330 views
Hi
I've been spending a long time now trying to fix this problem. I cannot figure out why it is happening and I cannot fid a way to fix it at all.
What is happening is all the listbox elements are being fixed within the scrolling div. So the page content scrolls but the listboxes stay put, floating above the rest of the content. It only does it in IE7 and below. Also, the Drag-Drop boxes stack instead of being side by side.

The code resembles this:

        <div class="field">  
            <div class="label"><asp:Label ID="lblSubRecOrg" runat="server" Text="Sub Receiving Organisation"></asp:Label></div>  
            <div class="tbindent">  
                <telerik:RadListBox ID="lstSubOwnOrg" Height="100px" Width="200px" SelectionMode="Multiple" runat="server"    
                    AllowTransfer="true" TransferToID="lstSubOrgDragDrop" EnableDragAndDrop="true" AutoPostBackOnReorder="true" Skin="EetsaSkin" EnableEmbeddedSkins="false">  
                </telerik:RadListBox> 
                <telerik:RadListBox ID="lstSubOrgDragDrop" Height="100px" Width="200px" runat="server"   
                    AllowReorder="true" EnableDragAndDrop="false" AllowTransfer="false" Skin="EetsaSkin" EnableEmbeddedSkins="false">  
                </telerik:RadListBox> 
            </div> 
        </div> 

The theme is a slightly modified "Vista" theme; the only modifications to the theme so far have been color changes.

The listboxes are inside a div with the stlyes height set and overflow to auto. This creates the div in which the listboxes are stuck and floating over. That div is within another that does scroll normally so the listbox issue is related to that div only. I have tried changing with !important the postion and display settings as well as wrapping the listboxes in another div again. Nothing works. Of note, the .tbindent div they are in doesn't move, but the .radlistbox one created does. So they are jumping out for some reason. I put a new wrapping div around them, immediatly within the .tbindent, and that new wrapping div jumped out of the .tbindent div as well. So what reverse css inheritance is happening here?

 Why are they stacking instead of being next to each other? Why are they floating and not scrolling with the rest of the div? Why are all the listboxes doing it and no other controls? 
 
Kate
Telerik team
 answered on 12 Oct 2012
2 answers
127 views
Hi

We have a self referencing hierarchical grid that contains rows with multiple parents.  For example, if I denote '->' as 'is a parent of', then we have:
A -> B -> C
A -> D -> C

Note that C is a repeated row in the GridData.

Now C also has child rows, ie.:
C -> D
C -> E

The RadGrid correctly displays the children of C under each occurrence of C (even though nodes D & E are not repeated in the GridData).  The grid (correctly again), treats each occurrence of D and E as the same (i.e. references to 1 object and not copies of it).

The problem appears when I set D or E to IsCurrent (i.e. dataCell.RowInfo.IsCurrent = true; where D or E is contained in the dataCell).  Both rows get highlighted which is great, however, when the user double-clicks on the cell to edit it, the edit box appears on the first occurrence, even if they double-click on the 2nd or other occurrences.  Additionally, once edited only the first occurrence (where the edit box appears) changes it's value on the screen.

So how do I:
1. Make the edit box appear on the row that the user double-clicked on?
2. Update all occurrences of the same record on the screen?

Thanks

Clinton Smyth
Top achievements
Rank 1
 answered on 11 Oct 2012
1 answer
96 views
Hi guys,

     need help in removing the right border of a cell to look like the following cell is merge to first cell. sample code is very much appreciated. Thanks in advance.
Anton
Telerik team
 answered on 11 Oct 2012
2 answers
147 views
I am trying to implement custom grouping and can't get it working when i group on more than one level. Can you provide an example on how this ca be done.
Lars
Top achievements
Rank 1
 answered on 11 Oct 2012
2 answers
104 views
Is there a seamless way to circumvent the RadRibbonBar start menu so the RadPageView can be invoked without ending up with dual menu's to simulate the Office '2010 environment?
In Outlook '2010 - the Backstage is immediately invoked when clicking the equivalent "start menu" button and the Page gets docked to the bottom of the RibbonTab strip. Trying to accomplish the same thing without first having the StartMenu display since it's redundant when using a "backstage" style approach unless I'm missing something.
Docking the RadPageView is not a problem and minimizing the RRB to just the toolstrip is not the problem - just trying to figure out how to to avoid the additional menu to invoke the RPV directly in BackStage mode
Using 12-Q2 with VS 2012 - VB.Net
Karl
Top achievements
Rank 1
 answered on 10 Oct 2012
4 answers
714 views
Hi,

We are currently implementing a control that lets a user specify a date range within our application.  This seems like an ideal use of two DateTimePicker controls (start and end date).

The problem is that we want the textbox element of this control to display the datetime in a way that does not seem to be supported by the general custom date format characters.

The company uses a format of YYYYWW (week-week) to represent it's dates and that's the preferred format any date input.

Is there any way to tell the text element to call one of our methods to convert the date from the calender control rather than the standard DateTime.ToString("custom format") method.

Thanks
JP
Peter
Telerik team
 answered on 10 Oct 2012
1 answer
150 views
Hello,
I'm new to the radGridView component and HtmlViewDefinition and I'm not sure about understanding it. I have to do something like this:

Inside a grid, display with load on demand a new table with this style:

+------------ +------------------------+---------------+------------+  
|  IMAGE   |     SIZE        |   39        |    40     |    Sizes created dinamycally
|               +------------------------------+---------+  
|               |    QUANTITY  | txtBox1   | txtbox2 |    ......txtBox to insert the quantity...............
+------------------------------------------------------+




In the other projects I've done, I created the template at the form load, and filled it when the rowSourceNeeded event was fired. 
But now, i have to create the template dinamycally, and with that style (with HtmlViewDefinition?). Is this possible? What are the steps to do? Any ideas, please!

Thank you!!

Jack
Telerik team
 answered on 10 Oct 2012
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
NavigationView
VirtualKeyboard
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?