Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
96 views
I have a radtilelist with raddatapager when i click on paging of raddatapager then screen flicker occurs in firefox browser of all android devices
Ujwala
Top achievements
Rank 1
 answered on 09 Sep 2014
4 answers
190 views
Does this version work in WSS 3.0? or is it just for MOSS?

cheers

Gavin
123
Top achievements
Rank 1
 answered on 09 Sep 2014
4 answers
711 views
Hi everyone, 
I want to filter grid with by textbox. This textbox has got property autocomplete. I want to run this code in textbox onchange method. I write this code but I always need press for filter the grid. How can I fix this

<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True"
    EnableTheming="True">
</telerik:RadScriptManager>
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnItemDataBound="RadGrid1_ItemDataBound"
    OnNeedDataSource="RadGrid1_NeedDataSource" AllowPaging="true" AllowFilteringByColumn="true"
    EnableLinqExpressions="false">
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="ID" EditMode="InPlace">
        <CommandItemSettings ShowExportToPdfButton="true" />
        <Columns>
            <telerik:GridBoundColumn DataField="ID" UniqueName="ID" HeaderText="ID">
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn UniqueName="Name" DataField="Name">
                <FilterTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True"  OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
                </FilterTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridEditCommandColumn>
            </telerik:GridEditCommandColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>


protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
       {
           dynamic data = new[] {
            new { ID = 1, Name ="aaa"},
            new { ID = 2, Name = "bbb"},
            new { ID = 3, Name = "ccc"},
            new { ID = 4, Name = "ddd"},
             new { ID = 5, Name ="eee"}
          };
           RadGrid1.DataSource = data;
       }
 
       protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
       {
 
       }
 
       protected void TextBox1_TextChanged(object sender, EventArgs e)
       {
           TextBox TextBox1 = sender as TextBox;
           RadGrid1.MasterTableView.FilterExpression = "([Name] LIKE \'%" + TextBox1.Text.Trim() + "%\') ";
           GridColumn column = RadGrid1.MasterTableView.GetColumnSafe("Name");
           column.CurrentFilterFunction = GridKnownFunction.Contains;
           column.CurrentFilterValue = TextBox1.Text.Trim();
 
           RadGrid1.Rebind();
 
       }


Best Regards
bharath
Top achievements
Rank 1
 answered on 08 Sep 2014
0 answers
115 views
Hi, I figure this should be easy to do but I can't seem to find the solution...

I want wrapframes=false as I'm using my rotator to show a waiting queue. 
When it loads, it rotates to the bottom of the list, then stops.

How, do I get it to restart at the top and continuously loop that way?

Also, I think I found the answer, but setting height to 100% has to be done with AJAX?
Greg
Top achievements
Rank 1
 asked on 08 Sep 2014
2 answers
163 views
Hello,

I have two questions regarding the creation of task items:

1. Is it possible to restrict the creation of tasks to have e.g. only one root task or the depth of the task tree should only be 2. For me it was not possible to remove such tasks out of the tree after clicking "Add Task". Or is it possible to disable or enable the "Add Task"-Button or e.g. the "Add child"-Button?

2. Can I set the Id of the new created tasks by myself? If i try to set the task Id inside the "OnTaskInsert"-event, it doesn't affect the task Id which is shown inside the gantt control.

Thanks.

Regards,
Felix
Felix
Top achievements
Rank 1
 answered on 08 Sep 2014
4 answers
172 views
i am using 2013.3.1114.35  telerik version .  AllowFilteringByColumn="True" Means It allow value to filter in Radgrid for a column .

In  my  radgrid contains Name ,Dept Column with many rows .If i want to filter the particular Name in grid So i enter as Text  eg: '      Hema' and select startwith  (because this only save in my table)  to filter particular name .
but when i using  rdGrdReport.MasterTableView.FilterExpression  means it allowslike this           (name Lilke 'Hema%')  to back End so i not able to filter the value.

Issues is when we using Filter expression  with  [allow space before value to '    Hema' search in filter text box means it consider like 'Hema%'   ].not taking space before the value.
Konstantin Dikov
Telerik team
 answered on 08 Sep 2014
7 answers
147 views
I'm trying to set the header for dates on Month View to a white background. I'm doing this:

    div.RadScheduler .rsDateHeader
    { 
        background: white;  
    }     

All that does is set the background under the text of the date to white. But is leaves the rest of the header for the day the default color. See screenshot.
I would like to have the entire header for day have a white background.

How do I do that?

Brad
Top achievements
Rank 1
 answered on 08 Sep 2014
6 answers
288 views
Hi,

I have a radgrid that contains columns where I trim the text I am displaying (to 50 characters)  in the Item databound event of the RadGrid.

However, the problem I have is that by doing that when I then export the grid data to excel the text also appears trimmed in there. Is it possible to trim the text in the UI without it getting trimmed when I export to Excel?
Vaibhav
Top achievements
Rank 1
 answered on 08 Sep 2014
1 answer
109 views
Hi,

I have just started playing with the Tile List and I love the functionality. I have one thing that I can't seem to find out how to do. I have a number of context actions on the peek template and this works like a charm on desktop browsers but I cannot see a way to show the peek template on a touch based device such as an iPad.

I still want to maintain the ability to select some or all of the tiles but also to be able to access the peek template to use the context controls.

Has anyone done something like this, the mobile and touch section of the demos is only about a responsive layout.

Thanks

Chris
Marin Bratanov
Telerik team
 answered on 08 Sep 2014
1 answer
102 views
I am using RadTooltipmanager for a control in detailview section of a radgrid. Tooltipmanager is bound in item_databound event and associated with user control in Ajax update event. Tooltipmanager is properly invoked and page_load event of the user control is also fired but still user control is loaded in the tooltipmanager.

Code in item_databound event ->
    if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
                    {
                        Control target = e.Item.FindControl("imgFinal");
                        if (!Object.Equals(target, null))
                        {
                            if (!Object.Equals(this.RadToolTipManager1, null))
                            {
                                DataRowView currentRow = (DataRowView)e.Item.DataItem;
                                //Add the button (target) id to the tooltip manager

                                ToolTipTargetControl tltpCntrl = new ToolTipTargetControl(target.ClientID, ((Image)target).ImageUrl, true);
                                try
                                {
                                    this.RadToolTipManager1.TargetControls.Remove(tltpCntrl);
                                }
                                catch (Exception ex)
                                {

                                }
                                this.RadToolTipManager1.TargetControls.Add(tltpCntrl);
                            }
                        }
                    }



Ajax Update event 

 Control usrControl = Page.LoadControl("~/Common/Controls/EPScoring.ascx");
                e.UpdatePanel.ContentTemplateContainer.Controls.Add(usrControl);




























Marin Bratanov
Telerik team
 answered on 08 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?