Telerik Forums
UI for WinForms Forum
2 answers
156 views
Hi,

 I am trying to create my custom gridview controls which inherit from radgridview.

 

The Code:

 

public partial class eRadGridView : Telerik.WinControls.UI.RadGridView

{

public eRadGridView()

        {

            InitializeComponent();

           

        }

 

        public eRadGridView(IContainer container)

        {

            container.Add(this);

 

            InitializeComponent();

        }

    }

 

When I try to droll it from the toolbox, I get the attach error.
Please let me know what I am doing wrong.

Stefan
Telerik team
 answered on 08 Nov 2012
3 answers
228 views
Hi,

How can I override the default mouse over backcolor (orange color) by code?

Thanks.

Anton
Telerik team
 answered on 08 Nov 2012
6 answers
283 views
telerik grid with multiple column header

my code:

@{

 

 

var headerHtmlAttributes = new { style = "font-weight:bold" };

 

Html.Telerik().Grid<

 

WorkflowDashboardModel>()

 

.HtmlAttributes(

 

new { style = "text-align:center" })

 

.Name(

 

"WorkFlowDashBoardExp")

 

.Columns(columns =>

{

columns.Bound(d => d.SourceSystem)

.HeaderHtmlAttributes(headerHtmlAttributes);

columns.Bound(d => d.NewException)

.HeaderHtmlAttributes(headerHtmlAttributes);

 

}

i want to give a header column for the column headers as top one.

how can i do? please help.

Emanuel Varga
Top achievements
Rank 1
 answered on 08 Nov 2012
6 answers
221 views
We are using RadControls for Winforms Q1 2012. The sorting function is not working correctly for GridViewImageColumn. Please help. Thanks a lot!
Yip Yew Kwong
Top achievements
Rank 1
 answered on 07 Nov 2012
3 answers
143 views
Hi,

I'm just new in winform so I'm just wondering if a lookup column can have text search. Like for instance I'm to select a defined data on my dorpdown column but since it has lots of data, its hard to scroll down, so what I want is to just simply type in what text i'm searching for and will populate the dropdown based on my typed text, which is available on my datasource. Its like Google search, once you type text it will generate values on a dropdown. Any info or sample would be much appreciated.


Thanks in advance,
RJ
Emanuel Varga
Top achievements
Rank 1
 answered on 07 Nov 2012
17 answers
768 views
When i choose allow add new row in RadGridView. Now i want to add Combobox in to row. How can i do that? Please help me as impossible as. if you have example in C# please give me. Thanks
Jack
Telerik team
 answered on 07 Nov 2012
3 answers
1.5K+ views
I have a gridview which is bound to a list of about 50.000 objects. After changing an objects value in the list (in a seperate pop-up) the row is not updated in the grid.

When I select another row or scroll through the grid, the new value is visible.

Is there a way to refresh the row I just edited? I've tried to update the complete grid with EndUpdate, but this took about 18 seconds. This is way to long.
Paul Somberg
Top achievements
Rank 2
 answered on 07 Nov 2012
1 answer
127 views
How can set the LocalDataSourceProvider.ItemSource to DataTable,
or have no plans to do so?
Ivan Todorov
Telerik team
 answered on 07 Nov 2012
1 answer
114 views
hello,

I'm creating a RadTreeView dynamically. when adding the first level (0) nodes to the treeview, the nodes that have children are aligned without any margin, while the nodes that do not have any children are aligned with a margin. all the nodes were created the same way (all the nodes are added in a loop). can anyone help me align all the the nodes in the same place?
i attached a screen shot of the RadTreeView that i get (Personal and Confirmation Center don't have any children while the others have)

thank you
Anton
Telerik team
 answered on 07 Nov 2012
3 answers
129 views
Hi everyone,

I am hoping someone can help me solve a problem I am having with the GridViewDecimalColumn in my radGridView. I have an unbound column named "Days". This column is populated when the grid is loaded in the following way: 

private void grid_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
    if (e.Column.Name == "Days")
    {
        MyObject obj = (MyObject)e.Row.DataBoundItem;
        if (obj != null)
        {
            TimeSpan span = DateTime.Now.Date - obj.SomeDate.Date;
            e.CellElement.Value = span.Days;
        }
    }
}

When I try and sort on this value, the sort order does not make any sense. I get things like the following:

14
14
33
33
36
17
14 (should be at the top with the other 14's)

The sort does not follow any sort of logic and instead appears to just be sorting the numbers randomly. How can I get it to sort the numbers properly (IE ascending/descending order) 

Thanks 

----- EDIT-----------

Now that I have played with it a bit more, the grid is sorting, it is just sorting extremely slow. Moving the scrollbar up and down will force the grid to repaint and you can see the sort occurring. Why is this so slow? There are only around 160 rows in this grid. I have sorted other grids with 200+ rows and the sort is instantaneous. 


Emanuel Varga
Top achievements
Rank 1
 answered on 07 Nov 2012
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?