New Posts New Posts RSS Feed: DevExpress Reports
  FAQ FAQ  Forum Search Search  Calendar Calendar  Register Register  Login Login

DevExpress Reports

 Post Reply Post Reply
Author
*Calsy View Drop Down
Groupie
Groupie


Joined: 02-Feb-2009
Location: Australia
Posts: 69
Post Options Post Options   Quote *Calsy Quote  Post ReplyReply Direct Link To This Post Topic: DevExpress Reports
    Posted: 03-Feb-2009 at 9:16pm
Hi All, We have developed a .net app with ideablade and DevExpress. We use DevExpress for our reporting module.

We are currently in the process of upgrading from .net 2005 to .net 2008 and its corresponding versions of DevForce and DevExpress.

I have come across an issue with the 2008 version of devExpress reports when assigning any type of ideablade data list as the datasource of a DevExpress report. It gives the following error : "Value does not fall within the specified range".

Just wondering if anyone is on .net 2008 with the new version of DevForce and trying to assign a entitylist as the datasource for a devExpress XtraReport.

Look forward to any feedback.

Thanks
Back to Top
*Calsy View Drop Down
Groupie
Groupie


Joined: 02-Feb-2009
Location: Australia
Posts: 69
Post Options Post Options   Quote *Calsy Quote  Post ReplyReply Direct Link To This Post Posted: 15-Feb-2009 at 1:52pm
Hi all, I created a cutdown solution for DevExpress support to replicate this issue and they have registered this as a bug when linking to an Ideablade Entitylist as the reports datasource. Will be fixed in the upcoming release.
Back to Top
*Calsy View Drop Down
Groupie
Groupie


Joined: 02-Feb-2009
Location: Australia
Posts: 69
Post Options Post Options   Quote *Calsy Quote  Post ReplyReply Direct Link To This Post Posted: 16-Feb-2009 at 10:19pm
If anybody is interested if you want to assign an entitylist as a DevExpress.Report's datasource than you must add the following code for it to work in the designer:

Public Class Form1

    Private Sub SimpleButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SimpleButton1.Click
        Dim rep As New Report1
        Dim bs As New BindingSource
        bs.DataSource = IdeaBlade.Persistence.PersistenceManager.DefaultManager.GetEntities(Of Entities.AccountCode)()
        rep.DataSource = bs
        rep.ShowDesigner()
    End Sub
End Class

Public Class Report1
    Inherits DevExpress.XtraReports.UI.XtraReport
    Protected Overrides Sub CollectAssociatedComponents(ByVal components As DevExpress.XtraReports.Native.DesignItemList)
        MyBase.CollectAssociatedComponents(components)
        components.Remove(Me.DataSource)
    End Sub

End Class

Back to Top
*Calsy View Drop Down
Groupie
Groupie


Joined: 02-Feb-2009
Location: Australia
Posts: 69
Post Options Post Options   Quote *Calsy Quote  Post ReplyReply Direct Link To This Post Posted: 16-Feb-2009 at 10:21pm
That is with v8.3
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down