Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
185 views
Hi, 
I have a Radgrid controls  ~ 60 columns and  50-100 rows.These data are fetched from multiple SQL Server tables and binded to grid using item_databound and Need Data Source.  
I want to implement adding new records to the Grid. The issue is that I need to display controls for inserting new values in between existing rows, so user can see before and after records while inserting the new one.

Please advise me what is the best practice for implementing this scenario? 

Thanks.

Shinu
Top achievements
Rank 2
 answered on 13 Jan 2012
1 answer
94 views
Hi,,,

I have some quires  reagrding Structre columns
First is these grid columns always automatically generated or not..
another is can we use thsese column as user defined column type in grid or not.
1) GridRowIndicatorColumn: its sets automatically when we set allow resizing property to true.but incaseautogeneratedcolumn property set to false still this column showing at the begining of grid.Another issue is like  that if we dont set allow resizing property but using  GridRowIndicatorColumn  class  directly as a user defined column then the column is not visible at all.So can we use GridRowIndicatorColumn class directly or not.
2)GridGroupSplitterColumn: it sets automatically when grouping enable,to facilitate the expand/collapse functionality.But incaseautogeneratedcolumn property set to false still this column showing at the begining of grid.Another issue is like  that if we dont set grouping expression property but using  GridGroupSplitterColumnclass  directly as a user defined column then the column is not visible at all.So can we use GridGroupSplitterColumnclass directly or not.
3)GridExpandCoulmn: same like ....

Please give some suggestions to clarify thsese issues.
Please share some demos\samples  where  we are using direcltly GridRowIndicatorColumn,GridGroupSplitterColumn and GridExpandCoulmn  as users defined column type.
Shinu
Top achievements
Rank 2
 answered on 13 Jan 2012
4 answers
174 views
Hi,

I need to create a template to be applied for all the days. Is it possible to do so?
I know the concept of SpecialDays, which we can define the template for 'individual' day. But is there any way for me to define the template to be applied for all the days, instead of adding all the days to the SpecialDays.

Really appreciate your help!
Larissa
Top achievements
Rank 1
 answered on 13 Jan 2012
2 answers
109 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
764 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
57 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
164 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
136 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
82 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
189 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?