Telerik Forums
UI for WinForms Forum
1 answer
105 views

Hello,

I have a ShapedForm with 201 of width and 435 of Heigth. The application runs fine on machines with Windows Vista and XP with English Language. However when running on Windows XP Japanese Language machines  the form display with size of 201x402 cropping the button of form.

I tried to run the application in machines with WinXP -JP with SP3 with .NET2, .NET3, .NET3.5 and in machines with WinXP-JP without any service pack and .NET2. I am using RadControls for WinForms Q1 2009 SP1.

What is the cause of this difference o form renderization?

Mauro Fujihara

Deyan
Telerik team
 answered on 16 Sep 2009
2 answers
193 views
We are now in the process of localizing our windows forms application. Will we need to do anything special to support localization beside setting the form localization property to "true" and changing the language setting?

Also i have this snippet of code in the constructor of my form
Application.EnableVisualStyles()
        
        Select Case CultureInfo.CurrentCulture.Name
            Case "en-US"
                Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-US")
            Case "zh-CN"
                Thread.CurrentThread.CurrentUICulture = New CultureInfo("zh-CHT")
        End Select

        InitializeComponent()

Because we just changed all of our text to Chinese and its showing up in the designer, but if we run it display back in english.

This way works fine using basic windows forms dot net controls, what's missing?
Michael
Top achievements
Rank 1
 answered on 15 Sep 2009
0 answers
154 views
Hi,

We found an issue while performing copy and paste text in a cell of the grid when the destination cell is currently empty. After selecting another row to validate the new value, then the value is cleared.

Version of Telerik : Q2 2009 release.
Axel Labrousse
Top achievements
Rank 1
 asked on 15 Sep 2009
1 answer
73 views
Hi,

When filtering is on, an exception is thrown when you press the single quote key (or apostrophe). I guess it's an expression injection problem or something like that.

Any solution ?

Thanks
Jack
Telerik team
 answered on 15 Sep 2009
1 answer
84 views
Hi,

When filtering is on, an exception is thrown when you press the single quote key (or apostrophe). I guess it's an expression injection problem or something like that.

Any solution ?

Thanks
Jack
Telerik team
 answered on 15 Sep 2009
1 answer
79 views
Hi,

When filtering is on, an exception is thrown when you press the single quote key (or apostrophe). I guess it's an expression injection problem or something like that.

Any solution ?

Thanks
Jack
Telerik team
 answered on 15 Sep 2009
5 answers
553 views

I have a RadGridView, and a button "Next", which makes the selected row change to the one below when the user clicks on it:

int selectedIndex = this.radgrid.SelectedRows[0].GridViewInfo.CurrentIndex;
//Go to next index
selectedIndex++;

this.radgrid.CurrentRow = radgrid.Rows[selectedIndex];

The problem occurs when the grid is sorted by one column, say a Date column. If one date is expanded and a row is clicked, the CurrentIndex is the index of the row within the selected date. But when I try to set the CurrentRow, it is set to the "overall" index, as if the grid was not sorted.

Any ideas on how to solve this?

Regards, Jill-Connie Lorentsen

Jack
Telerik team
 answered on 15 Sep 2009
3 answers
802 views
Hello,

    I'm developing an application for my company. I use a radprogressbar and a radstatusstrip into an user control, that is inside a radribbonform. I use those control as waiting status in some operation.
I tried backgroundworker and timer but the progressbar after the operation finish. Also i use statusstrip.Refresh() but it doesn't work.

Please help me. !!!!

Mirko
Victor
Telerik team
 answered on 15 Sep 2009
3 answers
321 views
hi,

i am getting the issue in check box column whether it is checked or not.
if i use cellformating event then it fires thousands time for one row.

                for (int count = 0; count < grdProductSearch.Rows.Count; count++)
                {
                   string value = grdProductSearch.Rows[count].Cells["Link"].Value.ToString(); //it returns empty value.
                }
if i use this
bool isSelected = grdProductSearch.Rows[count].Cells["ColUniqueName"].CellElement.IsSelected;

then it gives me error that cellelement is null.

Please tell me how i can resolve this issue.

Thanks.
Jack
Telerik team
 answered on 15 Sep 2009
3 answers
558 views

Hello,

I have a master form which is the MDI parent and a child form which is the MDI child.  I use the following code to open the master form and load in a child form:

 

Private

 

Sub MasterForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

 

 

    Dim clientForm As New ClientForm

 

 

    With clientForm

 

        .MdiParent =

Me

 

        .MinimizeBox =

False    

 

        .MaximizeBox =

False

 

 

 

        .WindowState = FormWindowState.Maximized

 

 

    End With 'clientForm    

 

 

 

 

 

    Dim document As New DocumentWindow("Document 1")

 

    clientForm.Visible =

True

 

    clientForm.Show()

    document.AutoScroll =

True

 

    document.Controls.Add(ClientForm)

    document.Controls(0).Location =

New Drawing.Point(0, 0)

 

 

    Me.RadDock1.AddDocument(document)

 

 

    Me.WindowState = FormWindowState.Maximized

 

 

End Sub

 

 

 

I set the autoscroll property of the DocumentWindow to True, so whenever there is a field not visible a scroll bar appears, which works well.

What I can't figure out is how do I wire up code for the mousewheel event or for the KeyDown event to scroll the scrollbar?  I was able to successfully do this creating a radform with 2 radpanels and a radvscrollbar.  But now that I am using this autoscroll, what do i reference?

Thanks,

Deyan
Telerik team
 answered on 15 Sep 2009
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?