Hi guys,
Just wondering if there is a way to use a different table prefix to the standard tr_xxx when using your implementation of IStorage as the caching mechanism for reports?
Cheers.
Hello together.
There are two possibilities to accomplish ordering, sorting, filtering and grouping of data when using Telerik Reporting.
First approach is very obvious because probably you have to / had to work like this anyway: Use WHERE, ORDER BY, GROUP BY directly in SQL clause but it's some kind of "hidden".
Second approach is the ".NET way" which means that you apply those conditions on a "data adapter class" like you can do it in the report designer for example which is very handy since you don't need to code anything manually but have handy GUIs and can see it instantly in the designer's view.
Now my question: Which one is better / faster and (dis-) advantages over the other?
Are those "programmatically applied" conditions configured through the GUI evaluated by the application code after the original sql query is executed code or are they "translated" to native sql commands and applied before exuting the query?
First one would have noticeable impact on performance I guess whilest the second one is very handy as described above and you can see on the "top level" and don't have to search for anything "back" in the sql commands.
Thanks and regards!
Hello,
I have added a pie-chart to my report. For each "pie-slice", I have added a label that appears just outside the slice.
I am facing problem for "connecting-line" from the pie-slice to its label. The connecting-line overlaps the labels?
I have used following code snippet to place the labels and connecting-line properly in Pie-chart.
chart.AutoLayout = true;
chart.IntelligentLabelsEnabled = true;
chartSeries3.Appearance.ShowLabels = true;
chartSeries3.Appearance.ShowLabelConnectors = true;
chartSeries3.Appearance.LabelAppearance.Visible = true;
chartSeries3.Appearance.LabelAppearance.Distance = 10;
chartSeries3.Appearance.StartAngle = 30;
chartSeries3.Appearance.ShowLabelConnectors = true;
But Still i am facing the issue of connect line overlapping labels.
Hello
Today I started designing my first report in the standalone report designer for the HTML 5 report viewer. Up to now, all reports were type definitions in a class library.
We have some elements that need to be adjusted through bindings in respect of size or position according to the user's settings in the data base. This is done through global functions defined in the same reports class library. So I added the reports library as assembly reference for binding in XML reports for being able to use the same function bindings in the XML report as used in the report type definitions.
So long so good. After having added this reference, binding works. For example assigning a value through such a bound function works as expected. Also the binding of functions for size and position doesn't throw an error. It just does nothing! the picture box stays where it's positioned in the report and keeps the size defined in the report. It drives me crazy!
Function binding looks as follows:
<Binding Path="Size" Expression="=ReportingLib.GlobalFunctions.setPictureSize(ReportingLib.GlobalFunctions.tryPath(Fields.Organisation_ID,"ListHeaderPortrait"))" />
<Binding Path="Location" Expression="=ReportingLib.GlobalFunctions.setLocation(Fields.Organisation_ListHeaderX, Fields.Organisation_ListHeaderY)" />
<Binding Path="Value" Expression="=ReportingLib.GlobalFunctions.tryPath(Fields.Organisation_ID,"ListHeaderPortrait")" />
As mentioned above, the Value binding works as expected but both Size and Location binding does nothing. The functions return Telerik drawing units:
Return New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(width, Telerik.Reporting.Drawing.UnitType.Pixel), New Telerik.Reporting.Drawing.Unit(height, Telerik.Reporting.Drawing.UnitType.Pixel))
Return New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(x, Telerik.Reporting.Drawing.UnitType.Cm), New Telerik.Reporting.Drawing.Unit(y, Telerik.Reporting.Drawing.UnitType.Cm))
Thanks for any help!
Hi
i have an kendo ui grid and i need to pass selected rows in my grid to report to let me print them from report
i try to find any thing like that in demo but i faild
so please hope to give me sample code or sample example to let know how can i do that
thanks a lot ....
@(Html.Kendo() .Grid<kind>() .Name("kinds_") .Columns(columns => { columns.Template(@<text></text>).ClientTemplate("<input type='checkbox' #= kind_id ? checked='':'checked' # class='chkbx' />"); columns.Bound(e => e.kind_name).Width(300).Title("اسم المجموعه الرئيسيه"); columns.Command(command => { command.Edit() .Text("تعديل") .UpdateText("حفظ") .CancelText("الغاء"); command.Destroy().Text("حذف"); }); }) .Filterable(filterable => filterable.Operators(operators => operators.ForString(str => str.Clear().StartsWith("يبدء بـ").IsEqualTo("يساوى").IsNotEqualTo("لا يساوى").Contains("يحتوي علي").DoesNotContain("لا يحتوي علي"))).Operators(operators => operators .ForNumber(str => str.Clear().IsEqualTo("يساوى").IsNotEqualTo("لا يساوى").IsGreaterThanOrEqualTo("أكبر من أو يساوى").IsGreaterThan("أكبر من").IsLessThanOrEqualTo("أقل من أو يساوى").IsLessThan("أقل من"))).Messages(m => m.And("و") .Or("أو") .Filter("بحث") .Clear("إلغاء") .Info("حدد فلتر البحث الذى تريده"))) .ToolBar(tools => tools.Create().Text("اضافه مجموعه رئيسيه جديده")) @* السطر ده عشان تخلى التعديل عن طريق PopUp *@ .Editable(editable => editable.Mode(Kendo.Mvc.UI.GridEditMode.PopUp).TemplateName("AddEditkind")) .Pageable() .Sortable() .Filterable() .DataSource(source => source.Ajax() .Model(model => { model.Id(e => e.kind_id); }) .Events(events => events.Error("error_handler")) .Read(read => read.Action("Read_kind", "kinds")) .Update(update => update.Action("Update_kind", "kinds")) .Create(create => create.Action("Create_kind", "kinds")) .Destroy(destroy => destroy.Action("Destroy_kind", "kinds"))) .ClientDetailTemplateId("CategoriesTemplate") )@section scripts{ <script type="text/javascript"> $(function () { $('#kinds_').on('click', '.chkbx', function () { var checked = $(this).is(':checked'); var grid = $('#kinds_').data().kendoGrid; var dataItem = grid.dataItem($(this).closest('tr')); dataItem.set('kind_id', checked); }) }) function error_handler(e) { productsTemplate if (e.errors) { var message = "Errors:\n"; $.each(e.errors, function (key, value) { if ('errors' in value) { $.each(value.errors, function () { message += this + "\n"; }); } }); alert(message); } } </script>}
I am using MVC Demo for Telerik Reporting. I have few questions which I really want to know before start working with Telerik Reporting.
1.) I am binding Report Data source dynamically from code behind(on Report's Code page). Initially Report is Loading fine. What I want, when user enter value into report parameter and click on preview button.... Is that possible to handle those parameters and update object data source and update reporting from code side? Actually I don't want get whole data at time.Right now I don't find any event that give me report parameters value on Preview Button click.
2.) Initially if I don't come on Report Page with whole data, Is that possible to update data-source programaticaly later. Like on Preview Button click, or any other button click out side Report Viewer. Because I want to add one functionality where I would have one button on Page and on click of that button I would read report Parameters and save into DB. But right now I am not able to read Report Parameters server side once Report Loaded.
3.) I have added One Report parameter and trying to just display it on Designer nothing else but It is just render with initial value.Later if I change parameter to any value it doesn't reflect. Is there any problem in setting report viewer. I have checked Telerik Example and Report Parameter value get update there. So that I am sure I m missing some thing but not able to found it.