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

When I am stepping through code in visual studio after a breakpoint has been hit with the drop down window visible, it always appears over the top of every window including not visual studio related windows.
I am using version 2010.2.10.713, visual studio 2010, windows 7.

regards,
Jeff.
Peter
Telerik team
 answered on 02 Sep 2010
4 answers
226 views

Hi,

I want to uninstall winForms Q1 2010 SP2 for VS2010, it shows like below several hours.

"Please wait while configures Telerik RadControls for WinForms Q1 2010 SP2".

Any good idea solve this?

Software I had installed:

1. VS2005

2. VS2008

3. Telerik premium collection for .net (Q1 2010 SP2) [&& WinForms Q1 2010]

4. uninstall VS2005

5. install VS2010

6. uninstall/reinstall ASP.NET Q1 2010 SP2 (it's ok)

7.uninstall WinForms Q1 2010 SP2 (no results)

hope this information usabled.

Vassil Petev
Telerik team
 answered on 02 Sep 2010
2 answers
501 views
Hello,

I'm using a RadGridView to view a List<Products>. It contains a decimal "Price" field and a string "currency" field.
I've figured out how to specify a column FormatInfo and FormatString:

CultureInfo cultureInfo;
 switch (Product.Currency)
 {
     case "EUR":
         cultureInfo = new CultureInfo("fr-FR");
         break;
     case "GBP":
         cultureInfo = new CultureInfo("en-GB");
         break;
     default:
         cultureInfo = new CultureInfo("fr-FR");
         break;
 }
 radGridViewSupplierProducts.MasterGridViewTemplate.Columns["Price"].FormatInfo = cultureInfo;

Now the question is: how can i do the same thing but cell by cell (not for the entire column), based on the Product fields values.
ex: one product that costs £23 and another 45€ and displaying those values..

Regards,

Rafael
Rafael
Top achievements
Rank 1
 answered on 02 Sep 2010
4 answers
276 views
Hi,

I've got 3 problems: After I upgraded from 2010.1 504 to 2010.2 806 all of my Forms are resized in Runtime. While the Size is correcty in Designer, they appeared some pixel smaller when the Application is running (see: p1.jpg)

My other Problem (this issue exists before the upgrade): After loading theTheme, I get the message:
Error deserializing custom shape: System.ArgumentException: Type not found: Telerik.WinControls.UI.TabOffice12Shape

ThemeResolutionService.LoadPackageResource("Phantom.MyTheme.tssp")

The Reference to Telerik.WinControls.UI.TabOffice12Shape is exists (see: p2.jpg and p3.jpg)

My last problem are some optical problems. I don't find any solution in my Theme and after moving the Form, the blue areas dissapears. This Issue is on all Forms of the Application (see: p3.jpg)

And Idea?

Thank you!
Andy

Edit: Screenshots don't appear, sorry!
Nikolay
Telerik team
 answered on 02 Sep 2010
1 answer
112 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
319 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
109 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
271 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
100 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
213 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
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?