Telerik Forums
UI for ASP.NET MVC Forum
1 answer
122 views
Hello,
I have this problem: using a kendo mvc tabstrip, in each tab load content using LoadContentFrom, loaded different views, but in each of these have included a menu toolbar, using Html.RenderPartial ("~ / Views / Toolbar.cshtml"); .
The problem is that only in the first tab loaded, the toolbar is visible, the other tab is not visible, and there aren't errors in the console or in the application.
I think it is a problem related to the fact that the id of the toolbar is the same, but I'm not sure, in any case I would not know how to solve it.
Someone can you help me?
Thanks, Roberto
Alexander Popov
Telerik team
 answered on 06 Aug 2015
3 answers
165 views
Hi,

Is it possible to modify PanelBar header with template like for notifications or validation?

Cheers,
Marcin Kurtz
eo
Top achievements
Rank 1
 answered on 05 Aug 2015
2 answers
680 views

Hello,

I managed to connect to the database by refering to the following article: http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/ajax-editing
I am currently able to read, create, edit and delete table rows from my Azure SQL database.

Nevertheless, I still have a little problem dealing with that subject.

As soon as a modification is made (one row update for example) using that method, new rows are automatically created and they are based on
existing data before changes.
For example, I have a single row called "T1" in my datatable. After adding a second row called "Other", it automatically creates another
third row called "T1". As as result, I get 3 rows except of 2.

I have checked with some debugger and I have noticed that ​my creation method (called "FournisseursCreate" in the controller) is called twice once the "Update" button is clicked. But I don't handle KendoUI enough yet to point the reason out.

Have you ever heard about that ?​

I have attached the view and the controller I'm using.

 

Thank you for your help.

Jean-Jacques
Top achievements
Rank 1
 answered on 05 Aug 2015
8 answers
224 views
Hey, 

I'm displaying a map using GeoJson data and would like to display a tooltip when the user moves the mouse over a shape, is this possible?
I'm using the asp.net MVC wrapper and only managed to show tooltips for markers, not shapes.

Thanks!
T. Tsonev
Telerik team
 answered on 04 Aug 2015
1 answer
110 views

I'm will be using MVC 5.0 and entity framework 6.0.  I want to create a view where there are text fields, combo boxes on the top from a parent table.  Then beneath that, there is a grid with lines from a child table.  I want all of this to have a pager at the bottom, so that when you hit the arrow to go to the next parent record, it shows the child records that go with it in the grid.

What is the best way to do this w/Telerik controls (mvc server wrapper controls). 

 

Kiril Nikolov
Telerik team
 answered on 04 Aug 2015
31 answers
718 views

Hi,

I have a ASP.Net MVC 2 project with Telerik MVC Extension. In it there is Grid that has DetailView to display another grid after clicking a plus sign. It works fine. But when converting the project to Kendo, I am surprise to find that there  is such feature in Kendo. DetailView  is an important feature. So I'd like to know how to implement DetailView in Kendo. Thanks.

York


Vladimir Iliev
Telerik team
 answered on 04 Aug 2015
1 answer
192 views

Found an issue when displaying a list of items and deleting.   Kendo seems to be picking up on the “k-grid-delete” style and showing the confirmation correctly, but if I delete multiple rows(one at at time), the action name for the first delete call is missing from the URL.

For the first call and only for the first call it looks like “http://localhost:58501/Application/WholesaleLicense?permitApplicationId=d562e244-2093-488a-aec1-a4e300a72881” instead of “http://localhost:58501/Application/WholesaleLicense/Delete?permitApplicationId=d562e244-2093-488a-aec1-a4e300a72881”.

When calling delete the second time it works fine.  It doesn’t matter which row ​is deleted first​ so it’s not that the first row of the grid is somehow rendered differently.

Is there a fix for this?  See code below.  

@using (Html.BeginForm("IndexPost", "WholesaleLicense", FormMethod.Post, new { id = "ApplicationNavigationForm", Area = "Application" }))
{
    @Html.Partial("_NewApplicationProcessHeader", Model)

    <div class="panel-body">
        @(Html.Kendo().Grid<WholesaleLicenseDetailViewModel>()
              .Name("licenseGrid")
              .Editable(editable => editable.DisplayDeleteConfirmation("Are you sure you want to delete this item?"))
              .DataSource(datasource => datasource.Ajax()
                  .Read(read => read.Action("GetWholeSaleLicenseSummaries", "WholesaleLicense", new { permitApplicationId = @Model.HeaderViewModel.PermitApplicationId }))
                  .Destroy(x => x.Action("Delete", "WholesaleLicense", new { permitApplicationId = @Model.HeaderViewModel.PermitApplicationId }))
                  .Model(model => model.Id(x => x.WholesaleLicenseId)))
              .Columns(col =>
              {
                  col.Bound(x => x.WholesaleLicenseId).Hidden();
                  col.Bound(x => x.LicenseNumber);
                  col.Template(@<text></text>)
                      .ClientTemplate("<a class='blue-tableRowIcon glyphicon glyphicon-edit' href='" + Url.Action("Details", new { id = "#= Id #", permitApplicationId = Model.HeaderViewModel.PermitApplicationId }) + "'></a>" + Environment.NewLine
                          + "<div class='k-button-icontext k-grid-delete red-tableRowIcon glyphicon glyphicon-remove' ></div>"
                      )
                      .FooterTemplate("<a class='green-tableRowIcon glyphicon glyphicon-plus' href='" + Url.Action("Details", new { id = Guid.Empty, permitApplicationId = Model.HeaderViewModel.PermitApplicationId }) + "'></a>")
                      .Title("Action")
                      .Width(94);
              }))
    </div>
    @Html.Partial("_NewApplicationProcessFooter", Model)
}

Rosen
Telerik team
 answered on 03 Aug 2015
3 answers
128 views

Hello,

 I have an ASP.NET MVC app using Telerik MVC controls and I need to return a Razor expression from the controller action and have it rendered in the view as razor. For example, I need to return the following in my model to the view:

 "@(Html.Kendo().CheckBox().Name(\"eq1\").Checked(true).Label(\"Rear side airbags\"));";

 

And have it rendered correctly as a checkbox in the view. All I can get it to do is render the text itself. 

 

Thanks,

 

Michael

Kiril Nikolov
Telerik team
 answered on 03 Aug 2015
3 answers
293 views
Hello

How do I enable the telerik radgrids to be accessible offline and sync once online again?

Help much appreciate
Regards
Alexander Popov
Telerik team
 answered on 31 Jul 2015
4 answers
127 views

I'​m ​trying [ UI for ASP.NET MVC Q2 2015 ]'s pivotgrid object, (in order to substantiate if it fits the needs of the organization which I belong. Also, I haven't read the terms and conditions about creating threads. Sorry if that information was unnecessary.). The object:

<%: Html.Kendo().PivotGrid<T>()
    .Name("pivotgrid").Configurator("#configurator")
    .BindTo(Model).DataSource(dataSource => dataSource

/* etcetera */

 %> 

It is required to set active fields on Columns, Rows, etc, via Javascript, or C# for that matter, after the object is created. ​It is indispensable to load some report configuration model associated to user profiles. The pivot grid object would be used by some sort of administrator user (who would export reports configuration built with the "configurator"), and by other users who would only be able to see the report and do some minor sets on those previously determined measures, rows, columns.

Thank you,

Great tool! By the way

 

 

fabio2x4
Top achievements
Rank 1
 answered on 31 Jul 2015
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?