I'm anxious to ditch Crystal Reports and start working with Telerik in production but i first need to convert all my reports to Telerik. Problem is, i had some wacky reports but i'm sure there is a way to reproduce them. See the pic below before moving on :
http://s734.photobucket.com/albums/ww342/crazycoders/?action=view¤t=crystallayout2.jpg
This layout, although it looks like it's displayed horizontally is actually displayed vertically like any other reports, but what we used was to simply detect group changes based on the employee name and service name and in the details section we'd hide the field that gets repeated for nothing.
In Telerik, i though i could achieve this doing the following: (Note that PreviousEmployeeName and PreviousServiceName as simple Strings declared private at the top of the report object)
But this doesn't do what i would have expected it to do... instead it does the following:
http://s734.photobucket.com/albums/ww342/crazycoders/?action=view¤t=teleriklayout2.jpg
And you can see in this picture that the employee name seems to repeat twice then stops but the service name never stops repeating. I don't think my logic is all that bad.. can someone help me try to achieve that layout?
Thanks
http://s734.photobucket.com/albums/ww342/crazycoders/?action=view¤t=crystallayout2.jpg
This layout, although it looks like it's displayed horizontally is actually displayed vertically like any other reports, but what we used was to simply detect group changes based on the employee name and service name and in the details section we'd hide the field that gets repeated for nothing.
In Telerik, i though i could achieve this doing the following: (Note that PreviousEmployeeName and PreviousServiceName as simple Strings declared private at the top of the report object)
Private Sub Details_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles Details.ItemDataBound | |
If PreviousEmployeeName = "" Or PreviousEmployeeName <> EmployeeName.Value Then | |
PreviousEmployeeName = EmployeeName.Value | |
PreviousServiceName = "" | |
Else | |
EmployeeName.Value = "" | |
End If | |
End Sub | |
Private Sub ServiceName_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles ServiceName.ItemDataBound | |
If PreviousServiceName = "" Or PreviousServiceName = ServiceName.Value Then | |
PreviousServiceName = ServiceName.Value | |
Else | |
ServiceName.Value = "" | |
End If | |
End Sub |
But this doesn't do what i would have expected it to do... instead it does the following:
http://s734.photobucket.com/albums/ww342/crazycoders/?action=view¤t=teleriklayout2.jpg
And you can see in this picture that the employee name seems to repeat twice then stops but the service name never stops repeating. I don't think my logic is all that bad.. can someone help me try to achieve that layout?
Thanks