Telerik Forums
Reporting Forum
1 answer
131 views
Hello, The reports do not show sources with emphasis on export to pdf fonts appear without the underline. How do you get fonts to be displayed with the underscore in pdf?
Steve
Telerik team
 answered on 07 Aug 2012
2 answers
133 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
55 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
200 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
231 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
308 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
118 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
340 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
118 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
371 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
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?