Devexpress Gridcontrol – Parent Child with entity objects

Firstly I created two simple entity classes named Article and Comment :

Article.cs :

using System.Collections.Generic;

namespace DevexMasterChildSample
{
public class Article
{
public string Subject { get; set; }
public string Body { get; set; }
public List<Comment> CommentList { get; set; }

}
}

Comment.cs

using System;

namespace DevexMasterChildSample
{
public class Comment
{
public string Author { get; set; }
public string Message { get; set; }
public DateTime CommentDate { get; set; . . . → Read More: Devexpress Gridcontrol – Parent Child with entity objects

Devexpress GridControl – ParentChild gösterimi ve birkaç özelliği

Get the Flash Player to see this player.

var s0 = new SWFObject(”http://www.yilmazyavuz.com/yyblog/wp-content/plugins/flash-video-player/mediaplayer/player.swf”,”n0″,”600″,”480″,”7″);
s0.addParam(”allowfullscreen”,”true”);
s0.addParam(”allowscriptaccess”,”always”);
s0.addParam(”wmode”,”opaque”);
s0.addVariable(”id”,”n0″);
s0.addVariable(”controlbar”,”bottom”);
s0.addVariable(”height”,”480″);
s0.addVariable(”playlist”,”none”);
s0.addVariable(”width”,”600″);
s0.addVariable(”autostart”,”false”);
s0.addVariable(”bufferlength”,”1″);
s0.addVariable(”displayclick”,”play”);
s0.addVariable(”icons”,”true”);
s0.addVariable(”linktarget”,”_blank”);
s0.addVariable(”mute”,”false”);
s0.addVariable(”quality”,”true”);
s0.addVariable(”repeat”,”none”);
s0.addVariable(”resizing”,”true”);
s0.addVariable(”shuffle”,”false”);
s0.addVariable(”stretching”,”uniform”);
s0.addVariable(”volume”,”90″);
s0.addVariable(”aboutlink”,”http://www.longtailvideo.com/players/”);
s0.addVariable(”file”,”http://www.yilmazyavuz.com/yyblog/wp-content/uploads/DevExGridParentChild.mp4″);
s0.write(”video0″);

Video Devexpress in en çok kullanılan kontrölü olan GridControl ile Müşteri-Satışlar tablolarının master-child gösteriminin en baştan itibaren nasıl yapılacağını anlatmaktadır. Ayrıca grid üzerinden filtreleme, yeni kayıt girme, gruplama gibi fonksiyonlarına . . . → Read More: Devexpress GridControl – ParentChild gösterimi ve birkaç özelliği

Devexpress – XtraGrid Focused Row

GridControl üzerindeki mainview iniz bir GridView ise ve o anda seçili (Focused) kayda erişmek istiyorsanız. Şu şekilde erişebilirsiniz:

BenimEntityTipim gel = ((DevExpress.XtraGrid.Views.Grid.GridView)gridControl1.MainView).GetFocusedRow . . . → Read More: Devexpress – XtraGrid Focused Row