Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 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
133 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
136 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
114 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
128 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
119 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
1 answer
62 views
Hi,
I was wondering if it was possible to change the functionality of the TreeView to expand on double click of the arrow, rather than just of the parent item?
Thank you for any help.
Nencho
Telerik team
 answered on 18 Feb 2015
3 answers
781 views
I'm using a radgrid with paging and page size on my site.  But for some reason, the page size dropdown disappears when I make it big enough to display all the results on one page.  So if there are 21 record in the radgrid and I set the page size to 50 then the page size dropdown disappears.  The pagination controls disappear as well but that makes sense.  But I need to give the users the ability to go back to displaying 10 records if they want.  
<telerik:RadGrid ID="AdministratorRadGrid" runat="server" AllowPaging="True" AllowSorting="true" OnItemCommand="AdministratorRadGrid_ItemCommand"
    OnSortCommand="AdministratorRadGrid_SortCommand" OnPageSizeChanged="AdministratorRadGrid_PageSizeChanged"
    OnPageIndexChanged="AdministratorRadGrid_PageIndexChanged" PagerStyle-Position="TopAndBottom">
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="BWUserRoleID">
        <Columns>
            <telerik:GridBoundColumn DataField="BWUserRoleID" HeaderText="ID" ReadOnly="true" Visible="true"></telerik:GridBoundColumn>
           <telerik:GridBoundColumn DataField="DisplayName" HeaderText="Name" ReadOnly="true" FilterControlWidth="150px" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Title" HeaderText="Title" ReadOnly="true" FilterControlWidth="50px" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="UserID" HeaderText="ID" ReadOnly="true" FilterControlWidth="50px" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="RoleID" HeaderText="Role ID" FilterControlWidth="50px" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Description" HeaderText="Description" ReadOnly="true" FilterControlWidth="50px" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"></telerik:GridBoundColumn>
            <telerik:GridButtonColumn ButtonType="PushButton" CommandName="AdminActivate" Text="Edit Admin Status" Resizable="false"></telerik:GridButtonColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>


Pavlina
Telerik team
 answered on 18 Feb 2015
7 answers
990 views
Hello,

Is it possible to open/display a PDF document within the LightBox control?  If so, can you please provide a simple example.

Thanks!
Daniel
Telerik team
 answered on 18 Feb 2015
2 answers
227 views
I've been using the RadGrid's ExportToExcel function and I have one problem.

The setup is very simple.  The grid has only one option:    <Excel Format="Biff"/>

The dataset has field names like DocId and ClientID.  

When the Excel is created it's inserting spaces into the column headers (Doc ID, Client ID, etc).  

I'd like to prevent that.  So far I can't find any code that works.  

Suggestions?  (Haven't been able to get events like BiffExporting or ExcelExportCellFormatting to do anything.)
Boris
Top achievements
Rank 1
 answered on 18 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?