or
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
using
System.ComponentModel;
using
IW_CCFA_GEKO.Model;
namespace
IW_CCFA_GEKO.Report.ReportModels
{
[DataObject]
public
class
Products
{
protected
CCFAGEKOEntities db =
new
CCFAGEKOEntities();
[DataObjectMethod(DataObjectMethodType.Select)]
public
List<Product> GetAllProducts()
{
var products =
new
List<Product>();
products.Add(
new
Product() {Name =
"Produkt 1"
, Color =
"blau"
, ListPrice = 2.55, ProductNumber =
"654-789"
});
products.Add(
new
Product() {Name =
"Produkt 2"
, Color =
"gelb"
, ListPrice = 1.20, ProductNumber =
"345-768"
});
products.Add(
new
Product() {Name =
"Produkt 3"
, Color =
"rot"
, ListPrice = 5.0, ProductNumber =
"56-334"
});
products.Add(
new
Product() {Name =
"Produkt 4"
, Color =
"grĂ¼n"
, ListPrice = 3.9, ProductNumber =
"234-159"
});
return
products;
}
}
}
Hi,
I am using Telerik Reporting Q2 2011 with Silverlight 4 and I would like to specify the report name in the Save File Dialog. I have already explored other post regarding this issue and found that Report.DocumentName property is used for this purpose but Silverlight 4 Save File Dialog does not have DefaultFileName property therefore it is not possible to specify report name due to the limitation which comes from Silverlight 4.
But now silvleright 5 have this property for Save File Dialog. So, does the latest release (Q 3 2011) of Telerik reporting have this functionality? If not when it will be available?
Adil
How do I get the actual object? The GetDataSource method is hidden by its access level.
<asp:Content ContentPlaceHolderID="MainContent" runat="server"> |
<form runat="server"> |
<% |
rvReport.Report = ViewData.Model; |
%> |
<telerik:ReportViewer ID="rvReport" runat="server" /> |
</form> |
</asp:Content> |