Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
78 views

Hello all, 

 

When using the export to PDF feature of RadEditor, is it possible to not display the footer on the first page and only display it on subsequent pages?

 

Thanks, 

Laura

Laura
Top achievements
Rank 1
 answered on 13 Nov 2015
5 answers
103 views

Hi,

 I have a RadMenu populated with Items and many (more than 800) sub-items. like this :

ITEM 1 -> sub 1, sub 2, ...

ITEM 2 -> sub 1, sub 2, ...,

ITEM 3 -> sub 1, sub 2, ..., sub 400

ITEM 4 -> sub 1, sub 2, ..., sub 600

ITEM 5 -> sub 1, sub 2, ..., sub 800​​

But, when I try to open it, it display that message (in attach files). It append in Firefox but not in chrome.

Do you have a solution ​to display sub-element gradually on client side ?

Thank for helping

Regards

Ivan Danchev
Telerik team
 answered on 13 Nov 2015
1 answer
128 views

After upgrading to Q2 2015 version, when AllowMultiRowSelection is false, on first right click on grid, correct row is being selected. However after that, on every right click, though the context menu is showing, the underlying row is not shown selected! This was working fine on 2014 version.

 I have replicated this issue with the following demo just by adding AllowMultiRowSelection="false" and replacing the telerik dlls from 2014 version to 2015:

http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/context-menu/defaultcs.aspx

 On product version 2014, everything works fine when AllowMultiRowSelection is false. But when I upgraded to product version 2015, the above stated problem is occurring. As I could not attach the project here, I am giving the dropbox link of the project. Please take a look at this.

 Dropbox link: https://www.dropbox.com/s/dlrsjjbqe1j9h9f/RadGrid.zip?dl=0

 Any help regrading this problem will be highly appreciated.

Thanks in advance.

 

Viktor Tachev
Telerik team
 answered on 13 Nov 2015
1 answer
92 views

    Hi,

    I have a hierarchical grid (MasterTable/GridTable views) where I want to populate a DropDownList, in child row (GridTable view), with the 'Operations' configured for the 'Area' value, in the parent row (MasterTable view), using Batch Edit mode. For example: If the operations configured for Warehouse Area are: Op1, Op2, Op3, I want to populate the DropDownList, in the child row (GridTableView), with these values when the Area value, in parent row (MasterTableView), is 'Warehouse'. There are several Areas with several Operations configured.

   Thanks.

    Best regards!

Marin
Telerik team
 answered on 13 Nov 2015
4 answers
453 views

Hi,

 I've implemented RadGrid (2015 Q3) and I've enabled the built-in export to Excel using the following code:

<MasterTableView EnableViewState="false" NoMasterRecordsText="" CommandItemDisplay="Top">
    <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" />
</MasterTableView>

The built-in icon does appear in Chrome and Firefox, but it does not appear in IE 9 & 10. In IE it is still clickable, just the icon itself is not rendered.

Is there any known compatibility issue with older IE versions?

 

Thanks!

Kiril

Kiril
Top achievements
Rank 1
 answered on 13 Nov 2015
1 answer
98 views

Hi,

OnClientFileUploadFailed event handler is not executed in case of losing internet connection in FileAPI mode.

Everything is fine in IFrame and SilverLight modes.

 

How to make this handler works in FileAPI mode? 

 

Ivan Danchev
Telerik team
 answered on 13 Nov 2015
1 answer
109 views

Hi - I've been searching for the way to do this and haven't found it yet.

 I have a grid defined on my page in the normal fashion - with bound columns that allow editing:

 <asp:DataGrid id="dgActivityGroup" runat="server" ForeColor="Black" GridLines="Vertical" CellPadding="3"
AutoGenerateColumns="False" BackColor="White" Width="704px" BorderWidth="1px" BorderStyle="Solid"
BorderColor="Silver" Font-Names="Arial">
<FooterStyle Font-Bold="True" ForeColor="#244272" BorderColor="#B3C5E1" BackColor="#E0EEFE"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#6699CC"></SelectedItemStyle>
<EditItemStyle BackColor="#6699CC"></EditItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#244272" BorderColor="#B3C5E1" BackColor="#E0EEFE"></HeaderStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="ItemIndex" ReadOnly="True" HeaderText="ItemIndex"></asp:BoundColumn>
<asp:BoundColumn DataField="ActivityGroup" HeaderText="Activity Group"></asp:BoundColumn>
<asp:BoundColumn DataField="Description" HeaderText="Description"></asp:BoundColumn>
<asp:BoundColumn DataField="ReportGroup" HeaderText="Report Group"></asp:BoundColumn>
<asp:BoundColumn DataField="TrendTotalGroup" HeaderText="Trend Total Group"></asp:BoundColumn>
<asp:BoundColumn DataField="UnitOfMeasure" HeaderText="Unit of Measure"></asp:BoundColumn>
<asp:BoundColumn DataField="SortOrder" HeaderText="Sort Order"></asp:BoundColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" HeaderText="Edit" CancelText="Cancel"
EditText="Edit"></asp:EditCommandColumn>
<asp:ButtonColumn Text="Delete" HeaderText="Delete" CommandName="Delete"></asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999"></PagerStyle>
</asp:DataGrid>

 

I also have an additional INPUT field on the page that tracks if someone is making changes to the data so I can pop up an "Are you sure" message.

<INPUT id="hdnPageChange" style="WIDTH: 40px; HEIGHT: 19px" type="hidden" size="1" value="false" name="hdnPageChange" runat="server">

 

In the older version of the Telerik controls that I was using with VisualStudio 2003, I used to prerender event to add client script as such:

private void dgActivityGroup_PreRender(object sender, System.EventArgs e)
{
if (dgActivityGroup.EditItemIndex > -1)
{
int currentIndex = int.Parse(dgActivityGroup.Items[dgActivityGroup.EditItemIndex].Cells[CELL_ITEM_INDEX].Text);

((LinkButton)dgActivityGroup.Items[dgActivityGroup.EditItemIndex].Cells[CELL_EDIT_LINK].Controls[0]).Attributes.Add("onclick", "checkScrollPos(); hdnPageChange.value = 'false'");
((LinkButton)dgActivityGroup.Items[dgActivityGroup.EditItemIndex].Cells[CELL_EDIT_LINK].Controls[2]).Attributes.Add("onclick", "checkScrollPos(); hdnPageChange.value = 'false'");
((LinkButton)dgActivityGroup.Items[dgActivityGroup.EditItemIndex].Cells[CELL_DELETE_LINK].Controls[0]).Enabled = false;
}

 

This code worked perfectly before - when the person clicked the Edit button - it would call the client code to set the hdnPageChange.value = false.  But now in the new version of the controls, I get an error:

 Unhandled exception at line 103, column 948 in http://localhost:5040/ActivityGroup.aspx
0x800a1391 - JavaScript runtime error: 'hdnPageChange' is undefined

 

But hdnPageChange definitely exists... even when I do a view source on the page I can see it.  Any idea what I'm doing wrong?  Is there a better way to solve the problem with the new version of the code?

 

Thanks!

 

Viktor Tachev
Telerik team
 answered on 13 Nov 2015
1 answer
71 views

hello,

I'm trying to reproduce this KendoUI example:
http://demos.telerik.com/aspnet-mvc/html5-dashboard-sample-app/Home/ProductsAndOrders

using programmatic client side data binding like this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/programmatic/defaultcs.aspx

Could you provide an example?

what I like of this kendoUI sample is the filtering style (excel style), 100% width and height container fill, Client-side Hierarchy Loading. I do not want to use KendoUI.

I know I could figure out how to have it working myself as I wish, but a working example would be very useful.

 thank you

Maria Ilieva
Telerik team
 answered on 13 Nov 2015
1 answer
78 views

Hi - we've been experiencing a problem using rad controls where CSS styles (served up from Telerik.Web.UI.WebResource.axd) are intermittently not being served up or loaded on pages.  This causes buttons to be present on the page but not visible.

 They are being served up from a load balanced environment; I checked each of the servers individually and I'm not able to reproduce the issue.  Do you have any suggestions as to what to investigate?

Danail Vasilev
Telerik team
 answered on 13 Nov 2015
1 answer
90 views

Pretty much as the title, I am trying to find a way to use a time span as the y axis. So the data is hh:mm:ss.

Is this possible?

Danail Vasilev
Telerik team
 answered on 13 Nov 2015
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?