Telerik Forums
UI for WinForms Forum
3 answers
229 views
Hi,
We have  not-so-technical users that don't understand moving off a row is what causes it to be added or updated.  Subsequently, I have added a button in each row that is to basically "save" the changes of the row (to the dataset).  I cannot seem to find a way to force the row to update as EndEdit and EndUpdate only seem to end a cell update.  I need something that will do the same thing as moving off a row so I can catch the errors in the RowValidating event.  Can you point me in the right direction?

Thank you.
David A.
Top achievements
Rank 1
 answered on 16 Mar 2011
7 answers
174 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
139 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
659 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
309 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
279 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
137 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
127 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
214 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
402 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
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?