Telerik Forums
Community Forums Forum
0 answers
75 views
Hi,

is there any idea to build a office integration with telerik tools like "http://www.add-in-express.com/" do?

I'm looking how to add a custom context-menu item in the inbox?!

Thanks best Regards
Rene
ITA
Top achievements
Rank 1
 asked on 08 Apr 2013
0 answers
167 views
I have problem with my development task.
My ASPX File
<telerik:RadGrid ID="grd1" runat="server" AllowFilteringByColumn="True"
              AllowPaging="True" AllowCustomPaging="true" AutoGenerateColumns="False" GridLines="None"
              OnItemDataBound="grd1_OnItemDataBound" OnItemCreated="grd1_ItemCreated"
              Width="100%" Skin="Windows7" ShowGroupPanel="false" CellSpacing="0" PageSize="50"
              OnNeedDataSource="grd1_NeedDataSource" OnPageIndexChanged="grd1_PageIndexChanged"
              OnPageSizeChanged="grd1_PageSizeChanged">

and my Code file is
protected void grd1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
        grd1.VirtualItemCount = 100000;
        grd1.DataSource = GetDataSource();
        grd1.DataBind();
}
 
private IEnumerable<SearchClass> Select(int pageSize, int pageIndex)
    {
 
      IQueryable<SearchClass> searchObj = DataClassLib.Search(pageSize, pageIndex).AsQueryable();
 
      try
      {
        searchObj = searchObj .Select(x => new SearchClass
        {
          Id = x.Id,
          Name = x.Name,
        });
        
      }
      catch (Exception ex)
      {
        throw ex;
      }
 
      return searchObj;
    }
 
 private IEnumerable<SearchClass> GetDataSource()
    {
      int pageIndex = grd1.CurrentPageIndex;
      int pageSize = grd1.PageSize;
 
      if (pageIndex == 0)
        pageIndex = 1;
      IEnumerable<SearchClass> data = Select(pageSize,pageIndex);
      return data == null ? new List<SearchClass>() : data.Skip(pageSize * pageIndex).Take(pageSize);
    }


i used Telerik RadGrid and i need to show pagination using Stored Procedure  where procedure returns only 50 records from database though there are 100K records in table.

Paging showing correctly.
using this code i get 50 records from database but does not appear in  grid , i debug my code and its shows me  in GetDataSource() that returns 50 records but when debug point comes to grd1.DataSource = GetDataSource(); this line in datasource it show me 0 count.

can anybody guess why this happening

Thanks
Kiresh
Top achievements
Rank 1
 asked on 05 Apr 2013
0 answers
106 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
174 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
101 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
33 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
103 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
64 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
167 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?