Hi All,
I starting a new project and am considering using either CSLA.Net or LLBLGen as my business objects / data access layer. I know each framework has its advantages and disadvantages in terms of the framework itself, but primarily, for this thread, I'm interested in how well each supports and is supported by databinding with RadGrid.
I searched the forums and found postings, but most were a couple of years back. The problems being described seemed to have relatively "solvable" fixes and some others talked about enhances being added to Telerik tools that would address said problems. I know Telerik does an outstanding job of constantly enhancing their tools, so I don't know if the lack of newer postings is due to both framework enjoying fully functional and compatible databinding or for some other reason...?
My questions are... does anyone have experiences they would like to share regarding each (or ideally both) with respect to databinding? If there are definite things to consider for either, that would be great too. I am most interested in sorting, filtering, and optimized custom paging through their respective datacontrols.
After that, any general thoughts would also be appreciated, but I wanted the primary concern to be addressed first.
I would love to hear from Telerik staff that the support requests have gone away because both frameworks are working perfectly with RadGrid. :)
Many thanks in advance,
C.
| public class MyCustomFilteringColumnCS : GridBoundColumn | |
| { | |
| //RadGrid will call this method when it initializes the controls inside the filtering item cells | |
| protected override void SetupFilterControls(TableCell cell) | |
| { | |
| RadGrid RadGrid2 = (RadGrid)cell.Page.FindControl("RadGrid1"); | |
| base.SetupFilterControls(cell); | |
| cell.Controls.RemoveAt(0); | |
| RadComboBox combo = new RadComboBox(); | |
| combo.ID = ("ComboBox_" + this.UniqueName); | |
| combo.ShowToggleImage = false; | |
| combo.Skin = "Office2007"; | |
| combo.AutoPostBack = true; | |
| combo.Items.Add(new RadComboBoxItem("All", "%")); | |
| combo.DataSource = RadGrid2.DataSource; | |
| combo.DataTextField = this.UniqueName; | |
| combo.DataValueField = this.UniqueName; | |
| combo.Items.Insert(0, new RadComboBoxItem("All","%")); | |
| combo.DataBind(); | |
| combo.SelectedIndexChanged += this.list_SelectedIndexChanged; | |
| cell.Controls.AddAt(0, combo); | |
| cell.Controls.RemoveAt(1); | |
| } | |
| <asp:Content ID="Content2" ContentPlaceHolderID="cph2" Runat="Server"> |
| <style type="text/css"> |
| .mp |
| { |
| border:1px solid #898c95; |
| background-color:#f1f1f1; |
| margin-left: 2px; |
| float:left; |
| width: 100%; |
| } |
| .ts |
| { |
| text-align:left; |
| width: 160px; |
| margin-right:1px; |
| } |
| </style> |
| </asp:Content> |
We have been waiting for Q2 release to target as the first production usage, assuming the breaking bugs for us are fixed..
Is the "Q" part the quarter or something else? as it is almost the end of Q2?
Also is there a release schedule somewhere, and a contents list of what it actually contains (or at least planned to contain)..
Anything to enable us to plan our activities..
Thanks..
I am using WebBlue Skin. How can I use CSS in a RadGrid EditItemStyle-CssClass="Test" . I have tried what is below and it does not work.
<telerik:RadGrid .... EditItemStyle-CssClass="Test" >
.RadGrid_WebBlue .Test
{
background-color:red;
}
| Public Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.PreRender |
| If Not IsPostBack Then |
| For Each item As GridItem In RadGrid1.MasterTableView.Items |
| If TypeOf item Is GridEditableItem Then |
| Dim editableItem As GridEditableItem = CType(item, GridDataItem) |
| 'TRY to find my column YEAR here but I'm not able |
| If editableItem.ID = "YEAR" Then |
| editableItem.Edit = True |
| End If |
| End If |
| Next |
| RadGrid1.Rebind() |
| End If |
| End Sub |