Telerik Forums
UI for WinForms Forum
3 answers
220 views
Hi :

     How to set GrdViewComboBoxColumn by DisplayMember sorting?

     Now,I find the GridViewComboBoxColumn by ValueMember sorting.

Greetings!
Look forward to you!
Ajing
Stefan
Telerik team
 answered on 22 Nov 2011
3 answers
162 views
I have noticed both in the demo and my own test code that if a property is any numeric type, the max value is 100.  How do I control this?

Also, I noticed that on the validating, the data types of the OldValue and NewValue are not the same, e.g.  OldValue is Integer but NewValue is Decimal.
Ivan Petrov
Telerik team
 answered on 22 Nov 2011
2 answers
93 views
Hi,
I have a radProgressBar that I'm using in a sync component.  I pass the RadProgressBar with a byref into the sync class expecting that when I update the Value1 parameter it will change the bar position.

If I set the Value1 field just before the sync command from within the form it works fine but if I try the same thing once in the sync component it doesn't update the field.  

Now I thought that using byRef would work - it certainly used to.

Any pointers (pun intended)?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 22 Nov 2011
5 answers
234 views
Hi,

I just installed the Q3 2011 and I'm having a lot of problems. My installation process was like this:
1. Uninstall prevous release (Q2 2011)
2. Install Q3 2011
3. Start VS - 2010
4. When I try to use the "Telerik|Radcontrols for WinForms|Upgrade Wizard" menu option I'm receive the following error message:
---------------------------
Microsoft Visual Studio
---------------------------
Object reference not set to an instance of an object.
---------------------------
OK  
---------------------------

Any suggestions?

Francisco
Aylin
Telerik team
 answered on 22 Nov 2011
1 answer
88 views
Hello,
I'm unsing the RadChart and it's very interesting. but sometimes my Rachart datasource has many datas and the XAxis can not display them all (of course, because sometimes more than a thousand chartitems are returned to the radChart).
So I want to use a bindingnavigator to navigate through them. is it possible? how?
Else, can you explain me another solution to navigate through my radchart when there is a lot of datas returned?

Thank you.
Ves
Telerik team
 answered on 22 Nov 2011
3 answers
273 views
Hello,

Is there a way to capture the Escape key just before the RadTreeView controls exists the edit mode? We have a workflow in which a node can be added and the control is set to the edit mode, so the user is foced to update the node text. But if the user cancels editing by pressing Escape we want to remove the node and keep it if the user pressed Enter. Which we could do in the standard TreeView control by using the KeyPress event. But the RadTreeView does not fire the KeyPress event when it enters the edit mode. Is there a work around this issue or i will need to submit a feature request?

Thanks,
Grigoriy
V
Top achievements
Rank 1
 answered on 22 Nov 2011
1 answer
104 views
Hi,

in the same column, I can have 2 different types of cells?

i have this need:

Col1      Col 2     Col 3
text text text
text text text
text text Image
text text Image

Thank


Jack
Telerik team
 answered on 21 Nov 2011
3 answers
289 views
I have my RadPageView control setup as ViewMode "Outlook" in my winforms C# application. In my requirement, I have a limited space to display the control (about 600px of height). When the control has more than 5 pages added, the view panel (the open area above the page selectors) is made smaller and cuts off the content. I would like to know if there is a way to enforce a minimum height on this area so that the control will automatically collapse page selectors it cannot fit in this confined space. I need about 300px of height for each page.

I have already tried setting the MinimumSize property on each RadPageViewPage. However, when I do this, the page view page "bleeds" over the top of the page selectors. I was expecting the grip to automatically resize to allow for this minimum height requirement.

Please see the screen shots from my sample application attached.

Edit:
I am using the RadPageView control from Q2 2011 SP1

Update:
I was able to achieve what I was looking for using the following code snippet and calling it from the "Initialized" and "Resized" events. I would still like to know if the control already supports this without having to write this snippet.

private void adjustPageViewGrip()
{
    RadPageViewOutlookElement viewElement = (RadPageViewOutlookElement)radPageView.ViewElement;
    int minHeight = 310;
    int itemHeight = radPageView.SelectedPage.Item.Size.Height;
    int selectedPageHeight = radPageView.SelectedPage.Height;
 
    if (selectedPageHeight < minHeight)
    {
        int hide = (int)Math.Ceiling((double)(minHeight - selectedPageHeight) / (double)itemHeight);
        if (hide > 0)
        {
            viewElement.HideItems(hide);
        }
    }
    else if ((selectedPageHeight + itemHeight) >= minHeight)
    {
        int show = (int)Math.Floor((double)(selectedPageHeight - minHeight) / (double)itemHeight);
        if (show > 0)
        {
            viewElement.ShowItems(show);
        }
    }
}


Stefan
Telerik team
 answered on 21 Nov 2011
2 answers
65 views
I was just looking at some demos, looked at code and decided to do a copy and paste to Visual Studio 2010.

I was surprised to see all of the code render onto ONE LINE.

Using JustCode Reformat -- semi-fixed it... at least until the first comment line... repeated until the code was across.

It would be nice to have:
  • Copy Code button on the demo page... which keeps the formatting...
  • Have the ability to copy selections while retaining formats.
Thanks!
Stefan
Telerik team
 answered on 21 Nov 2011
5 answers
201 views
I am building a virtual mode grid where I manage everything from loading, sorting and filtering

But I am stuck in filtering where I want to display my own controls at the top of each column with filtering enabled nad then start filtering over my data source when user press enter

I search the forumn regarind any similar solution but with no luck

Plese help
Julian Benkov
Telerik team
 answered on 21 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?