Telerik Forums
Kendo UI for jQuery Forum
1 answer
90 views
hi,

i have a listview with tab strip. its will appear after login. i am adding some records after adding i want to refresh the listview. for this i am rebinding the listview. here i got the issue after rebind listview items click event not working. anyone can help me in this issue i posted this one month before also still now i am struggling in this issue due to this issue i am unable to go further.

with regards
sumalatha
Suma
Top achievements
Rank 1
 answered on 30 Aug 2013
2 answers
356 views
Is there a way to scroll the view of the application to the top?

I'm not talking about the Scroller control, but the view itself. My application loads content from the server and displays it using templates. The show_page.html looks something like this:
<div data-role="view" id="page_side" data-show="js_page_side">
    <div id="foo"></div>
    <script id="sidetemplate1" type="text/x-kendo-template">
            <h1>#= overskrift #</h1>
            <p>#= ingress #</p>
            <div class="brodtekst">
            #= brodtekst #
            </div>
    </script>
</div>
<script>
function js_page_side() {
datakilde_sider.query({filter: {field: "id", operator: "eq", value: window['globalvar_vis_side_id'] }});
$("#foo").html(kendo.render(sidetemplate1, datakilde_sider.view()));
//(Here there should be something forcing the view to scroll to top)
}
</script>
It works great, except if the user is viewing a large page, and has scrolled down - then goes back to the menu and selects a new site to view. show_page.html is shown once again, the new content is loaded through the js_page_side() function. It all works - but this new content is now shown already scrolled down to the position the user was before. 

Any ideas?
Daniel Gustavo
Top achievements
Rank 1
 answered on 30 Aug 2013
8 answers
265 views
How can you have two columns of content inside of one tab in a tabstrip?

Float - breaks the tabstrip control (the red box surrounding the tab closes and your content appears below it).

Inline container of block elements - This technique inside of a tab simply puts all to block.

You can see the problem by simply adding html elements to the sample.

UPDATE:  SOLVED.

I discovered that this, amongst other problems with the tabcontrol go away once you set the height.
You must set the height of tab for each tab seperately in the tabcontrol (note: you should also set the height of grid if using grid control) controls in order for the inner contents to render properly.


Michael
Top achievements
Rank 1
 answered on 29 Aug 2013
2 answers
534 views
I have a generic partial view that I want to use for all of my Grids.  The Model for the partial view it a Report object.  The Report object has a DataTable property that contains the Grid's data source.  The Report is also handling its own pages, page size, filtering, sorting, and grouping.  The Ajax call is returning with the correct total number of records and I know that the Report.Query.PagedResults has the correct data. However, when the DataTable is passed to the extension "ToDataSourceResult()" the Data comes back without the data provided in the PagedResults.  It's just an empty dictionary.  This causes the grid to change pages but the data is missing, only the first page ever has data.  Can you provide me with some guidance on what I might be missing?

_GridPartialView
@model GridReport
@using System.Data;
@using MVCReportingConcept.Reports;
<div id="report" class="chart-wrapper">
    @(Html.Kendo().Grid(Model.QueryResults)
        .Name(Model.Name)
        .EnableCustomBinding(true)
        .Columns(columns =>
        {
            foreach (DataColumn col in Model.QueryResults.Columns)
            {
                columns.Bound(col.ColumnName);
            }
        })
        .Pageable()
        .Sortable()
        .Scrollable()
        .Filterable()
        .DataSource(dataSource => dataSource
            .Ajax()
            .Total(Model.Query.TotalRecordCount)
            .Read(read => read.Action("ReadGrid", "Home", new { reportId = Model.ReportId }))
            .PageSize(Model.PageSize)
        )
    )
</div>
Controller Ajax Action (the comments are other failed attempts to get it to work)
public ActionResult ReadGrid([DataSourceRequest] DataSourceRequest request, int reportId)
{
    GridReport report = (GridReport)ReportBuilder.BuildReport(reportId);
    report.Refresh(request.Page, request.PageSize);
 
    DataSourceResult ds = report.Query.PagedResults.ToDataSourceResult(request);
    //ds = report.QueryResults.ToEnumerable().ToQueryable().ToDataSourceResult(request);
    //ds.Data = report.DataSourceResult.Data;
    ds.Total = report.Query.TotalRecordCount;
 
    return Json(ds);
}
Daniel
Telerik team
 answered on 29 Aug 2013
1 answer
101 views
Is it possible to implement shaded patterns in kendo chart as highlighted in the attachment?

If yes, can you guys provide us any solution?
Iliana Dyankova
Telerik team
 answered on 29 Aug 2013
1 answer
276 views
We have a separate HTML legend that we are building up, and when someone mouses over an item in the legend, we would like the corresponding slice to show a tool tip, and or highlight.

Is there a programmatic function to enable this? Is there another way to do this, or will we need to custom manage the tooltip?  I think I could unhide the tooltip html with javascript or jQuery, or is there a better way?
Iliana Dyankova
Telerik team
 answered on 29 Aug 2013
5 answers
5.0K+ views
Hi
I'd like to be able to respond when the user clicks the small x to remove a selected item from the multi select. I see the change Event but I don't know how to tell what triggered it (ie was it from a delete?) because that event fires both when items are added and removed.

any help / sample snippet code would be greatly appreciated.

Thanks
Dan
Hugo Esperanca
Top achievements
Rank 1
 answered on 29 Aug 2013
1 answer
227 views
 We need to add Destroy(Delete) command inside Edit Popup of Kendo Grid.
So edit popup will have 3 buttons, (1)Update (2)Cancel (3)Delete
Please provide steps/details to achieve this if it is possible.
Alexander Valchev
Telerik team
 answered on 29 Aug 2013
3 answers
962 views
Hi,

I have grid with scroll property set to true .
horizontal scroll is working fine when we have data in the grid (Records , PFA ) .
when I remove all records (Empty grid) , then  horizontal scroll is dispersing so I am not able to see some of the column header(PFA).
I have attached screen shot for both scenario.
 
In my case, I need to show horizontal scroll bar for grid  without data , so that user can see all columns in grid by scrolling.

Please help me out

Thanks in advance   
Iliana Dyankova
Telerik team
 answered on 29 Aug 2013
1 answer
110 views
Hi 
I am having difficulties with the Multiple pain chart.
I would like to assign multiple charts for one navigation slider, which is fine, but when I would like to make the category axis pane visible on every single chart it is only let me to do that for one chart. It is possible to print for every single one. 
Thank you very much for your help.
Regards.
M. Gabor
Iliana Dyankova
Telerik team
 answered on 29 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?