Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
134 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
125 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
141 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
123 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
59 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
95 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
92 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
638 views

Public Sub RadGrid1_PreRender(ByVal sender As ObjectByVal 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
157 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
1 answer
181 views

Issue1:

I want to add/Edit rows to Hierarchical child grid as how we can done for RadGrid.


Issue2:

 How to add a row by default in insert mode in Hierarchical Grid.?



Regards,
Satya.
Princy
Top achievements
Rank 2
 answered on 21 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?