Telerik Forums
UI for WinForms Forum
1 answer
82 views
Hi,

Im trying to have the samebackground for all my pages i can acomplished this setting the imagebakground for every page in the pageview, the thing is in freaks out for a moment, i tried making everypage background transparent and applying the image background to the pageview background image but it wont show.

Any suggestions

Thanks 
Jack
Telerik team
 answered on 01 Sep 2010
1 answer
247 views
I'm trying to programmatically set the scroll value of my panel so that I can re-open a form in the same state.  I was able to get my window scrolled to the right position by setting the internal PanelContainter's VerticalScroll.Value:

this

 

 

.radScrollablePanel1.PanelContainer.VerticalScroll.Value = value;

 



However, the scrollbar is out of sync with the window (it is scrolled all the way to the bottom).  Is there something I can call to tell the scrollbar to sync?  I tried hooking into ScrollBarSynchronizationNeeded event, but that doesn't seem to help.

Thanks!!
Nikolay
Telerik team
 answered on 01 Sep 2010
4 answers
82 views
Hello,

I have an MDI application. There is a Rad Menu on teh Main form and a series of MDI Child windows with RadDataGridViews.

If you right click the DataGridView to bring up the context menu, and then hover the mouse over any of the Main Menu items, all menus stay in the open position until you left click on another control.
Jack
Telerik team
 answered on 01 Sep 2010
1 answer
181 views
Hello,

I have a mdi form with RadMenu. In my mdi child forms I have a few text boxes. When a text box has focus and user press ^ key the following Exception is thrown:

System.OverflowException : "Value for a character was too small or too big"  or similar ( translated from german )

 bei System.Convert.ToChar(UInt32 value)\r\n   bei Telerik.WinControls.UI.RadMenu.ProcessCmdKey(Message& m, Keys keyData)\r\n   bei Telerik.WinControls.UI.RadMenu.PreviewMessage(Message& msg)\r\n   bei Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(Message& msg)\r\n   bei Telerik.WinControls.RadMessageFilter.GetMessageHookProc(Int32 code, IntPtr wParam, IntPtr lParam)\r\n   bei System.Windows.Forms.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)\r\n   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n   bei System.Windows.Forms.Application.Run(Form mainForm)\r\n   bei Turnierplaner.Program.Main() in D:\\Projekte\\Kicker\\Turnierplaner\\Turnierplaner\\Program.cs:Zeile 19.\r\n   bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n   bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)\r\n   bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   bei System.Threading.ThreadHelper.ThreadStart()"

But I have no chance to catch key press before exception occurs

Regards,
Markus
Jack
Telerik team
 answered on 01 Sep 2010
0 answers
79 views
Hi

I posted two thread but no response
I have some queries please guide me
Below is the chart which i wrote
 RadChart2.DataSource=my datasourse (Idatareader data)
and datas that is coming will be like below

labeldata    MonthFrom    MonthTo
label1          1                      3
label2          2                       2

In XAxis i added as
<XAxis DataLabelsColumn="labeldata">
                    </XAxis>   

In the below code

  <telerik:ChartSeriesItem Name="Name"  YValue="MonthFrom" YValue2="MonthTo"  ></telerik:ChartSeriesItem>
YValue and  YValue2 is not picking properly
Though MonthFrom  is having data 1 and 2 but in graph it is displaying from 0 to 3 for label1 and  0 to 2 for label2
but the right format will be from 1 to 3 for label1 and  2 to 2 for label2

<telerik:RadChart ID="RadChart2" runat="server" SeriesOrientation="horizontal" Width="1000px" Height="1000px"  >
             <PlotArea >                
                    <XAxis DataLabelsColumn="labeldata">
                    </XAxis>                    
                </PlotArea>
                <Series>                
                    <telerik:ChartSeries Name="Series 1"  Type="Gantt">  
                    <Items>
                    <telerik:ChartSeriesItem Name="Name"  YValue="MonthFrom" YValue2="MonthTo"  ></telerik:ChartSeriesItem>
                    </Items>
                    <Appearance  LabelAppearance-Visible="True"></Appearance>
                    </telerik:ChartSeries>                   
                </Series>
                        
                    </telerik:RadChart>

please guide me
Karthik.K
Karthik Kantharaj
Top achievements
Rank 1
 asked on 01 Sep 2010
3 answers
155 views
Hello,

I am currently using RadControls for WinForms Q1 2010 and I'm trying to change the back ground color to white on a dynamically added RadGroupBox, but it isn't working. I've tried several different approaches but all I get is a gradient looking gray background.

Public Class MyRadGroupBox
    Inherits Telerik.WinControls.UI.RadGroupBox
  
 '========================================================================================================================
    ' This is the constructor for this class
    '========================================================================================================================
    Public Sub New()
  
        Me.HeaderMargin = New System.Windows.Forms.Padding(0)
        Me.HeaderText = ""
        Me.Location = New System.Drawing.Point(3, 2)
        Me.Name = "myRadGroupBox"
        Me.Padding = New System.Windows.Forms.Padding(1)
        Me.Margin = New System.Windows.Forms.Padding(1)
        Me.Size = New System.Drawing.Size(500, 386)
        Me.RootElement.Padding = New System.Windows.Forms.Padding(1)
        'Me.RootElement.BackColor = System.Drawing.Color.White         
        'Me.BackColor = System.Drawing.Color.White 
        'Me.GroupBoxElement.BackColor = System.Drawing.Color.White 
  
        DirectCast(Me.GroupBoxElement.Content.Children(0), FillPrimitive).BackColor = System.Drawing.Color.White
  
    End Sub
  
  
End Class
Nikolay
Telerik team
 answered on 01 Sep 2010
2 answers
115 views
I used telerik rad gridview for testing.
In that, i bound datasource with the table from SQL.
After that i tried to Drag column  and set grouping.

However, i found problem here, Whenever i press Right mouse button on collapsed group Row, my application just crashed without generating any error.

Try this,
Make a group on 1 column
Collapse all rows
Press Right click on any collapsed row.

Please give some solution. if possible put some code, how to avoid this.

Thanks,
Jack
Telerik team
 answered on 01 Sep 2010
3 answers
146 views
Hello All

Please can anyone tell how can i make Micrososft OneNote like tabs with radpageview .

Thanks & Regards
Neha
Vassil Petev
Telerik team
 answered on 01 Sep 2010
1 answer
1.0K+ views
Hi,

I tried several ways to change the border colors of both radGroupBox and ContentPanel of tabItem, but no luck.

Actually I would like to put the hexadecimal color "#484042" which turns out to be light gray for the borders. The following is the code I wrote for ContentPanel's border. I dont know if that is the way to go.

((Telerik.WinControls.Primitives.

BorderPrimitive)(this.tabItem2.GetChildAt(1))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); ---> Please guide if these colors make up "#484042" since the designer generated those ARGB values when I put in the above hex value.

Also, I am having a weird problem with top border of the ContentPanel. The left, right and bottom border lines appear and are visible during run time, but for some reason I dont see the upper/top border for tabItem's ContentPanel.

Kindly help

Thanks,
Jayanthi
tjayanthi@dsionline.biz

Jack
Telerik team
 answered on 01 Sep 2010
0 answers
69 views
Telerik Team:

RadComboBoxElement popup closes immediately after popup (Clicks the RadComboBoxElement in the "Text Area of RadComboBoxElement" (Not by “Arrow Button”).

Enclosed the Attachment.

Note:
1. ComboBoxElement.DropDownStyle =
RadDropDownStyle.DropDownList;
2. I am using a "RadControls for WinForms Q1 2010 SP2 (2010.1.10.504)"

Plz Reply ASP.

Regards..
Arul S V
Top achievements
Rank 1
 asked on 01 Sep 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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?