Telerik Forums
UI for WinForms Forum
1 answer
93 views
Hi! Im using Q1 2011 with VB.Net 2010
I had some issue here where will like to get the solution.
Im using Telerik Calendar where i set the multipleselect = False
mean always only 1 date is selected.

As default when run the application. SelectedDate = Today (21/09/2011)
then i select other day(23/09/2011). From calendar i always see 23/09/11 is selected.

Now i want a via code. which i will clear the selected date 23/09/2011 and via code selected date = 29/09/2011

How to do it?

Other issue:
By default my calendar selecteddate = Today(21/09/2011) and i get the value by via code and set to a label.
Now i select again the same date the value from via code, it become 01/01/1900. The correct value suppose to be 21/09/2011

The code i use to get the selected date :

msgbox(RadCalendar1.SelectedDate.Date)

Hope to get the answer as soon as posible cause this is urgent....
Thank!

Regards
Johnny


Johnny
Top achievements
Rank 2
 answered on 21 Sep 2011
1 answer
93 views
hi,
i've a little display bug.
Look at the 3 screenshots.
c1 : My gridview before expand
c2 : gridview expanded
c3 : After expand, i see a check box, and borders of my columns

an idea ?

NB : i'm using Q2-2011 version (enjoy the new Office 2010 theme :) )
Alexander
Telerik team
 answered on 21 Sep 2011
10 answers
217 views
Hi,

I am using a RadGridView with a selfreference relation to display items from a DataTable. This works great but my customers want to be able to toggle between hierarchical view and flat view of the data.
I try to delete the relation without any effect.

Is there a way to do such thing ?

Regards
Ed
Top achievements
Rank 1
 answered on 21 Sep 2011
1 answer
163 views
Hey guys

I created a new class in VB.NET (2010) which inherits from Telerik.WinControls.UI.RadTextBox. Inside it i have several events, e.g KeyDown:
Private Sub PosNegDoubleTextBox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
   '
   ' some code....
   '
   '
End Sub
however when i drag and drop my new control onto my main form, the event does not fire up on key down. That is my first problem. My second problem is that the new control out of no where gets a grey border which cannot be edited and i also cannot apply any themes..

Any Help would be greatly appreciated, thank you.
Nikolay
Telerik team
 answered on 21 Sep 2011
8 answers
1.1K+ views
Is there a way to change a theme of the application runtime on the fly?
Teodor
Telerik team
 answered on 21 Sep 2011
7 answers
176 views
Hi

How to manualy drag and drop items within same Treeview beacuse moving items needs to check some validation?
Can multiple items drag in internal treeview (selection by treenode checkbox)?
How to remove visual root of drag items (Please refer the attach screenshot) and after that not able to drop?


Thanks 
Vijay
Svett
Telerik team
 answered on 21 Sep 2011
4 answers
536 views
I have a dialog box with a RadWaitingBar and a RadProgressBar. Before upgrading to Telerik Q1 2011, both of my bars were blue. 

After upgrading, my RadProgressBar is now green as the default of the Office2010Silver theme (see attached). How do I change it back to blue?

Looking at my old designer code, it was set to blue using these lines, which now error out:

CType(Me.barProgress.GetChildAt(0).GetChildAt(1), Telerik.WinControls.Primitives.ProgressBarPrimitive).BackColor2 = System.Drawing.Color.FromArgb(CType(CType(153, Byte), Integer), CType(CType(225, Byte), Integer), CType(CType(238, Byte), Integer))
CType(Me.barProgress.GetChildAt(0).GetChildAt(1), Telerik.WinControls.Primitives.ProgressBarPrimitive).BackColor3 = System.Drawing.Color.FromArgb(CType(CType(4, Byte), Integer), CType(CType(187, Byte), Integer), CType(CType(208, Byte), Integer))
CType(Me.barProgress.GetChildAt(0).GetChildAt(1), Telerik.WinControls.Primitives.ProgressBarPrimitive).BackColor4 = System.Drawing.Color.FromArgb(CType(CType(4, Byte), Integer), CType(CType(159, Byte), Integer), CType(CType(208, Byte), Integer))
CType(Me.barProgress.GetChildAt(0).GetChildAt(1), Telerik.WinControls.Primitives.ProgressBarPrimitive).BackColor = System.Drawing.Color.FromArgb(CType(CType(153, Byte), Integer), CType(CType(219, Byte), Integer), CType(CType(238, Byte), Integer))

Please advise. Thank you!
Ivan Petrov
Telerik team
 answered on 21 Sep 2011
3 answers
248 views

Hi Guys,

I'm hoping that someone can help me with this.

I have a Main business Object that i display on the property grid and that works fine. However I would like to add a business object collection and have it display as a property on the Mani Business Object, so that when the Main business Object is loaded on to the property grid the collection displays as a child.


This works fine when i use a standard windows property grid. So i was wondering if i missed something?

Your help in this will be greatly appreciated.

regards

Bongani

Ivan Petrov
Telerik team
 answered on 21 Sep 2011
3 answers
255 views
Hello,
     I want to dynamically change the type of cell in the current row from TextBox to RadDropDownList.  I need the DropDownList to already be populated so I created one in the designer view and just made it not visible.  How do I populate it though?  I can't seem to access it in code.
Thanks!
Jason
Alexander
Telerik team
 answered on 20 Sep 2011
5 answers
196 views
I have implemented my custom column, inheriting from GridViewDecimalColumn. The code looks like this:

public class DynamicDecimalColumn : GridViewDecimalColumn, IDynamicColumn
    {
        public DynamicDecimalColumn(string fieldName, string attributeName)
            : base(fieldName)
        {
            AttributeName = attributeName;
            DataType = typeof(decimal);
        }
  
        protected override void Initialize()
        {
            base.Initialize();
        }
  
        public string AttributeName { get; set; }
  
  
        public override Type GetCellType(GridViewRowInfo row)
        {
            if (row is GridViewDataRowInfo)
            {
                return typeof(DynamicPropertyCellElement);
            }
            return base.GetCellType(row);
        }
    }

 I am adding a DynamicDecimalColumn by using code like
DynamicDecimalColumn column = new DynamicDecimalColumn("OwnerCode" );
column.DecimalPlaces = 0
column.Name = "OwnerCode";
column.HeaderText = "OwnerCode";
_gridViewNetSegments.MasterTemplate.Columns.Add(column);

The column is defined as filterable. When I start filtering by typing a filter text, the system is using a "contains" filter (LIKE) by default, and so I get an error. When I open the context menu to change the filter, the "Contains" filter ist not available, as expected. How can I change the initial filter by code, as I would like the "Equals" filter as the initial filter ? 

Nicole 
Alexander
Telerik team
 answered on 20 Sep 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)
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?