Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
130 views

I am seeing this error message when I run my Visual Studio 2015 web application, plus several of my web controls are not recognized element when I drag and drop them on my page.  Error message is

There was a conflict between "Telerik.Web.UI, Version=2012.3.1308.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" and "Telerik.Web.UI, Version=2015.1.401.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

What is the proper way to correct this situation?

 

Perry
Top achievements
Rank 1
 asked on 18 Sep 2017
5 answers
175 views

I have a grid which use Header Context Menu. Filtering option is not working with DateTime Fields

 

<telerik:RadGrid RenderMode="Lightweight" ID="itinerariosGrid" runat="server" AutoGenerateColumns="False" EnableEmbeddedSkins="false" Skin="telerikbootstrap"
                    AllowFilteringByColumn="True" AllowSorting="True" AllowPaging="True" Culture="es-MX" FilterType="HeaderContext" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true"
                    AllowMultiRowSelection="True" AllowAutomaticUpdates="False" AllowAutomaticInserts="False" OnItemDataBound="itinerariosGrid_ItemDataBound"
                    OnNeedDataSource="itinerariosGrid_NeedDataSource" AllowAutomaticDeletes="false" EnableLinqExpressions="false"            
                    OnInsertCommand="itinerariosGrid_InsertCommand" OnUpdateCommand="itinerariosGrid_UpdateCommand" OnDeleteCommand="itinerariosGrid_DeleteCommand">

Eyup
Telerik team
 answered on 18 Sep 2017
3 answers
171 views
I have a RadListView that is paged by a RadDataPager. The ListView is loaded correctly on the initial page load. After that the needdatasource method correctly retrieves the next set of results, but they are never displayed. From my investigation, it appears that it is related to the fact that the listview always has a page count of 1 while the datapager correctly calculates 2(13 items, with a page size of 10). The list view changes page index correctly, which retrieves the next page of results to set for the datasource. After setting the datasource the new items are never displayed. I am doing something very similar to the listview image gallery demo, so if it at least tried to add the new images and failed, I should get broken image links.  I think the listview is skipping binding the new results, since the list view thinks its out of its page range. Its worth noting we are using the 2013 Q2 controls, since this is new work for a customer with an existing site. We want to avoid updating versions to limit risk to the rest of the site.

<telerik:RadListView runat="server" ID="ImageGalleryDisplay" OnNeedDataSource="ImageGalleryDisplay_NeedDataSource" OnItemCreated="RadListView1_ItemCreated"
                AllowPaging="true" ItemPlaceholderID="ImagePlaceHolder" OnItemDataBound="RadListView_ItemDataBound">
                    <LayoutTemplate>
                       <asp:PlaceHolder ID="ImagePlaceHolder" runat="server">
                       </asp:PlaceHolder>
                       <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="ImageGalleryDisplay"
                        PageSize="10">
                        <Fields>
                            <telerik:RadDataPagerButtonField FieldType="FirstPrev"></telerik:RadDataPagerButtonField>
                            <telerik:RadDataPagerButtonField FieldType="Numeric"></telerik:RadDataPagerButtonField>
                            <telerik:RadDataPagerButtonField FieldType="NextLast"></telerik:RadDataPagerButtonField>
                        </Fields>
                        </telerik:RadDataPager>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <asp:Image ID="Image1" runat="server" ImageUrl='<%#Eval("ImageURL")%>' />
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("ImageURL")%>' />
                    </AlternatingItemTemplate>
                </telerik:RadListView>      


protected void ImageGalleryDisplay_NeedDataSource (object source, RadListViewNeedDataSourceEventArgs e)
            {           
            _photos = new List<Photo> ();
            LoadData ();
            ImageGalleryDisplay.DataSource = _photos;
            }

        protected void LoadData ()
            {         
            //dataSearch is our own special search type that returns a datatable and estimated hit count, they return the correct values

            DataTable fileIds = dataSearch.Retrieve<DataTable> (ImageGalleryDisplay.CurrentPageIndex * ImageGalleryDisplay.PageSize + 1, ImageGalleryDisplay.PageSize);
            ImageGalleryDisplay.VirtualItemCount = dataSearch.EstimateHitCount > 0 ? dataSearch.EstimateHitCount : 0;

            foreach (DataRow row in fileIds.Rows)
                {
                int id = Convert.ToInt32 (row["fileId"].ToString ());

                Photo photo = new Photo (id, String.Format("Handlers/ImageHandler.ashx?id={0}&height=100&width=100",id));
                _photos.Add (photo);
                }
            }

        protected void RadListView_ItemDataBound (object sender, RadListViewItemEventArgs e)
            {
            if (e.Item is RadListViewDataItem)
                {
                var dataItem = ((RadListViewDataItem)e.Item).DataItem;

                }
            }

        protected void RadListView1_ItemCreated (object sender, RadListViewItemEventArgs e)
            {
            if (e.Item is RadListViewDataItem)
                {
                Image img = e.Item.FindControl ("image1") as Image;
                }
            }

        protected void Comand2 (object sender, RadListViewPageChangedEventArgs e)
            {
            ImageGalleryDisplay.CurrentPageIndex = e.NewPageIndex;
            string i = ImageGalleryDisplay.PageCount.ToString();
            }


khadeer
Top achievements
Rank 1
 answered on 18 Sep 2017
1 answer
90 views

Hello,

i created a grid with multi-line footer according to this example:

http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/totals-in-grid-footers

and added an excel export according to this tutorial:

http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/exporting/overview

but opening the extracted xls file file i see footer data messed up with values concatenated in a single cell.

How to get a proper xls extraction?

Regards.

DrGiorgini
Top achievements
Rank 1
 answered on 18 Sep 2017
1 answer
69 views

I am using RadListView and trying to bind the ItemTapped to my MVVM.

I can't seem to get this to work.  I can't find any examples online either.  

 

Thanks in advance.

Will

wil
Top achievements
Rank 1
 answered on 18 Sep 2017
0 answers
37 views

Hi, we are consdiering purchasing your UI for ASP.net packages.

I reviewed your ASP.net AJAX demo and came across the image editor control which seems like a control we would like to use and customize.

I saw there is an option to draw circles/rectangles, is there an option to edit their coordinates after they are drawn? is there an option to draw programmatically?

Thanks,

 

Oren

Oren
Top achievements
Rank 1
 asked on 17 Sep 2017
0 answers
81 views
Telerik radAsyncUpload is not working in google chrome once application host in server. But if I run application in local its working.
Tikaram
Top achievements
Rank 1
 asked on 17 Sep 2017
0 answers
68 views

Hi Team,

Telerik radAsyncUpload is not working in google chrome once application host in server. But if I run application in local its working.

using IE its working in both.

Tikaram
Top achievements
Rank 1
 asked on 17 Sep 2017
0 answers
76 views
I am working with an older web application that has assembly version 2010 what is the best way to add the necessary files so I can work on this app
Perry
Top achievements
Rank 1
 asked on 15 Sep 2017
0 answers
67 views

Hi ,

We are using radgrid menu and we don't want users to un-check all columns from columns menu of context menu.

Is there a way to hide or stop user unchecking some columns of columns menu item?

I tried this below code:

  void HeaderContextMenu_ItemCreated(object sender, RadMenuEventArgs e)
        {
                     if (e.Item.Value.Contains("Reference#") && e.Item.Controls.Count > 0)
                (e.Item.Controls[0] as CheckBox).Enabled = false;
        }

It will make readonly for that column option on first load, but once i un-check another column, it will get enabled for check/uncheck.

Is there any other way to achieve this?

Thanks

vijay
Top achievements
Rank 1
 asked on 15 Sep 2017
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?