Telerik Forums
UI for WinForms Forum
7 answers
268 views
Hi...
say i have a pageview in strip mod , i wont my program to had support for english and a right to left language, i noticed that when changing the right to left property to true, the pages still at left !, and their indexes are the same.

 (i.e.
right to left property set to true:

pageview looks like this
 [page1]-[page2]-[page3]..................................................................................................

and they should look like this:
.................................................................................................. [page3]-[page2]-[page1]
i did search the form and found that i can change the index of the pages, and swap their location, but i'd rather have them set that way in design time. and its much easier to shift from or to right to left state if it does change the location automatically. 
is that achievable or i should look to use code. thx
Amir
Top achievements
Rank 2
 answered on 16 Mar 2011
3 answers
204 views
Hi,

I'm using a grid with self-referencing. I want to sort only the parent rows, not the child rows. Is it possible?

Thanks,
Andy
Richard Slade
Top achievements
Rank 2
 answered on 15 Mar 2011
6 answers
750 views

I need a RadDropDownListBox with 2 columns

Thank you very much.

Titel1 | Titel6

Titel2 | Titel7

Titel3 | Titel8

Titel4 | Titel9

Titel5 | Titel10

Brian@WTG
Top achievements
Rank 2
 answered on 15 Mar 2011
2 answers
398 views
Hi,

I want to add a normal scroll bar to a pageview to scroll to the hidden pages. My client is not happy with the strip buttons. Is there any way that I can mimic this functionality.
Please see the screen shot what I want to say.

Thanks
vijay
Stefan
Telerik team
 answered on 15 Mar 2011
3 answers
308 views
I'm in the RadScheduker.SelectionChanged event, how do I find information about the currently selected appointment?  Or, I'm in the AppointmentDeleting event, same question??

I have a custon appointment with an Appointment ID. Can I get to it?

Thanks
Stefan
Telerik team
 answered on 15 Mar 2011
4 answers
161 views
Hi,
I have seen in other posts about problems with group by format strings. However that post was quite old, I'm using the Q3 2009 build.

When my users select a column to group by the format string that was with the column seems to be lost. i.e. if I have values £12.45 when that field is grouped it is displayed as 12.4500.  I've seen an old solution which is supply the format string with the "group by" but I'm not programming the column; I just populate the grid with data and users take advantage of the group by bar. 
How could I resolve this?

mark
Martin Vasilev
Telerik team
 answered on 15 Mar 2011
4 answers
183 views
Hello,


When using hierarchical gridview, and acceding to the child gridview with the IDE, I noticed that at first I had only one child gridview, but after clicking on OK button, I got 2, then 4 identical gridviews. And they are displaying caption tabs saying "Table".

I tried to remove them, to keep only one, but then no child gridview was kept by the designer (gridviewTemplate was lost) , and compiling became impossible.

Is this a known bug ? Is there a way to safely remove the duplicated child gridviews and keep only one ?

Thank you for any help.
Stefan
Telerik team
 answered on 15 Mar 2011
12 answers
305 views
I have a grid with 5 columns, the first 2 columns, ID and ParentID, are for self-reference setup and are hidden. The rest are a checkbox and 2 text columns. I set its datasource to a BindingList that has a single row and 250 "child" rows. The parent row expands fine when there is no sorting. However, as soon as I click on any of the column headers to sort, it takes more than 10 seconds to expand, and scrolling also becomes very sluggish.
I'm using the latest release, RadControls_WinForms_2010_3_10_1215_dev. Is there a trick to speed it up? Below are the code snippet and attached is a scree

Thanks,
Andy
    private void Form1_Load(object sender, EventArgs e)
    {
        PopulateGrid();
        radGridView1.Relations.AddSelfReference(radGridView1.MasterTemplate, "ID", "ParentID");
    }
 
    private void PopulateGrid()
    {
        BindingList<RowBindingInfo> rowList = new BindingList<RowBindingInfo>();
        int rowID = -1;
 
        for (int i = 0; i < 1; i++)
        {
            RowBindingInfo rowInfo = new RowBindingInfo(++rowID, -1, false, "Room " + i.ToString(), "Desc " + i.ToString());
            rowList.Add(rowInfo);
 
            int pid = rowID;
            for (int j = 0; j < 250; j++)
            {
                RowBindingInfo childRow = new RowBindingInfo(++rowID, pid, false, string.Empty, "Desk " + j.ToString());
                rowList.Add(childRow);
            }
        }
 
        radGridView1.DataSource = rowList;
    }
}
 
public class RowBindingInfo
{
    public RowBindingInfo(int rid, int prid, bool incl, string r, string d)
    {
        ID = rid;
        ParentID = prid;
        Included = incl;
        Room = r;
        Desc = d;
    }
 
    public int ID { get; set; }
    public int ParentID { get; set; }
    public bool Included { get; set; }
    public string Room { get; set; }
    public string Desc { get; set; }
}


Thanks,
Andy
Alexander
Telerik team
 answered on 15 Mar 2011
11 answers
477 views

Need some help here...

I'm exporting a RadDataGrid to CSV but get the 'object reference to instance of an object' error. Every time i have a empty *.csv doc and the csvExporter.RunExport crashes...

Changing it to an Excel exporter makes it work fine.

code:

Dim exportGridView As New Telerik.WinControls.UI.RadGridView
 exportGridView.DataSource = rep.GetObjectCorrespondentieGegevens(projectId)
Public Function GetObjectCorrespondentieGegevens(ByVal id As Integer) As Object Implements     ICorrespondentieRepository.GetObjectCorrespondentieGegevens
           Dim model = From p In _db.tblAannemers.AsEnumerable() _
                       Select p.fldAannemerNaam
           Return model
       End Function
Private Shared Sub RunExportToCSV(ByVal fileName As String, ByRef gridView As RadGridView)
           Dim csvExporter As ExportToCSV = New ExportToCSV(gridView)
           'csvExporter.FileExtension = "txt"
           'csvExporter.SummariesExportOption = SummariesOption.ExportAll
           Try
               'csvExporter.
               csvExporter.SummariesExportOption = SummariesOption.DoNotExport
               csvExporter.RunExport(fileName) ' this is where the exception happens :-(
           Catch ex As Exception
           End Try
       End Sub
Martin Vasilev
Telerik team
 answered on 15 Mar 2011
1 answer
159 views
Hi,
I'm probably doing something wrong. But I have not find any help in documentation and in the demos.
When I prepare commandbar visually in designer, I'm able to move strips to correct order.
But how to do this in code?
I merge two commandbars together, so I add the strip to the commandCarRow, but in soe cases this second strip is displayed before the original first. And I have no clue why?
commandBarChild.Rows[0].Strips.Add(strip);
Thanks for any idea, as I said I didn't find any help in documentation or demos for that. If there is something about it, jsut point me there, please.
Ivan Todorov
Telerik team
 answered on 15 Mar 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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?