Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
Greetings,

I am trying our the RadMediaPlayer and love the idea of having the poster before the video begins. However in order to use this I also need to poster to show after the video completes. Does anyone know how I can accomplish this? Truly I can't be the only one who has ever thought of this?! 

I personally think it should be a configurable option that supports a different poster option. Maybe even with URL support similar to the banners.
Eyup
Telerik team
 answered on 19 Feb 2015
4 answers
162 views
Getting below error while binding Combo Box on demand in RadGrid with BatchEdit Mode. Please help

 The target 'ctl11$RadGridSearchResult$ctl11_RadGridSearchResult_ctl00_Actplc$Actplc' for the callback could not be found or did not implement ICallbackEventHandler. 

public class CreateRadComboTemplate : ITemplate
    {
        private string tempName;
        private int catId;
        public CreateRadComboTemplate(string templateName, int catId)
        {
            this.tempName = templateName;
            this.catId = catId;
        }

        public void InstantiateIn(System.Web.UI.Control container)
        {
            RadComboBox rcBox = new RadComboBox();
            rcBox.ID = this.tempName;
            rcBox.ItemsRequested += rcBox_ItemsRequested;
            rcBox.EnableAutomaticLoadOnDemand = true;
            container.Controls.Add(rcBox);
        }

        void rcBox_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
        {
            //throw new NotImplementedException();
        }
    }
Jaya
Top achievements
Rank 1
 answered on 19 Feb 2015
3 answers
166 views
Hello,

I want to know if is possible to set the Location-CheckAll text in the code behind ?

For exemple :

Page.ascx :
...
<telerik:RadListBox ID="lstBoxFluide" CheckBoxes="true" ShowCheckAll="true" Width="220px"
                                        AutoPostBack="true" Height="100px" runat="server" OnItemCheck="LstBox_ItemCheck" OnCheckAllCheck="LstBox_CheckAllCheck"
                                        OnClientSelectedIndexChanging="OnClientSelectedIndexChanging">
</telerik:RadListBox>
...


Page.cs
...
lstBoxFluide.setLocalization-CheckAll = "Tous les fluides";
..


Thank
Ivan Danchev
Telerik team
 answered on 19 Feb 2015
8 answers
494 views
Hi dear friends!

Do you have a sample of asp.net webforms page populating a radgrid with entity framework objects in code behind. Example:

    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object senderEventArgs e)
        {
            ClientsContext db = new ClientsContext();
            var query = from b in db.Clients orderby b.LastName select new { Client = b.ClientIdFirst = b.FirstNameLast = b.LastNameCounty = b.CountyName, City = b.City };
            GridView1.DataSource = query.ToList().Take(100);
        }
    }
}

Your support will be greatly appreciated.

G
Kostadin
Telerik team
 answered on 19 Feb 2015
2 answers
120 views
Hello,

I would like to know if you have any idea about the following issue :

After an insert , i have some CRUD method to insert or deleting an appointement . In our system , the ID stored is a long and Outlook generate a string (guid?)

The thing is if i want to synchronize both systems , i need to match on the ID but in this case , they are different .

It seems that my insert method is executed first (Debug), and then the Exchange provider insert the new appointment (successfully) .

Is there a way to get the newly guid ID created by the ExchangeProvider ? In that case , it will be easier to create an ExternalID on our database .

Thanks a lot for your help,

Issou     
Ismael
Top achievements
Rank 1
 answered on 18 Feb 2015
2 answers
158 views
Hi Team,
I need your help to populate the data on RadSlidingPage once any row or data insertion happaned from the Child Page.

Idea - 
RadSlidingPage has TreeView. Under the treeview, there is Combobox. This combobox will be listing all drivers.
I have attached an image for the reference.

I am using Telerik Version 2014 Q1. I kept RadSlidingPage in masterpage. I have a child page where I am doing DB interaction through Insertion, Edit or Deletion operation. If we do any insertion of driver details. RadSlidingPage has to get refresh or reload. Jus moment before added driver should be listed in RadslidingPage's combobox. I trying to do with javascript but unable to get it.

Please help to achieve this. Thanks in advance. 
Vessy
Telerik team
 answered on 18 Feb 2015
1 answer
155 views
Hi,

I am using radgrid excel export using html format. In radgrid ExportCellFormatting event we are formatting the date column as below 

 If e.FormattedColumn.UniqueName = "t_UploadedOn" Then
    e.Cell.Style("mso-number-format") = "dd\-mm\-yyyy\ HH\:mm\:ss\"
End If

The above works fine if date is something like 29-01-2015, but if date is like 1st of Feb 2015 then it will show as 02-01-2015. Please see the attached screen grab of recent export.

Any help would be greatly appreciated.
 
Daniel
Telerik team
 answered on 18 Feb 2015
4 answers
146 views
I am using the metro touch skin form my interface to get bigger touch menus, boxes and buttons - looks great.

In the ribbon editor interface, using metro touch messes up the html tab.  The top text cannot be seen and the scroll bars are messed up.  So I switched to the default skin for the editor while the rest of the interface stays in metro.

The question, how do I do this?  My editor is lacking styles.  The editor interface in the middle with a big gap at the top which I know from previous experience is a style problem.   How can I make my editor use a default skin while in metro touch?

Another solution would be getting the HTML window in Metro Touch to work, huge bug there.

Help please,
George
Ianko
Telerik team
 answered on 18 Feb 2015
4 answers
159 views
Hello, 
is there a simple way to make the RadMenu header button like the RadToolBar Button?

I have a toolbar with a button with a template. Into this template there is a RadMenu but the style is completely different.
Look at the attached picture.
I'd want the menu "item menu" looks like "item Save" in normal state and like "item add" when is hovered.

Thanks
Maurizio
Maurizio
Top achievements
Rank 1
 answered on 18 Feb 2015
1 answer
154 views
My Grid has a RadTextBox that is being used to filter on all the columns. It Looks like this:


<telerik:RadGrid runat="server" ID="grid1" GridLines="None" ShowFooter="False" Culture="de-DE">
    <MasterTableView AutoGenerateColumns="False" AllowMultiColumnSorting="True" CommandItemDisplay="Top">
        <CommandItemTemplate>
            <telerik:RadToolBar ID="radToolBar" Skin="Windows7" runat="server" AutoPostBack="true" Width="100%">
                <Items>
                    <telerik:RadToolBarButton Value="section2">
                        <ItemTemplate>
                            <telerik:RadTextBox ID="textbox1" runat="server" Skin="Windows7"><ClientEvents OnKeyPress="OnKeyPress" /></telerik:RadTextBox>
                            <telerik:RadButton ID="btnSearch" runat="server" Skin="Windows7" Text="Search" CommandName="Search" OnClick="searchButton_Click"/>
                        </ItemTemplate>
                    </telerik:RadToolBarButton>
                </Items>
            </telerik:RadToolBar>
        </CommandItemTemplate>
    </MasterTableView>
    <GroupingSettings CaseSensitive="False" />
</telerik:RadGrid>


Now when I click the button to do the filtering, this function gets called.

protected void searchButton_Click(object sender, EventArgs e)
{
    RadTextBox searchFilter = GetSearchBox();
    if (searchFilter == null) return;
 
    var filterExpression = new StringBuilder();
    var searchText = searchFilter.Text;
    foreach (GridColumn col in grid1.MasterTableView.Columns)
    {
        filterExpression.AppendFormat("{0}(it[\"{1}\"].ToString().ToUpper().Contains(\"{2}\".ToUpper()))",
            filterExpression.Length != 0 ? " OR " : string.Empty, col.UniqueName, searchText);
    }
 
    activePassiveGrid.MasterTableView.FilterExpression = filterExpression.ToString();
    activePassiveGrid.MasterTableView.Rebind();
}


This works as expected. But after the Rebind(), the filtering becomes active, which clears the text in my textbox. I don't want it to be cleared, so you can still see what your filter searches for. Is it somehow possible to keep the text in the textbox?










Fenris
Top achievements
Rank 1
 answered on 18 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?