Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
137 views
I have a radgrid that auto generates its columns from a data table. I need to allow the user to enter a value in a textbox and search all columns of the grid for matches. I have the filter working for every column of the table that is pure text. The problem occurs with the date assigned column since it is not pure text but a datetime column.

The current Filter expression is:
WorkPackageGrid.MasterTableView.FilterExpression = "(([Title] LIKE \'%" + OtherFilter.Text + "%\')OR([Number] LIKE \'%" + OtherFilter.Text + "%\')OR([Status] LIKE \'%" + OtherFilter.Text + "%\')OR([ApprovalStatus] LIKE \'" + OtherFilter.Text + "\')OR([ScopeName] LIKE \'%" + OtherFilter.Text + "%\'))"

Is there a way to filter the datetime column based on the cells text value so all i need to add is "OR([DateAssigned] LIKE \'%" + OtherFilter.Text + "%\')" or convert the column to a pure text value so the same line would work?
Matthew
Top achievements
Rank 1
 answered on 04 Jan 2013
0 answers
71 views
Hi, 

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/templateformupdate/defaultcs.aspx

In the above example when we click on the edit button it opens the form below the item. Can we open that item on the top instead of below the item??


Thanks,
Nimmy
Nirmala
Top achievements
Rank 1
 asked on 04 Jan 2013
0 answers
97 views
Hello sir,
We are using the telrik controls in our company.
Our client using the Apache server .
On Apache server lots of Rad control are not working.
so can you please provide us the proper solution for our issue it is an urgent problem

Regards
Amit
Amit
Top achievements
Rank 1
 asked on 04 Jan 2013
2 answers
180 views
Hello,

I want to make a csv export of my RadGrid (see below). My grid is in a RadAjaxPanel with RadAjaxLoadingPanel.
I first tried with the export button in the command area of the grid, but when I clicked on the button, I saw the loading panel but no popup appeared to make me choose the filename.

I tried  with a personal export button to be sure to call the export function in the code behind (see below), but I have the same behaviour: no popup.

Someone could say me what I forgot ?

Thanks by advance
Regards
Damien


<telerik:RadGrid ID="RadGrid1" runat="server"
                                                    AllowSorting="true"
                                                    ShowGroupPanel="true"
                                                     
                                                    GridLines="Both"
                                                  
                                                    ItemStyle-CssClass="RowStyle"
                                                    AlternatingItemStyle-CssClass="AlternatingRowStyle"
                                                    HeaderStyle-CssClass="HeaderStyle"
                                                    SelectedItemStyle-CssClass="SelectedRowStyle"
 
                                                    ClientSettings-Selecting-AllowRowSelect="true"
                                                    ClientSettings-Resizing-AllowColumnResize="true"
                                                    ClientSettings-Resizing-AllowRowResize="true"
                                                    ClientSettings-Scrolling-AllowScroll="true"
                                                    ClientSettings-Scrolling-UseStaticHeaders="true"
                                                    ClientSettings-Scrolling-FrozenColumnsCount="1"
                                                    ClientSettings-Scrolling-SaveScrollPosition="true"
                                                    ClientSettings-AllowColumnsReorder="true"
                                                    MasterTableView-AllowMultiColumnSorting="true"
                                                    ClientSettings-ClientEvents-OnGridCreated="GridCreated"
                                                    SortingSettings-SortedBackColor="Beige"
                                                    SortingSettings-EnableSkinSortStyles="false"
                                                    SortingSettings-SortToolTip="tri">
 
                                        <ClientSettings AllowDragToGroup="true" />
                                        <GroupingSettings ShowUnGroupButton="true" />
                                        <ExportSettings IgnorePaging="true" >
                                            <Csv ColumnDelimiter="Semicolon" EncloseDataWithQuotes="true" />
                                        </ExportSettings>
 
                                    </telerik:RadGrid>
                                  
 
                                    <asp:Button ID="btnExportCVS" runat="server" Text="Export" CssClass="CTAButton" Enabled="true" OnClick="btnExportCVS_OnClick"></asp:Button>

protected void btnExportCVS_OnClick(object sender, EventArgs e)
{
    this.RadGrid1.MasterTableView.ExportToCSV();
}
Damien
Top achievements
Rank 1
 answered on 04 Jan 2013
5 answers
158 views
Hello All,

I need to have a radeditor set to readonly with a toggle for full screen.  Full screen should also be readonly.
I have a radeditor set to height=100px and editmodes=Preview.  The following works but not in full screen.

**Once I toggle from full screen back, the editor is no longer readonly.

<telerik:RadEditor Skin="Default" ID="RadEditor1" EditModes="Preview" OnClientModeChange="OnClientModeChange" Enabled="true" runat="server" Width="100%" Height="150px" ToolsFile="~/includes/NoTools.xml">
</telerik:RadEditor>

function OnClientModeChange(editor, args) {
                var mode = editor.get_mode();
                switch (mode) {
                    case 1:
                        //alert( "We are in Design mode");
                        //do something
                        break;
                    case 2:
                        //alert("We are in HTML mode");
                        break;
                    case 4:
                        setTimeout(function () {
                            var tool = editor.getToolByName("ToggleScreenMode");
                            tool.setState(0);
                        }, 0);
                        //alert( "We are in Preview mode");
                        //do something
                        break;
                }
            }

Khanh
Top achievements
Rank 1
 answered on 04 Jan 2013
2 answers
124 views
Help.

My boss caught a glimpse of the RadGrid with no skin assigned and liked it, mainly because of the compactness of the display.  On top of that, he wants row borders.

Now I'm trying to customize it and I'm getting nowhere.

It looks to me like having a null skin setting also eliminates the ability to center a radgrid within a div.  (I've been using this to center the grid:  div.RadGrid { margin-left: auto !important; margin-right: auto !important;}.

Is any of this even possible?
Boris
Top achievements
Rank 1
 answered on 04 Jan 2013
2 answers
104 views
Hi.

i have treeview that has onnodeclick event. and i want to add tooltip (text:this node has child) on treeview.selectednode if node has child.

serverside or clientside, i dont know which way the best for this scenerio. i tried server side but i didnt get result.

i read a few forum post and demos but i am a bit  confused. Could someone give me sample for this.

thanks.


Cuneyt
Top achievements
Rank 1
 answered on 04 Jan 2013
1 answer
185 views
How can i remove the border in the radlistview?
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
1 answer
136 views
I see examples on how to export to PDF on the ASP.NET Ajax RadGrid - does the SPRadGrid Web Part support exporting to PDF?  

I assume I could do this with a custom application page, but I'm trying to find a setting in the SPRadGrid Designer or a way to do it in the web part itself (no app dev).

Thank you!
Michael
Tsvetoslav
Telerik team
 answered on 04 Jan 2013
1 answer
127 views
hii,
I have a radcombobox with 2 items. How can i restrict the user from selecting the second item?

Thanks
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?