Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
Hi, I've been looking around on the forums for this issue but to no avail.

I have a very simple project that has a RadGrid with some data. I enable sorting on the grid, and I set the images path for the SortAsc and SortDesc images.
The sorting works fine when I click on the column title text. However when I click on the arrows, nothing happens.
Any ideas?

A working asp file as an example:

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="RadGridTester._Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <telerik:RadGrid ID="RadGrid1" runat="server" ImagesPath="App_Themes/Default/icons/">
        <MasterTableView AllowSorting="true" AutoGenerateColumns="False">
            <Columns>
                <telerik:GridBoundColumn HeaderText="LAST NAME" DataField="LastName" SortExpression="LastName"
                    UniqueName="LastName" SortAscImageUrl="App_Themes/Default/icons/SortAsc.gif" SortDescImageUrl="App_Themes/Default/icons/SortDesc.gif">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="FIRST NAME" DataField="FirstName" SortExpression="FirstName"
                    UniqueName="FirstName" SortAscImageUrl="App_Themes/Default/icons/SortAsc.gif" SortDescImageUrl="App_Themes/Default/icons/SortDesc.gif">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="EMAIL" DataField="Email" SortExpression="Email"
                    UniqueName="Email" SortAscImageUrl="App_Themes/Default/icons/SortAsc.gif" SortDescImageUrl="App_Themes/Default/icons/SortDesc.gif">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
</asp:Content>

And codebehind:



using System;
using System.Collections.Generic;
 
namespace RadGridTester
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var list = new LinkedList<Item>();
            list.AddLast(new Item() { LastName = "Doe", FirstName = "John", Email = "john@doe.com" });
            list.AddLast(new Item() { LastName = "Doe", FirstName = "Jane", Email = "jane@doe.com" });
            list.AddLast(new Item() { LastName = "Doe", FirstName = "Joe", Email = "joe@doe.com" });
            list.AddLast(new Item() { LastName = "Doe", FirstName = "Jimmy", Email = "jimmy@doe.com" });
            list.AddLast(new Item() {LastName = "Doe", FirstName = "Jack", Email = "jack@doe.com"});
            RadGrid1.DataSource = list;
            RadGrid1.DataBind();
        }
 
        private class Item
        {
            public string LastName { get; set; }
            public string FirstName { get; set; }
            public string Email { get; set; }
        }
    }
}
Ivan
Top achievements
Rank 1
 answered on 12 Jan 2012
4 answers
697 views
Is it possible to limit the max page size?  Some of our data is quite large and alot goes on in rendering.  We want to limit the max page size so we don't have a degredation of performance.  Any assistance would be greatly appreciated.
Cradz
Top achievements
Rank 1
 answered on 12 Jan 2012
2 answers
53 views
I have a RadGrid inside a RadWindow -- When I edit a row in the grid and press "insert", the page becomes extremely slow, as in the mouse drags and there are seconds in between movements on the page.  This continues until the page is refreshed.

It seems like some kind of memory leak, and from my research it seems possible that this is an issue that was fixed in the most recent versions of Telerik?  But I don't have access to the updates right now, and I'm hoping that there may be an answer that doesn't involve updating at the moment.

Thanks, I am always grateful for the help of the Telerik community.
Daniel
Top achievements
Rank 1
 answered on 12 Jan 2012
1 answer
132 views
Hi,

We're using version 2011.3.1305.35 of the ASP.Net AJAX controls and the editor doesn't work with Chome 16.0.912.75.  We are not able to enter text into the editor.

When the page with the editor is loaded we get the following error in the browser:

  1. Telerik.Web.UI.WebResource.axd:26887Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15
  2. Telerik.Web.UI.WebResource.axd:26887Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15
  3. a.RadEditor.toggleEnhancedEditTelerik.Web.UI.WebResource.axd:26887
  4. a.RadEditor.set_modeTelerik.Web.UI.WebResource.axd:26211
  5. a.RadEditor.onParentNodeChangedTelerik.Web.UI.WebResource.axd:25924
  6. (anonymous function)Telerik.Web.UI.WebResource.axd:6


Does anyone know how to resolve this?

T.I.A

Jeff
Richard
Top achievements
Rank 1
 answered on 12 Jan 2012
5 answers
114 views
Hello
I am trying to reference controls inside a sliding zone.

I have multiple panes.
 I have worked out how to access the active/docked pane (as) below; but I don't know how to reference the treeview control that is inside the pane.  I tried controls[0] but there doesn't seem to be a controls property.

Th following obtains reference to the Pane ok, but fails on the second line trying to get the treeview
var myPane = $find("<%= ExploreSlidingZone.ExpandedPaneId%>");
 
var treeView = myPane.controls[0];

Please can anyone help
Richard
Dobromir
Telerik team
 answered on 12 Jan 2012
1 answer
72 views
I am using a radGrid with Skin ="WebBlue". I used

.rgAltRow, .rgRow
        {
            cursor: pointer !important;
        }

to make every row as a pointer when the user hovers the mouse over the grid. Now, i also want to change the color of the row when users hovers the mouse over a row. Please advise. Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 12 Jan 2012
4 answers
166 views

Hi everybody,

I've a page where I call one ASCX twice.

This the page code:

<%@ Register TagPrefix="Ricerca" TagName="Anagrafica" Src="~/PopUp/PUucRicercaAnagrafica.ascx" %>
<!-- some controls -->
  
<!-- ascx -->
            <Ricerca:Anagrafica ID="datiContrattoRicercaAnagraficaInsertFornitore" runat="server"
                AllowMultiRowSelect="false" Titolo="Ricerca Fornitore" RadWindowObjectListKey="rwPopUpRicercaAnagraficaFornitore"
                ParentObjectClientId="ClientID" OnInitializeComponentComplete="RicercaAnagrafica_InitializeComponentComplete"
                OnConfermaRicercaClicked="RicercaAnagrafica_ConfermaRicercaClicked" OnConfermaRicercaClicking="RicercaAnagrafica_ConfermaRicercaClicking" />
            <Ricerca:Anagrafica ID="datiContrattoRicercaAnagraficaInsertRichiedente" runat="server"
                AllowMultiRowSelect="false" Titolo="Ricerca Richiedente" RadWindowObjectListKey="rwPopUpRicercaAnagraficaRichiedente"
                OnInitializeComponentComplete="RicercaAnagrafica_InitializeComponentComplete" />

I need to use the same ascx two different purpose, so I call the same ascx using different ID, and this is correct, but when I'm going to use ajax the async postback doesn't work for all ascx, but only for last declared.

In my ascx I've RadAjaxMangerProxy, which refresh the ascx controls.
In my aspx I've RadAjaxManager, when I'm going to do a postback from usercontrol, the radajaxmanager doesn't intercept the postback, so the page totally refreshes.

Perhaps the problem is the name of the controls into ascx, when the radajaxmanager register the control override all control with the same ID (server ID), but is not functionally, because it's possible declare different ascx control in the same page, e.g. template.

How can I solve this?

Thanks

Antonio Stoilkov
Telerik team
 answered on 12 Jan 2012
1 answer
64 views
I have a simple SQL table with about 10 fields driving an ajaxed radgrid via a SqlDataSource as follows:

 

 

<asp:SqlDataSource ID="SqlDataSource_gvSalesRep" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnectionString %>"
   SelectCommand="Select * From SalesRep" 
   UpdateCommand="Update SalesRep Set [Phone_No] = @Phone_No Where [Slspsn_No] = @Slspsn_No">
   <UpdateParameters>
      <asp:Parameter Name="Phone_No" />
      <asp:Parameter Name="Slspsn_No" />
   </UpdateParameters>
</asp:SqlDataSource>

I want only 1 of the 10 fields (Phone_No) to be editable on the editform, so I set the other 9 fields to readonly. When I change the phone number on the editform and click update, the change is not made on the database nor on the radgrid.  If I remove readonly from the 9 fields and then change the phone number on the editform and click update, the change occurs on the database and the radgrid.

Why would that be, and what is the solution?

Thanks

Kermit
Top achievements
Rank 1
 answered on 12 Jan 2012
1 answer
196 views
I have a web form that uses several RadComboBoxes - when the form is in "add" mode the comboboxes are enabled to allow user to specify information and the combo boxes all function properly in IE, Firefox, Chrome.  However, when in "edit" mode certain combo boxes are disabled since some of the information cannot be modified - I set the selected value server side based on the information saved when the record was added then I disable the Combo Boxex - in IE and Firefox the selected value shows fine but in Chrome the selected value is either transparent or not being shown - ref the attached files.  The code to bind the combo boxes and set selected value is in code behind and thus never changes so that generally rules that out as the issue.  Anyone else seen this and/or know how to resolve.
Kalina
Telerik team
 answered on 12 Jan 2012
8 answers
943 views
Hello, I am Developing a web application by using ASP.NET 3.5, jQuery and RadAjax Telerik Control. I get Error Messages when page Loading. that is :"Microsoft JScript runtime error: Unable to set value of the property 'control': object is null or undefined"

the 1st Error Image: errormsg1.png
and when I click to Open RadWindow then get same Error Message. and could not open radwindow

2nd Image: errormsg2.png 
 

How can I solved this Error. Help me..



Thanks
Nahid
Chue Shee
Top achievements
Rank 1
 answered on 12 Jan 2012
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?