Telerik Forums
Reporting Forum
3 answers
248 views
I've used code behind to set up an array to supply values for a dropdown parameter.  This works fine if the Display Member and Value Member are the same.  But now I have a scenario where I want to have a dropdown where the display shows text and the value is an integer.  There are only a few values so I didn't think I would need to create a SQL table for them, but I haven't got this to work yet.

Here is the code:
Public Sub New()
    InitializeComponent()
 
    Dim aryorder(,) As String = {{0, "Lot"}, {1, "Address"}}
 
    Me.ReportParameters("Order").AvailableValues.DataSource = aryorder
 
 
End Sub

This works, but I can't figure out what to set for the DisplayMember property.  I can use =Fields.Item to get the number for the ValueMember, but I don't know what to use for the DisplayMember.  Any ideas?

Thanks
Ed Lance
Top achievements
Rank 1
 answered on 12 May 2012
4 answers
1.0K+ views
Not sure how I can make this work.  I get "Cannot perform '=' operation on System.Object[] and System.Int32"

Thanks for the help -- Bryan H
= IIf(Parameters.ParameterServiceTypeID.Value = 0, "Services: All", "Service: " + Fields.ServiceTypeName)
Bryan Hughes
Top achievements
Rank 1
 answered on 11 May 2012
4 answers
115 views
Can the Grid chart "allow the user to expand and minimize the raw data view"?

What is being asked is for the Grid Chart to essentially be hidden, unless a user hits a button on the report to open that view up.  I was under the impression that this was not what the software actually did.  I'm trying to explain this to my PM in a way that he will understand.  The closest thing I seem to find is the Filter opeion in the properties menu, but I am unsure if this is what I need to accomplish this task. 

What I have right now is a Grid Chart that is displaying all of the raw data in a report via a custom SQL query.  Obviously, with a 1000 results, this can be a lot of data on one report view. 
Matt
Top achievements
Rank 1
 answered on 11 May 2012
2 answers
632 views
I just moved to the Q1 2012 release, and then immediately moved to the Q1 2012 (6.0.12.504) internal build because of the "add new report" problem in Visual Studio.

What I've found is that the italics text I have no longer works in the pdf (or related, the print copy).  It displays correctly in VS Preview, VS Html Preview, and in the browser.  If you print (pdf) or export to pdf, however, the font is not italicized.

I've attached an image showing what I'm seeing.

The font I'm using is 9pt Tahoma.

Thanks for any help!
Scott
Top achievements
Rank 1
 answered on 11 May 2012
2 answers
262 views
I want to create a table of a fixed height regardless of how many items are put into the list, if there is too many items to fit in this space i want the table to be printed again on a following page. Anyone know of a way to do this?
Steve
Telerik team
 answered on 11 May 2012
1 answer
789 views
Hi Friends,

I ahve a report which is 10 columns wide.The problem is that though the report loads with a little delay....and when it loads and i Try to
use the scoll bar of the report viewer to drag to other columns it starts to render again for a long time ...and then i am able to use the whole report after some time..Why is it doing like that?

PS:  There is a warning on My reprot deisgn..Saying that report is to wide to fit on a single page...Does this have  anything to do with my problem..Please guide me...Thank you
Steve
Telerik team
 answered on 11 May 2012
1 answer
114 views
Hi,

I have been given a project which has a lot of reports in Q2 2009 .cs file format. I am not sure if it is even the correct format but the reports work well with the Q2 2009 designer in VS 2010.

When I tried to upgrade to Q1 2012 it only upgrades some .resx files and the .cs files no longer work, they can't be edited. Is there a special procedure I should follow? Any tips?

Thank you.
Steve
Telerik team
 answered on 11 May 2012
3 answers
174 views
Dear Telerik team,
      
         I am getting the following error  while rendering a report using silverlight Teletik report Q2 2011 which has chart control. the happens only some times while chart series is more . 
     
Error Message:   "An error has occurred while processing Chart 'chartGeneric': Image could not be created Page"

 The happens only some times in the client environment . and cannot be reproduce locally . To fix this issue we need to restart the IIS. then it works fine late the same issue repeats. Please find attached screen shot .

Thanks.

regards,
Kiran
Steve
Telerik team
 answered on 10 May 2012
2 answers
315 views
hi , how can i change my telerik report language to be in french ? i am trying to change cultur in reportviewer but it not work .

//// Set the language for static text (i.e. column headings, titles)
      Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr");
      //// Set the language for dynamic text (i.e. date, time, money)
      Thread.CurrentThread.CurrentCulture = new CultureInfo("fr");

thank you ..
Sofiene
Top achievements
Rank 1
 answered on 10 May 2012
1 answer
616 views
Hi ,

I am using the following function to count the number of CUstomers who are Of type Daily.
=Count(IIf(Fields.CustomerType = 'Daily', 1, null))

I am using this in the expression field of a Textbox...But the problem is that the count is diffreneting from the count in the database by 1 record... say if i am getting 94 records in sql databse the count in the report is 93 ...This happening for all types..Am i doing anything Wrong..Thank you

PS: i  am using a table wizard to generate my rows and then in order to show the count i am doing the following

Insert rows->Outsie the group-below-- and here in this row i am  using the count function..

Does this make any difference...
Massimiliano Bassili
Top achievements
Rank 1
 answered on 10 May 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?