Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
96 views

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.

Cesar
Top achievements
Rank 1
 answered on 21 May 2009
1 answer
138 views
I am tweaking the MyCustomFilteringColumn to filter a RadGrid.  The data is populating the
comboboxes just fine, however, I cannot seem to add an "All" item at the top of each
combobox.  Below is the code.  Thanks for any help provided.
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);  
}  
 
 

 

Simon
Telerik team
 answered on 21 May 2009
1 answer
134 views
I found it's frustrating that everytime I upgrade telerik controls, I got all kinds of problem. No exception this time. After spent 30+ hours to fix the skin and style sheet problems, I got my application to be functional, but the look and feel is still not exact same as before. I found all in-line style is not working correctly. My question is can I still use in-line style? For example, I add style as follows:
then later I use that class mp or ts. but the float: left doesn't take effect.
<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> 

Also, I have a custom skin for RadInput, I modify most of them with current naming convention, but I can't find any equivalent example for followings:
.radHint_Custom 
{
background: infobackground;
margin-top: 5px;
border: solid 1px black;
text-align: left;
overflow: auto; 
}

.radHint_Custom a,
.radHint_Custom a:visited,
.radHint_Custom a:hover
{
margin: 2px;
color: black;
text-decoration: none;
font-size: small;
}

Ivo
Telerik team
 answered on 21 May 2009
1 answer
148 views
First off.. WOW!  You guys continue to raise the bar higher and never fail to impress-- this is just awesome!

Though mentioned in the blog post.. I wanted to echo, here..  the idea of being able to tweak the colors, and fonts of all [selected] controls from a single location. 
Myself, I'd prob, more often than not,  sticking to the pre-defined skins designs but modding the colors and fonts.

And, also mentioned-- provide other means of setting colors-- in addition to the hue/saturation sliders; hex, rgb.. color picker.. etc.
Set/Load a palette in one place.. and all controls inherit.

Looking forward to using this tool!
Alex Gyoshev
Telerik team
 answered on 21 May 2009
3 answers
128 views

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..

Ivo
Telerik team
 answered on 21 May 2009
1 answer
60 views
In Rad Grid ( Edit form setting ) how to  Find Text box and File upload  ID in Click of Button

Urgent Please help me Telerik Team........


its very-2 urgent
Princy
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
99 views
when i go to my default.aspx page and click on a button, it will open a radwindow which open a radwindow with a getdata.aspx page inside that radwindow. how do i close this radwindow by clicking on an asp button to get back to the main window. please help. thanks.
Princy
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
93 views

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;
}

 

Princy
Top achievements
Rank 2
 answered on 21 May 2009
4 answers
657 views

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 

Hello
I have a radgrid which is based on a crossed table query. I set the autoGenerateColumn property to true as I don't know the field's name when I execute it. I would like to put a column (which I know the name) in edit mode. But only that column. I can't set the others columns to readonly as I don't know their names. I tried the code above but the editableItem.Id is alway = nothing.
Can someone help me please
Shinu
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
162 views
Hi,

The text in the captionformatstring for a popup window is shown twice. Your demo illustrates this where Edit ProductID: 3 is shown in the green title bar and below it.

http://www.telerik.com/help/aspnet-ajax/grdpopupeditform.html

How can I hide the caption in the edit form and just show it on the popup titlebar?

Thanks, Stuart.
Shinu
Top achievements
Rank 2
 answered on 21 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?