Telerik Forums
UI for WinForms Forum
1 answer
145 views
I'd like a run down regarding custom data binding scenario. I need to provide the Scheduler with my own LINQ feed for the Appointment and Resource bindings. Therefore, I need the scheduler's Binding source fully coded by hand as the wizard for the UI component doesn't take LINQ. I have the DB-Level SPs ready and they are implemented as LINQ methods in the DAL project. Kindly help me out here.
Dobry Zranchev
Telerik team
 answered on 29 Dec 2010
18 answers
1.2K+ views
dont we have functionality for selection of only time (in raddatetime picker win forms q3 2007), just like we have for asp.net toolkit.

thanks
divyesh
Stefan
Telerik team
 answered on 29 Dec 2010
2 answers
89 views
The data-binding of a grid is done  and then at a later point of time some of the missing values in original data become known.
How would I refresh the grid so the missing values show up in the grid? One way seems to be to re-bind the grid, but I think there might be a better approach.
As an example, a grid has a datasource of List<MyCar>.  But, when the original databinding is done,the car price and car depreciation are missing for each MyCar row.. These missing values are available later on, much after the original data-binding operation. The class MyCar is as listed below.
I am using Q1 2008 SP1 version of Winforms RadControls.

Thanks
Sunil

public class MyCar
    {
        private string _carOwner;
        private string _carModel;
        private int _carYear;
        private string _carColor;
        private double _carPrice;
        private double _carDepreciation;
 
        public MyCar(string carOwner, string carModel, int carYear, string carColor, double carPrice, double carDepreciation)
        {
            CarOwner = carOwner;
            CarModel = carModel;
            CarYear = carYear;
            CarColor = carColor;
            CarPrice = carPrice;
            CarDepreciation = carDepreciation;
        }
        public string CarOwner
        {
            get { return _carOwner; }
            set { _carOwner = value; }
        }
        public string CarModel
        {
            get { return _carModel; }
            set { _carModel = value; }
        }
        public int CarYear
        {
            get { return _carYear; }
            set { _carYear = value; }
        }
        public string CarColor
        {
            get { return _carColor; }
            set { _carColor = value; }
        }
        public double CarPrice
        {
            get { return _carPrice; }
            set { _carPrice = value; }
        }
        public double CarDepreciation
        {
            get { return _carDepreciation; }
            set { _carDepreciation = value; }
        }
 
 
    }
Stefan
Telerik team
 answered on 29 Dec 2010
1 answer
108 views
Hi,
I am working dockmanger in mdi from .there are two option in my application to view from in window or in tab form of docking,when i switched from doking to windows and again from windows to dock tab then tool window does't shows.
meraj
Top achievements
Rank 1
 answered on 29 Dec 2010
2 answers
136 views
I have a Gridview and using HtmlViewDefinition on it, but i can not disable HotTracking in this Gridview by setting EnableHotTracking to FALSE.
The HotTracking is still active. Can some body help ???
Phuong
Top achievements
Rank 1
 answered on 29 Dec 2010
10 answers
171 views
Hi,
    I have been using Rad drag and drop. I move all the items from left side grid to right side grid.Now when select a item and move it to the last record by using the scroll  in the mouse, the entire example is closed.How should this be avoided. I have worked in the telerik demos. It is happening for me.My version is telerik Q2 2010.

With Regards,
Surendar.
Surendar S
Top achievements
Rank 1
 answered on 29 Dec 2010
2 answers
117 views
Hi Team,

I developed a small site and hosted in my IIS. when i run the site in my system, the treeview is working perfectly. but when the i run the site from another system which is in a network, the treeview is not expanding (the treeview functionalities are not woring). how to acheive this?

Regards
Bhuvan
Bhuvan
Top achievements
Rank 1
 answered on 29 Dec 2010
3 answers
140 views
Pinning is not working for gridview with ColumnGroupViewDefinition.It works perfectly fine for gridview with tableviewdefinition.
Is it because telerik is not supporting it.Is there any workaround for this.Please give me a solution for this.

Jack
Telerik team
 answered on 28 Dec 2010
4 answers
167 views
Hi All
I using this code for generete gridview master detail  but not work
any ideas?
thancks a lot

GridViewTemplate

 

 

childTemplate = CreateChildTemplate();
GridViewRelation relation = new GridViewRelation(this.gwSchemi.MasterTemplate, childTemplate);relation.ChildColumnNames.Add("XMLFLUSSI");
this.gwSchemi.Relations.Add(relation);
this.gwSchemi.DataSource = ManagerSchema.GetSchemi();
this.gwSchemi.Refresh();

 

 

 

private GridViewTemplate CreateChildTemplate(){
GridViewTemplate template = new GridViewTemplate();
template.AutoSizeColumnsMode =
GridViewAutoSizeColumnsMode.Fill;
template.AllowDeleteRow =
false;
template.AllowEditRow =
false;
template.AllowAddNewRow =
false;
template.ReadOnly =
true;
GridViewTextBoxColumn idColumn = new GridViewTextBoxColumn("id");
ridViewTextBoxColumn nomerColumn = new GridViewTextBoxColumn("nome");
GridViewCheckBoxColumn statoColumn = new GridViewCheckBoxColumn("stato");
GridViewTextBoxColumn tipoColumn = new GridViewTextBoxColumn("tipo");
template.Columns.AddRange(idColumn,nomerColumn,statoColumn,tipoColumn);
template.Columns[
"id"].IsVisible = false;
return template;
}

this is the definition of the two poco class

 

 

 

public class XMLSCHEMI{
public Guid id { get; set; }
public string nome { get; set; }
public string XMLSCHEMA { get; set; }
public List<XMLFLUSSI> XMLFLUSSI { get; set; }
}

 

 

 

public class XMLFLUSSI{
public Guid id { get; set; }
public Guid id_xmlschemi { get; set; }
public string nome { get; set; }
public string f_origine { get; set; }
public string tab_destin { get; set; }
public Boolean stato { get; set; }
public string namepart { get; set; }
public Int32 length { get; set; }
public string extension { get; set; }
public string f_storico { get; set; }
public string f_errore { get; set; }
public string tipo { get; set; }
public XMLSCHEMI XMLSCHEMI { get; set; }
}

 

marco
Top achievements
Rank 1
 answered on 28 Dec 2010
6 answers
168 views
Maybe I'm setting up the grid the wrong way but what I need to do is to constantly query some external files to build a grid. That isn't the issue per se as I've done that. But every time I rebuild the grid (which is around every 2 seconds) what ever row I had selected and where ever I had scrolled to in the list goes away and I go back to the top of the list.

Every two seconds a BuildGrid procedure is called where the data source is created and assigned to the grid.

Here is a portion of the BuildGrid that I'm referring to:

   Private Sub BuildGrid()
        Timer1.Stop()
        Dim completedJobSource As New BindingSource
        While not done
              completedJobSource.Add(New CompletedJobs(strGUID, strJobName, strJobDescription, priority))
         end while

    RadGridView_Completed.DataSource = completedJobSource
   Timer.Start

Could it be that the data source is always being created here? It is possible that some of the data rows might not be there the next time which isn't a big deal but I just don't like that the scrolling keeps going to the top. It would also be great to keep the current row selected whatever it was whether the data in it changed or not.

Thanks,

Tim

Tim
Top achievements
Rank 1
 answered on 27 Dec 2010
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?