Telerik Forums
UI for WinForms Forum
2 answers
147 views
It seems that there is a bug in the Telerik Grid Control.

I have a database that contains a
1 - numerical field - integer
2 - memo field - contents of the field are in Arabic
3 - memo field - contents of the field are in English

I set up the grid with all columns displayed 

When RTL is set to True
The grid displays with the Arabic correctly displayed, but the English is incorrectly displayed.  Scrollbar appears on the Left.

When RTL is set to False
The grid displayed with the English correctly displayed, but the Arabic incorrectly displayed.  Scrollbar appears on the Right.


It is not a choice for me to display either the English only or the Arabic only - I need to display both at the same time.  Does anybody have any possible solution?

I would also like the ability to choose the side I would like to place my scrollbar - on the left of the grid or the right.

This is a realworld situation and desperately need some help.
Are there any alternative products that would help achieve this?

Many thanks




Ahmuser
Top achievements
Rank 1
 answered on 13 Apr 2011
1 answer
127 views
3 questions

1. Why can I not simply set the datasource for the load-on-demand child grid. As opposed to needing
to build each grid row from the corresponding datarow.

In the code below I'd like to simply set the datasource as in the second line of code. But I have to
build each row as in the remaining lines of code. Why can't I simply use the datasource?

2. I specify each column in the columns collection editor (same as ".Cells" below) of the grid's first
template, things like Name, HeaderText and FieldName. If I remove Name in the columns collection editor,
the code below won't work. (FieldName doesn't seem to be needed.) So somehow this thing called
SourceCollection is connection to the template. What is the connection?

3. I'm trying to set the first item's (called DueDate) FormatString to {0:dd/MM/yyyy}. If I don't set it,
DueDate displays with hour/minute/second (which is zero). If I do set it in the collection editor,
same result. I can't seem to set it in code (in ".Cells"). How can I set FormatString?

--------------- code snippet from RowSourceNeeded below ----------------
Dim
dt As DataTable = .FillTable("usp_SelectPTA2_TicketAssignments")
'e.Template.DataSource = dt
''' why do I need the rest of this code?? '''
For Each dr As DataRow In dt.Rows
    Dim row As GridViewRowInfo = e.Template.Rows.NewRow
    With row
        .Cells("DueDate").Value = dr("TICKET_DUE_DATE")
        .Cells("AssignTo").Value = dr("AssignedTo")
        .Cells("Reason").Value = dr("TICKET_DUE_DATE_CHANGE_REASON")
        .Cells("Notes").Value = dr("TICKET_ASSIGMENT_NOTES")
        .Cells("AssignedBy").Value = dr("AssignedBy")
        .Cells("AssignedDate").Value = dr("TICKET_ASSIGNED_TO_DATETIME")
    End With
    e.SourceCollection.Add(row)
Next
Julian Benkov
Telerik team
 answered on 13 Apr 2011
6 answers
373 views
Hello,

how i can hidden the HelpButton? In the UI-Elements i can set the Visibility to false of the Base Element, which is the help button [i think so]. But it didn`t work. Is there a workaround?

Kind regards, Ronny.
Jack
Telerik team
 answered on 13 Apr 2011
1 answer
62 views
Hi,

I am trying to color a row of a child if the date in the first cell is higher than the current date and the string in the second cell is not equal to "Closed".

I tried iterating through the rows but wasn't able to get the value of a certain cell to compare with.

I tried a few other approaches but nothing seemed to work. I'm real stuck on this one.

Thank you for the help.
Richard Slade
Top achievements
Rank 2
 answered on 13 Apr 2011
4 answers
126 views
We have both a web and desktop application that uses several telerik RadControls. Unfortunately, I'm having difficulty using these controls in a CodedUI Test in Visual Studio 2010. The test recorder picks up the control, but can't uniquely identify it or get any properties from it.

Are there any extensions available to the UI testing in Visual Studio to help us with testing these controls? This is killing our automation efforts not being able to simply get text from a RadLabel, or click a specific cell in a Grid.

Thanks,
Brandon
Stefan
Telerik team
 answered on 13 Apr 2011
2 answers
96 views

Hello,

Using version 2011.1.11.315 (2011 Q1) and I am using Custom Sorting.  When I have a column sorted and then try to group the grid, I get:
"An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll" on this line:

var parentRow = e.Row1.Parent as GridViewRowInfo;


I have a test project that also does this, but I was not able to open a bug report for some reason. 

Any ideas/workarounds? 

Thank you,
Aaron

Jack
Telerik team
 answered on 13 Apr 2011
3 answers
111 views
Hello,
I have a radGridView with a theme and when I select a row, this row is highlight in orange.

I have a button on the page and when I click him, I want to remove the highlight from the select row.

Didn't find how to do so.

Any idea?

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 13 Apr 2011
2 answers
142 views
Hi 

Is ExportToExcelML compatible with Office 2000 ?

Attached there is an example how Excel 2000 shows it.

The content of xls file :
<?xml version="1.0" encoding="UTF-8"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="urn:schemas-microsoft-com:office:spreadsheet">
<Styles>
<Style ss:ID="CellStyle0">
<Alignment ss:Horizontal="Center" ss:Vertical="Center"></Alignment>
<Font ss:FontName="Segoe UI" ss:Color="#000000"></Font>
<Interior ss:Pattern="Solid" ss:Color="#D9E7F9"></Interior>
<NumberFormat></NumberFormat></Style>
<Style ss:ID="CellStyle1">
<Alignment ss:Horizontal="Left" ss:Vertical="Center"></Alignment>
<Font ss:FontName="Segoe UI" ss:Color="#000000"></Font>
<Interior ss:Pattern="Solid" ss:Color="#FFFFFF"></Interior>
<NumberFormat></NumberFormat></Style>
<Style ss:ID="CellStyle2">
<Alignment ss:Horizontal="Left" ss:Vertical="Center"></Alignment>
<Font ss:FontName="Segoe UI" ss:Color="#000000"></Font>
<Interior ss:Pattern="Solid" ss:Color="#FFFFFF"></Interior>
<NumberFormat ss:Format="gg/mm/aaaa"></NumberFormat></Style>
<Style ss:ID="CellStyle3">
<Alignment ss:Horizontal="Right" ss:Vertical="Center"></Alignment>
<Font ss:FontName="Segoe UI" ss:Color="#000000"></Font>
<Interior ss:Pattern="Solid" ss:Color="#FFFFFF"></Interior>
<NumberFormat></NumberFormat></Style></Styles>
<Worksheet ss:Name="Lavori">
<Table>
<Column ss:Width="150"></Column>
<Column ss:Width="150"></Column>
<Column ss:Width="150"></Column>
<Column ss:Width="150"></Column>
<Column ss:Width="60"></Column>
<Column ss:Width="90"></Column>
<Column ss:Width="90"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="90"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="90"></Column>
<Column ss:Width="50"></Column>
<Column ss:Hidden="1" ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Column ss:Width="50"></Column>
<Row ss:Height="24">
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Cliente</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Utente</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Argomento</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Descrizione</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Attivo</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Assegnazione</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Inizio</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Priorità</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Termine Previsto</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Termine</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Consegna</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Riferimenti_Consegna</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Contratto</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Importo</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Num_Fattura</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Data_Fattura</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Note_Fattura</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">ID_Argomento</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">Consegnato</Data></Cell>
<Cell ss:StyleID="CellStyle0">
<Data ss:Type="String">D.Revisione</Data></Cell></Row>
<Row ss:Height="19">
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String">XXXXX S.p.A.</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String">Vincenzo</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String">YYYYY - VdR Chimico</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String"></Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="Boolean">1</Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String"></Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String"></Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="Boolean">1</Data></Cell>
<Cell ss:StyleID="CellStyle3">
<Data ss:Type="String"></Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String"></Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="String"></Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="Number">25</Data></Cell>
<Cell ss:StyleID="CellStyle1">
<Data ss:Type="Boolean">0</Data></Cell>
<Cell ss:StyleID="CellStyle2">
<Data ss:Type="DateTime">1900-01-01T00.00.00.000</Data></Cell></Row></Table></Worksheet></Workbook>


Thanks
Simone
Simone
Top achievements
Rank 1
 answered on 12 Apr 2011
3 answers
149 views
I've disabled the PageView Header (made invisible), but I'd like to show a close icon for each page within my view. Changing the ShowCloseButton property didn't seem to work. How do I go about showing the icon for each page?
Thanks.
Alexander
Telerik team
 answered on 12 Apr 2011
1 answer
54 views
Hi,

I realise this has been posted before, however this was back in Dec 2009. Are there plans to introduce these as I cannot see this in a feature/bug request or on the roadmap?

It is a royal pain having to change every label to add a Top Padding of 1 so that the base of the text on the label lines up correctly to a dropdown or textbox controls text...

Cheers,

Steven
Peter
Telerik team
 answered on 12 Apr 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
CheckedDropDownList
ProgressBar
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
NavigationView
VirtualKeyboard
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?