Telerik Forums
Reporting Forum
2 answers
136 views
Hello

Is there a way to programmatically find out the export type selected in the Export Group?

Thanks


Cheryl
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
59 views
We are currently developing a LOB application in Silverlight and we are looking at using the Telerik reporting.

My question:-

Is it possble to allow the user to select a report and apply filtering before generating it?
For example if the user wanted to produce the report showing new starters for a specific date range.

Kind regards

Mike
Peter
Telerik team
 answered on 06 Aug 2012
0 answers
204 views


1- Unsafe JavaScript attempt to access frame with URL http://www.nexusomr.com/NexusEHRV3-2ol2O8O3ìReportslReportFilters.aspx?type=lmmunizations from frame with URL

http://www.nexusemr.com/NexusEHRV3-20120803/Default.aspx. Domains, protocols and ports must match.

 

2- Unsafe JavaScript attempt to access frame with URL http://www.nexusemr.com/NexusEHRV3-20120803/Telerik.ReportViewer.axd?instancelD=4ca70140ba264d038d369f275bd0d825&optype=Parameters from frame with URL

http://www.nexusemr.com/NexusEHRV3-20120803/Default.aspx. Domains, protocols and ports must match


while testing application on "IPad" above errors are showing and when we are testing on Safari Browser below warning is showing.

Telerik.ReportViewer.axd:-1Resource interpreted as Script but transferred with MIME type text/plain.

Thanks
Kamlesh
Kamlesh
Top achievements
Rank 1
 asked on 06 Aug 2012
1 answer
238 views
Hello.
Is it possible to somehow define the characters used for wrapping?
For example I have following string containing list of people in format : "Name Surname Hour:Minute"
"Michal Michalski 08:35, Damian Damianski 09:46, Roman Romanski 10:45"

Depending on TextBox's size wrapping can break line after space, ":" or ",".
I Need to block possibility of breaking line after certain character (in this case space and ":", so it could only break line after "," character).
Maybe there is any special escape character?

If there is no way of blocking or defining characters for wrapping, Do you maybe have any ideas how can I achieve such functionality?
I have only 1 idea - which is counting size of text, but I think its kind of complicated, cos I would have to keep in mind that there could be like hundreds of combinations of Font and its style chosen.

I will appreciate any help.

Greetings
Michal
Michal
Top achievements
Rank 1
 answered on 06 Aug 2012
4 answers
313 views
Hi ,

i have a sql query with a where condition

like this where customername=@customername

For the @customername parameter , i want to provide  multiple values so i change the code
to
where customername in (@customername)...and enabled the multivalue property to true in  the report parameters property
 but when i choose mutiple vlaues from my customer name drop down , the report is throwing an error...

'An repression of non-Boolean type specified in a context where condition is expected near ',''

Can someone guide me on how to do this...
Ravi
Top achievements
Rank 1
 answered on 03 Aug 2012
3 answers
121 views
I have my report working (mostly) nicely with Telerik ORM (ignoring that the report Preview has a heart attack 50% of the time).

I have two Open Access Data Sources.
oadsOrders = Main data, 1 record per page.
oadsOrderItems = Order detail, many per Order, displayed in a report table.

See screenshots:
report.png = report designer.
mass 2.jpg = screenshot showing how I oadsOrderItems is populated using parameter from oadsOrders


Problem:
I need to show report order total, ie sum(orderItem.amount) though I can't figure a good way to do this.
Telerik report doesn't navigate into 1-N relationships it seems, so I can't tell it to aggregate like this sum(Order.OrderItems.amount) .

I can use custom functions, but they are static and don't know about reportItem, nor could I seem to pass that in properly - it didn't recognise the function.

Do I have to create ANOTHER datasource so that values from OrderItems can be aggreated? Seems like overkill to me..

Thanks,

Pat.

Elian
Telerik team
 answered on 03 Aug 2012
1 answer
344 views
I have a textbox bound to "Field.A".
The problem is that sometimes "Field.A" does not exist and in these cases I need to bind the textbox to "Field.B".

It was recommended that I use a user function :

public static String ResolveField()
{
string s = new string();

// ????
// Check if Field.A exists
// if yes then s = Field.A
// else s = FieldB

return s;
}


How can I check to see if a field exists without an exception?
Steve
Telerik team
 answered on 03 Aug 2012
3 answers
132 views
Hi All

I have a sub report and in the NeedDataSource event I extract my data.
For each row I loop through the columns collection and if that column contains any text I create a textbox on the fly and add it to the report. Each row appears on a new page.

This all works fine apart from one major issue.

  • If the first row contains 6 columns containing text then I generate 6 textboxes.
  • If the second row only has 4 columns containing text then I add 4 textboxes but an additional 2 empty textboxes appear at the end.

I am assuming that these textboxes are remnants from the previous iteration but for the life of me I cannot get a handle on them.
Is there any way I can get a handle on the current page of the sub report so I can remove these empty textboxes?

Chris Gillies
Top achievements
Rank 1
 answered on 03 Aug 2012
1 answer
380 views
I have a report that contains multiple graphs as sub-reports. I am getting an overflow error whenever I navigate to one particular graph in the report (the rest are all fine). See the attached screenshot.

I appreciate I've not provided details on the report, or the type of data etc but i'm more generally looking for how I should approach this in terms of trying to debug the issue. Very little information is available and I've tried to no avail to determine the cause myself.

The report is in the Silverlight reportviewer, so it being rendered on the server side and accessed via the WCF service.

Any tips would be greatly appreciated!

Thanks.
Steve
Telerik team
 answered on 03 Aug 2012
2 answers
271 views
Is there a way to disable the action for a textbox on a databound event?  I'm using an action on a table item to navigation to a drilldown report.  There is no child report, it just opens the same report and navigates to the next node in my hierarchy tree so to speak.  I'm simply passing a value to the same report to indicate who the drilldown parent is.  Everything works fine until I get to the point where there are no more children and I don't want the action to do anything at this point otherwise it will take me to a report with no results.

I've been able to work around my problem by creating two versions of the textbox that contains my action.  One with the action and one without the action.  The one textox is superimposed on the other.  I then simply hide or show the appropriate textbox on a databound event.  Unfortunately, I've run into a problem with this approach and the table object.  A table column can contain only one textbox, so I can't have two different versions of the textbox in a single column.  I can't use two columns, hide one and show the other since some rows may have child reports and some may not. 
Nick Jacka
Top achievements
Rank 1
 answered on 03 Aug 2012
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?