Telerik Forums
Community Forums Forum
0 answers
111 views
Hi Iam implementing telerik grid in my asp.net MVC4 application. I have implemented the grid where select and delete functionality in working fine. But when i click on submit button update function in not triggering. Can anybody please tell me where i gone wrong? Please refer the code for telerik grid view given below.

@(Html.Telerik().Grid<CustomerProductPriceModel>()
            .Name("Grid")
            .DataKeys(x =>
                        {
                            x.Add(y => y.Customer_Id);
                        })
                         .DataBinding(dataBinding =>
                        {
                                dataBinding.Ajax()
                                .Select("CustomerProductPriceList", "controller", new { productVariantId = Model.Id })
                                .Update("CustomerPriceUpdate", "controller", new { productVariantId = Model.Id })
                                 .Delete("CustomerPriceUpdate", "controller", new { productVariantId = Model.Id });
                        })
            .Columns(columns =>
            {
                columns.Bound(y => y.Customer_name).Width(200).ReadOnly();
                columns.Bound(y => y.Price).Width(100);

                columns.Command(commands =>
                {
                    commands.Edit().Text(T("Admin.Common.Edit").Text);
                    commands.Delete().Text(T("Admin.Common.Delete").Text);
                }).Width(180);

            })
            .Editable(x =>
                    {
                        x.Mode(GridEditMode.InLine);
                    })
            .EnableCustomBinding(true)

          )
Sandeep
Top achievements
Rank 1
 asked on 05 Apr 2013
0 answers
179 views
Iam working on nopcommerce2.8 version. I have a problem with telerik plugin implementation to create new grid.
Iam implementing a concept where for a product i want to give different price for different customer. So to assign new price for different customers, in admin panel i am creating a grid in edit productvariant page using telerik. I have created a new tab to display these details. Iam able to display customer name and price in grid, but i am not able to call update function, when i click on update button after editing a row. I have created new model to save the customer and price details. Please help me to solve this update problem.
 
The model, view and controller of my nopcommerce in given below.
 
Thanks.
 

//Model
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using FluentValidation.Attributes;
using Nop.Admin.Models.Customers;
using Nop.Admin.Validators.Catalog;
using Nop.Web.Framework;
using Nop.Web.Framework.Localization;
using Nop.Web.Framework.Mvc;
using Telerik.Web.Mvc;

namespace Nop.Admin.Models.Catalog
{
public partial class CustomerProductPriceModel : BaseNopModel
{
public int Customer_Id { get; set; }
[NopResourceDisplayName("Customer Name")]
public string Customer_name { get; set; }

[NopResourceDisplayName("Price")]
public decimal Price { get; set; }

[NopResourceDisplayName("Unit")]
public string Units { get; set; }

}
}

// view

@(Html.Telerik().Grid
Sandeep
Top achievements
Rank 1
 asked on 04 Apr 2013
1 answer
108 views
Hi,
I have a requirement of chart has to be zoom in/zoom out as well as panning only with mouse controls not using ZoomPanBar.
Give me the exact solution for RadCartesianChart in Telerik.


Many Thanks.
Evgenia
Telerik team
 answered on 29 Mar 2013
0 answers
34 views
I'm trying to have editors for certain pages, but, in order for them to edit anything, they need to type in a different url instead of the tool bar on the side appearing for easy access. I have it and all the administrators have it, but, when I've edited permissions allowing them to do certain tasks, it still doesn't appear. Can anyone tell me the best way to tackle this issue?
Dawn
Top achievements
Rank 1
 asked on 27 Mar 2013
0 answers
105 views

Hi everyone,

I'd like you to check this web designer created using Knockout.js, JQuery JQueryui and other cool js plugins.

It's part of a Javascript framework WUIC, i developed in the last year.

You can create pages and dashboards using HTML, SVG, 3D primitives (for 3D your browser need to support WebGL and currently only Chrome works flawlessly. Firefox need to enable WebGL in about:config).

Click on "Tutorial" button to watch the clips that shows what you can do with it.

 

What do you think ?

Any feedback is really appreciated.

 

Kind Regards

 

Lorenzo Castrico

 

http://www.wuic.it

http://designer.wuic.it

Lorenzo Castrico
Top achievements
Rank 2
 asked on 17 Mar 2013
0 answers
73 views
Hi all,

I have a Web Application with a RadTabStrip with 2 Tabs(temporarily). Each Tab contain a RadListView that show just one by one record(page size=1). Actually, when I click on select button related to a record on the first Tab, I can see on the second Tab all record connected to selected record on first Tab.
For example:
On first Tab(Film) are contained a ListView with all Film of our db shown one by one because I want a page size = 1. When I click on related select button, I can see on second Tab(Actors) all Actors involved in the selected film. It works very well, but my next purpose is as follows:

I want to make possible this without clicking on select button but just scrolling my film list with DataPager. I want to scroll my film list and when i go on ActorsTab it should show me actors list related to last film shown on the first tab whithout clicking anymore any button. 

Is there any expedient to make it possible ?

Thank You
G
Top achievements
Rank 1
 asked on 16 Mar 2013
81 answers
2.8K+ views

Hello!

I would like to know how to delete the telerik user account I had to create in order to download a trial version a while ago. Unfortunately, I couldn't find any hints on how to do this. :-( Maybe someone here can help me to remove the account?

Any help appreciated.
Thanks in advance!

Violeta
Telerik team
 answered on 14 Mar 2013
4 answers
176 views
First I must say that the new website looks great.  Second, I have one quick and easy question.  Where can I get the skin for the menu?  I'm guessing that it is custom, but based on the Default and Black skins.

Thanks,
Chris
mathieu cupryk
Top achievements
Rank 1
 answered on 06 Mar 2013
1 answer
143 views
I currently do business with another component vendor (I won't name it here) and I'm seriously considering ditching them. For reasons that are beyond my understanding they believe it's good design to hide exceptions thrown within their components event handlers:

Try
    RaiseControlEventMethod()
Catch ex As Exception
    'Do nothing
End Try


I'm interested in Telerik's controls but first I want to know if I'll come across such horrible design principles again.

Any input would be very much appreciated. Thanks.
Stanislav Velikov
Telerik team
 answered on 04 Mar 2013
1 answer
97 views
Hi,

Some of the telerik controls doesn't get grayed out (doesn't look disabled) even when it is disabled.
The controls still appears enabled with black color border for RadTextboxes ,radio buttons, checkboxes and combo boxes.
This issue exits in IE and is not found in Mozilla and Chrome.
Kindly help me out.

Thanks in advance,
Maria Ilieva
Telerik team
 answered on 26 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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?