Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
I realize you can just go into IIS and extend the session, or you use javascript to keep the session alive, but I have been requested to find out if there is something within the telerik library specifically that can help with this - ideally something that works well with usergroups.  Again I am aware that it can be done without telerik.

If there is, we would like to know about it.

Thanks.
Ianko
Telerik team
 answered on 08 Aug 2014
4 answers
106 views
Hi,

the default of GroupingDirection in AgendaView is Horizontal, which is fine.
But in this case it ignores the ResourceHeaderTemplate.
Is there a way to change the look of it?

Manfred
ManniAT
Top achievements
Rank 2
 answered on 08 Aug 2014
1 answer
221 views
My data is exporting to Excel but the problem is the appearance of the Excel column widths.  Currently, the result is the columns are very narrow and concealing some of the data.  I have looked at the RadGrid documentation and demo and tried to follow it but I haven't seen, or comprehended, what would format the Excel column widths to fit the header column titles.  I have tried scrolling through all the properties for MasterTableView, RowIndicatorColumn, and a few others but didn't seem to see anything that offered help with this issue.  Is there a setting that would 'autosize' the width of the exported columns based on the content of the data in the HeaderText so that the user doesn't have to manually expand the columns before being able to view the contents?  Thanks for any suggestions.
Shinu
Top achievements
Rank 2
 answered on 08 Aug 2014
2 answers
160 views
So I have a RadGrid:

<telerik:RadGrid ID="RadGridPageDetails" runat="server" DataSourceID="dsReportPageDetail" AllowAutomaticUpdates="True" Width="100%" OnItemCommand="RadGridPageDetails_ItemCommand" OnItemDataBound="RadGridPageDetails_ItemDataBound"><br>
    <
MasterTableView AutoGenerateColumns="False" DataKeyNames="ReportPageID" DataSourceID="dsReportPageDetail">


A bunch of Gridbound columns like so:

<telerik:GridBoundColumn DataField="PageName" FilterControlAltText="Filter PageName column" HeaderText="Section Name" SortExpression="PageName" UniqueName="PageName">
    <ColumnValidationSettings>
        <ModelErrorMessage Text="" />
    </ColumnValidationSettings>
</
telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="PageTitle" FilterControlAltText="Filter PageTitle column" HeaderText="Section Title" SortExpression="PageTitle" UniqueName="PageTitle">
    <ColumnValidationSettings>
        <ModelErrorMessage Text="" />
    </ColumnValidationSettings>
</telerik:GridBoundColumn>

Here I Created a GripDropDownColumn inside that RadGrid:

<telerik:GridDropDownColumn DataField="PageOrientation" EnableEmptyListItem="true" EmptyListItemText="--Select--" EmptyListItemValue="" ListTextField="Value" ListValueField="Value" FilterControlAltText="Filter PageOrientation column" HeaderText="Page Orientation" UniqueName="PageOrientation">
<ColumnValidationSettings>
                      <ModelErrorMessage Text="" />
</ColumnValidationSettings>
</telerik:GridDropDownColumn>

And here I attempt to use codebehind to populate this griddropdowncolumn with the following values: Select, Landscape, Portrait. 

protected void RadGridPageDetails_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem && (e.Item as GridEditableItem).IsInEditMode)
            {
                GridEditableItem editedItem = e.Item as GridEditableItem;
                GridEditManager editMan = editedItem.EditManager;
 
                GridDropDownListColumnEditor editor = editMan.GetColumnEditor("PageOrientation") as GridDropDownListColumnEditor;
                DataTable dt = new DataTable();
                dt.Load(SQLCalls.GetDropdownListValues("Page Orientation")); //This pulls "Landscape" and "Portrait"
                editor.DataSource = dt;
                editor.DataSource = new string[] { "Landscape", "Portrait" };
            }
        }

Both of the datasources I've tried don't work, and I believe it's because I'm not setting ListText and ListValue correctly. Can someone help me fix this so it will work?

Also, when I am in edit mode, I want it to start off selecting the current value, instead of defaulting to "Select".


Shinu
Top achievements
Rank 2
 answered on 08 Aug 2014
3 answers
141 views
Is it somehow possible to use the ContextMenu on databound tiles?

I wish to achieve a dynamic contextmenu that has view, edit, delete (and other) items depending on the tile/item+user.
Princy
Top achievements
Rank 2
 answered on 08 Aug 2014
3 answers
204 views
Hi,

I have a button on my page which has a long process. When it pressed I want to show info one by one in loading panel like "Connecting to server....", "Collecting data....", "Preparing Tables..." etc.
Is it possible?

Many thanks.
Shinu
Top achievements
Rank 2
 answered on 08 Aug 2014
5 answers
221 views
Hi,

We have several columns of type GridHyperLink which, when exported to excel, render as blank - no data. Is there a trick to getting links to export in Excel? Thanks.
Shinu
Top achievements
Rank 2
 answered on 08 Aug 2014
3 answers
389 views
Hi all,

Is there any way to auto open the Radgrid in the edit mode for the first record during page load?
The Radgrid is set to popup user control in edit mode...

Thank you.

Regards,
George




Princy
Top achievements
Rank 2
 answered on 08 Aug 2014
3 answers
704 views
I have noticed a weird issue while attempting to filter columns. Particularly columns that contain numbers. For example, I have a column called ID and there is an entry in the grid with the ID 1234. When filtering with contains on the ID column, if I type 123 into the filter box, and hit enter to run it, it will turn up nothing, or an ID thats exactly 123. ID 1234 will NOT show unless I try filtering on 1234.

I am wondering if there is a way around this at all.

I have the CurrentFilterFunction="Contains" on.

<telerik:GridBoundColumn DataField="IncidentID" HeaderText="Incident ID" HeaderStyle-ForeColor="White" ShowFilterIcon="false" AutoPostBackOnFilter="true"
            SortExpression="IncidentID" ItemStyle-VerticalAlign="Top">

This is the column in question.
I have the ShowFilterIcon set to false as I only want the filter to be Contains.

I have an idea to make the bound column into a templatecolumn and populate the item in the behind code. I could make the item into a string, and filter on contains then. But I was hoping there would be a better way to do this.
Alexander
Top achievements
Rank 1
 answered on 07 Aug 2014
2 answers
96 views
I am using the Rad Editor tool in a web application. The editor is used to automatically load basic HTML templated forms to be filled out. The problem with the editor is that the read-only functionality works differently in separate browsers. Safari, and Chrome work perfect with the read-only sections (i.e. a table data like <td contenteditable="false" unselectable="ON">Example</td>). Internet Explorer works partially. IE will work properly with read-only elements as long as the first click inside the editor is on an element that is not meant to be read-only. If the first element clicked is a read-only one, the cursor is focused at the start of the first read-only element, and allows the read-only to be edited. As for Firefox, read-only sections will not work at all. The html is able to be deleted at any time. Is there a way to make read-only elements cross browser compatible?
Patrick
Top achievements
Rank 1
 answered on 07 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?