Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
162 views
I'm binding a rad grid with a data table. Whenever I use the filter, I get no results back when I know I should be getting some. Any ideas why? The sorting works fine. Here's my code.

<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="True" AllowFilteringByColumn="true"
    AllowSorting="True" AutoGenerateColumns="false" PageSize="50" Height="410px" Skin="Hay">
    <MasterTableView DataKeyNames="customerId" AutoGenerateColumns="false">
         
        <Columns>
             <telerik:GridBoundColumn DataField="Edit" HeaderText="<span style='visibility: hidden;'>a</span>" SortExpression="Edit"
            UniqueName="Edit" HeaderStyle-Width="40px" AllowFiltering="false" AllowSorting="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="name" HeaderText="Name" SortExpression="name"
                UniqueName="name">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="address" HeaderText="Address" SortExpression="address"
                UniqueName="address">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="city" HeaderText="City" SortExpression="city"
                UniqueName="city">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="state" HeaderText="State" SortExpression="state"
            UniqueName="state">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="zip" HeaderText="Zip" SortExpression="zip"
                UniqueName="zip">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="phone" HeaderText="Phone" SortExpression="phone"
                UniqueName="phone">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="fax" HeaderText="Fax" SortExpression="fax"
                UniqueName="fax">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="email" HeaderText="Email" SortExpression="email"
                UniqueName="email">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="additional" HeaderText="Additional Info" SortExpression="additional"
                UniqueName="additional" ItemStyle-Width="200">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <HeaderStyle Width="120px" />
        <ClientSettings>
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
            </Scrolling>
        </ClientSettings>
</telerik:RadGrid>

   Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       If Not (Page.IsPostBack) Then
           RadGrid1.DataSource = myFunctions.customerListTable()
           RadGrid1.DataBind()
       End If
        
   End Sub
 
   Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
       RadGrid1.DataSource = myFunctions.customerListTable()
   End Sub
 
 
'this function creates a data table for the customer list
   Public Shared Function customerListTable()
 
       Dim sql = "SELECT customerId, name, address, city, state, zip, phone, email, fax, additional FROM Customers" & _
                 " WHERE deleted = 'false' ORDER BY name"
       Dim conn As String = System.Configuration.ConfigurationManager.ConnectionStrings("connection").ToString
 
       Using myConn As New SqlConnection(conn)
 
           'create the table
           Dim myTable As New DataTable
           myTable.Columns.Add("customerId")
           myTable.Columns.Add("edit")
           myTable.Columns.Add("name")
           myTable.Columns.Add("address")
           myTable.Columns.Add("city")
           myTable.Columns.Add("state")
           myTable.Columns.Add("zip")
           myTable.Columns.Add("phone")
           myTable.Columns.Add("email")
           myTable.Columns.Add("fax")
           myTable.Columns.Add("additional")
 
           myConn.Open()
 
           Dim cmd As New SqlCommand(sql, myConn)
           Dim reader = cmd.ExecuteReader
 
 
           While reader.Read()
 
               myTable.Rows.Add(reader("customerId"), "<a href=""../Customers/EditCustomer.aspx?id" & reader("customerId") & """>Edit</a>", _
                                reader("name"), reader("address"), reader("city"), reader("state"), reader("zip"), _
                                reader("phone"), reader("email"), reader("fax"), reader("additional"))
 
           End While 'while reader.read
 
           myConn.Close()
 
           Return myTable
 
       End Using 'using myConn
 
   End Function 'customerListTable












Casey
Top achievements
Rank 1
 answered on 14 Feb 2012
1 answer
286 views
I have a bar chart that I have been able to succesfully databind. But there is one more part of the requirement. They want to be able to click on one of the pie pieces and go to a separate page which gives details of the segment selected.  Currently the pie piece has the number and the label has the category.  How can I on click of the segment determine which category I was on so I can build out the necessary url to redirect to?  Or do I need to do something on the prepaint event?
Richard
Top achievements
Rank 1
 answered on 14 Feb 2012
4 answers
193 views
Hi All,
I have simple calendar with Entity Framework data source. In design, all plays nicely but not after deployment:
- I cannot navigate between Month and Week, nor the popup calendar will work
- I cannot edit an appointment in advanced mode (edit in advanced mode is set to true)

any advice would be helpful.
Jack
Jack
Top achievements
Rank 1
 answered on 14 Feb 2012
12 answers
662 views
Hi,
I am using Hierachy Rad Grid and for editing the record I am using InPlace Editing mode.

When I have Parent Item and child item of some ther node in Edit mode and click on the update button it is giving me the error

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.




Secondly I am not able to have the hierachy grid where in only one row should be editable.

Please help it is urgent.

Kind Regards
Vishal Gupta
Pavlina
Telerik team
 answered on 14 Feb 2012
2 answers
169 views
I'm evaluating RadGrid as a possible replacement for custom grid work that we have been doing. We essentially want to use a few features at the same time but it seems that CustomPaging and DetailTables are not compatible. I keep getting "This method is supported only for pager mode NumericPages Source" errors. Is it possible to have CustomPaging and DetailTables at the same time? If I use NumericPages, detail works. When I hook in our custom paging dropdown, detail no longer works but custom paging works. I hope I'm just missing something!

Thanks!

/Rob

ASPX:

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPlaceholder.master" AutoEventWireup="true" CodeFile="AccountsTest.aspx.cs" Inherits="Accounts_AccountsTest" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 
    <!-- custom head section -->
    <style type="text/css">
            .GridPager_Default INPUT
            {
                border: 1px solid gray;
                height: 14px;
                font-size: 11px;
            }
            .CustomPagerHolder
            {
                float:left;
            }          
            .NumericPagerHolder
            {
                float:right;
            }
            </style>
    <!-- end of custom head section -->
 
     <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
 
        <!-- content start -->
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="DropDownList1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
 
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadGrid ID="RadGrid1" OnPreRender="RadGrid1_PreRender" ShowStatusBar="true"
            runat="server" AutoGenerateColumns="False" PageSize="10" AllowSorting="True" AllowMultiRowSelection="False"
            AllowPaging="True" GridLines="None"
            OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCreated="RadGrid1_ItemCreated">
 
            <MasterTableView DataKeyNames="Account_ID" AllowMultiColumnSorting="True" DataMember="Accounts">
                <DetailTables>
                    <telerik:GridTableView DataKeyNames="Account_ID" Width="100%" DataMember="Detail"
                        runat="server">
                        <ParentTableRelation>
                            <telerik:GridRelationFields DetailKeyField="Account_ID" MasterKeyField="Account_ID" />
                        </ParentTableRelation>
                        <Columns>
                            <telerik:GridBoundColumn SortExpression="Legal_Name" HeaderText="Legal Name" HeaderButtonType="TextButton"
                                DataField="Legal_Name" UniqueName="LegalName">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn SortExpression="Current_Effective_Date" HeaderText="Current Effective Date" HeaderButtonType="TextButton"
                                DataField="Current_Effective_Date" UniqueName="CurrentEffectiveDate" DataFormatString="{0:D}">
                            </telerik:GridBoundColumn>
                        </Columns>
                    </telerik:GridTableView>
                </DetailTables>
                <Columns>
                    <telerik:GridBoundColumn SortExpression="Account_ID" HeaderText="AccountID" HeaderButtonType="TextButton"
                        DataField="Account_ID" UniqueName="AccountID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="Account_Name" HeaderText="Account Name" HeaderButtonType="TextButton"
                        DataField="Account_Name" UniqueName="AccountName">
                    </telerik:GridBoundColumn>
                </Columns>
 
                <PagerStyle Mode="NumericPages" PageButtonCount="5" AlwaysVisible="true"></PagerStyle>
 
            </MasterTableView>
        </telerik:RadGrid>
 
</asp:Content>


ASPX.CS:

using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
 
using HealthConnect.DAL;
 
using Telerik.Web.UI;
 
 
public partial class Accounts_AccountsTest : HealthConnect.Web.AMS.AMSPage
{
 
    private DataSet getData()
    {
 
        {snip query setup}
 
        DataSet dataSet = db.ExecuteDataSet(dbCommand);
 
        dataSet.Tables[0].TableName = "Accounts";
        dataSet.Tables[1].TableName = "Paging";
        dataSet.Tables[2].TableName = "Detail";
 
        DataColumn[] quotedGridParentColumns = {
                dataSet.Tables["Accounts"].Columns["Account_ID"] };
 
        DataColumn[] planChildColumns = {
                dataSet.Tables["Detail"].Columns["Account_ID"] };
 
        DataRelation dr = new DataRelation("pkPlanDetail",
            quotedGridParentColumns, planChildColumns, false);
 
        dataSet.Relations.Add(dr);
 
        return dataSet;
 
    }
 
    protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
        DataSet dataSet = getData();
        RadGrid1.DataSource = dataSet;
        ViewState["PagingInfo"] = dataSet.Tables[1];
        ViewState["CurrentPage"] = RadGrid1.CurrentPageIndex;
    }
 
     
 
    protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridPagerItem)
        {
        //
        // If this is uncommented detail doesn't work, if this is commented detail works.
        //
            //GridPagerItem item = (GridPagerItem)e.Item;
            //Control numericPager = item.GetNumericPager();
            //item.PagerContentCell.Controls.Clear();
 
            //Panel myPagerPanel = new Panel();
            //myPagerPanel.CssClass = "CustomPagerHolder";
 
            //myPagerPanel.Controls.Add(new MyPager(e.Item.OwnerTableView.PagingManager, e.Item.OwnerTableView, (DataTable)ViewState["PagingInfo"], (int)ViewState["CurrentPage"]));
            //item.PagerContentCell.Controls.Add(myPagerPanel);
 
        }
    }
 
    private class MyPager : Control
    {
        private GridPagingManager paging;
        private GridTableView tableView;
        private DataTable dataTable;
        private int currentPage = 0;
 
        DropDownList dropDownList;
 
        public MyPager(GridPagingManager paging, GridTableView tableView, DataTable dataTable, int currentPage)
        {
            this.paging = paging;
            this.tableView = tableView;
            this.dataTable = dataTable;
            this.currentPage = currentPage;
 
            this.EnsureChildControls();
        }
 
        protected override void CreateChildControls()
        {
            this.Controls.Add(new LiteralControl("Page: "));
 
            dropDownList = new DropDownList();
            dropDownList.ID = "DropDownList1";
 
            dropDownList.DataTextField = "Text";
            dropDownList.DataValueField = "Value";
 
            dropDownList.SelectedIndexChanged += new EventHandler(this.SelectedIndexChanged);
            dropDownList.AutoPostBack = true;
 
            this.Controls.Add(dropDownList);
        }
 
        protected override void OnPreRender(EventArgs e)
        {  
             
            dropDownList.DataSource = this.dataTable;
            dropDownList.DataBind();
 
            // This doesn't work, CurrentPageIndex is always 0
            //dropDownList.SelectedIndex = this.paging.CurrentPageIndex;
            dropDownList.SelectedIndex = currentPage;
 
            base.OnPreRender(e);
        }
 
        private void SelectedIndexChanged(object sender, EventArgs e)
        {
            this.tableView.CurrentPageIndex = dropDownList.SelectedIndex;
            this.tableView.Rebind();
        }
 
    }
 
 
}


Robert
Top achievements
Rank 1
 answered on 14 Feb 2012
3 answers
216 views
Hi,

I have a Rad Window which opens when a button is clicked.
While the page is loading, I want to display a loading image, to notify that something is happening.

Is there a way to display RadAjaxLoadingPanel every time a new rad window is being opened?

Thanks!
 
Pavlina
Telerik team
 answered on 14 Feb 2012
11 answers
187 views
Hi,

I am starting with Grid. I have a DropDownListColumn in Edit mode that I fill with a sql query in code. It show correctly the data that I want, but my data have 2 fields. One is a Number and the second is the Name corresponding to this number. I want to show these two fields in my DropDownList. Here is what I want:

What I currently have and What I want

Thanks
Jocelyn
Top achievements
Rank 1
 answered on 14 Feb 2012
1 answer
244 views
Hello,

I have a RadSplitter with two RadPanes, the left pane contains a RadTabStrip and RadMultiPage objects, with RadGrids inside the RadPageViews. The splitter is set to scroll vertically, but when a grid nested view is expanded (causing the content of the pane to be larger than its height), the pane is resized to allow scrolling but the scrollbar does not appear. White space appears in its place instead. However, when I mouse over another part of the page, the scrollbar magically appears. I also noted that when I collapsed the nested view, the existing scrollbar still remains as disabled until I mouse over another part of the page. Then it disappears.

I've attached some screenshots to help illustrate my issue.

  1. Initial.jpg - How the page looks before expanding the second item
  2. AfterExpand.jpg - After expanding the second item. Note how the content is now too large and gets cut off at the bottom of the left pane. Also note the width of the content of the pane has been narrowed slightly and now shows a white space where the vertical scrollbar should be.
  3. AfterMouseOver.jpg - After moving the cursor away from the splitter, note the scrollbar now displays as expected. No postback has occurred. (Alternatively, the scrollbar also shows after using keystroke Ctrl + A to select all of the content on the page.)
  4. AfterCollapse.jpg - After collapsing the second item. Note how the scrollbar remains but disabled (since there is nothing to scroll). Also note how the content of the left pane is hidden behind the scrollbar. The expected result here would be that the scrollbar should disappear since there is no more scrolling.
  5. AfterMouseOver2.jpg - After moving the cursor away from the splitter, note the scrollbar has now disappeared, as expected. Again, no postback has occurred.

Here is an example of the markup I've used. I removed the markup from the other tabs and from the right RadPane for brevity:

<div style="width:100%; height:94%">
    <telerik:RadSplitter ID="rsAppraisalDetail" runat="server" Width="100%" Height="100%" Orientation="Vertical" VisibleDuringInit="False"
        OnClientLoaded="rsAppraisalDetail_Loaded">
        <telerik:RadPane ID="rpAppraisalDetailLeft" runat="server" scrolling="Y" Height="100%">
            <telerik:RadTabStrip ID="tsAppraisalDetail" runat="server" MultiPageID="mpAppraisalDetail" SelectedIndex="0">
                <Tabs>
                    <telerik:RadTab Text="<%$ Resources: GeneralInformation %>" PageViewID="pvGeneral" />
                    <telerik:RadTab Text="<%$ Resources: LandAndFeatures %>" PageViewID="pvLandFeatures" />
                    <telerik:RadTab Text="<%$ Resources: Buildings %>" PageViewID="pvBuildings" />
                    <telerik:RadTab Text="<%$ Resources: SalesHistory %>" PageViewID="pvSales" />
                    <telerik:RadTab Text="<%$ Resources: ExemptionsAndAssessment %>" PageViewID="pvExemptions" />
                    <telerik:RadTab Text="<%$ Resources: Notes %>" PageViewID="pvNotes" />
                </Tabs>
            </telerik:RadTabStrip>
 
            <telerik:RadMultiPage ID="mpAppraisalDetail" runat="server" Width="100%" SelectedIndex="0" >
                <telerik:RadPageView ID="pvGeneral" runat="server" CssClass="pageView">
                     
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvLandFeatures" runat="server" CssClass="pageView">
                     
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvBuildings" runat="server" CssClass="pageView">
                    <div>
                        <asp:Label runat="server" Text="<%$ Resources:RpaControlCaptions, lblBuildings %>" /><br />
                        <telerik:RadGrid ID="dtgBuildings" runat="server" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" ShowFooter="true"
                            AutoGenerateColumns="false" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" AllowCustomPaging="true" PageSize="5"
                            Width="100%" OnNeedDataSource="dtgBuildings_NeedDataSource" OnPreRender="dtgBuildings_PreRender"
                            OnSelectedIndexChanged="dtgBuildings_SelectedIndexChanged">
                            <ClientSettings EnablePostBackOnRowClick="true">
                                <Selecting AllowRowSelect="true" />
                            </ClientSettings>
                            <MasterTableView runat="server" DataKeyNames="Id" HierarchyLoadMode="Client" IsFilterItemExpanded="false">
                            <NestedViewTemplate>
                                    <telerik:RadGrid ID="dtgBuildingSections" runat="server" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true"
                                        AutoGenerateColumns="false" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" AllowCustomPaging="true"
                                        PageSize="5" Width="100%"
                                        OnNeedDataSource="dtgBuildingSections_NeedDataSource">
                                        <MasterTableView runat="server" DataKeyNames="Id" IsFilterItemExpanded="false">
                                            <Columns>
                                                <telerik:GridBoundColumn UniqueName="YearBuilt" DataField="YearBuilt" HeaderText="<%$ Resources:RpaControlCaptions, lblYear %>"
                                                    DataType="System.Int16" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                                <telerik:GridBoundColumn UniqueName="ImprovementModelDescr" DataField="ImprovementModelDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblStyle %>" />
                                                <telerik:GridBoundColumn UniqueName="FramingClassDescr" DataField="FramingClassDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblClass %>" />
                                                <telerik:GridBoundColumn UniqueName="ActualArea" DataField="ActualArea"  HeaderText="<%$ Resources:RpaControlCaptions, lblActualArea %>" 
                                                    DataType="System.Decimal" DataFormatString="{0:N0}" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                                <telerik:GridBoundColumn UniqueName="PercentComplete" DataField="PercentComplete"  HeaderText="<%$ Resources:RpaControlCaptions, lblPercentComplete %>" 
                                                    DataType="System.Decimal" DataFormatString="{0:P0}" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                            </Columns>
                                        </MasterTableView>
                                    </telerik:RadGrid>
                                </NestedViewTemplate>
                                <Columns>
                                    <telerik:GridBoundColumn UniqueName="BuildingName" DataField="BuildingName" HeaderText="<%$ Resources:RpaControlCaptions, lblBuildingName %>" />
                                    <telerik:GridBoundColumn UniqueName="ImprovementTypeDescr" DataField="ImprovementTypeDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblBuildingType %>" />
                                    <telerik:GridBoundColumn UniqueName="EffectiveYear" DataField="EffectiveYear" HeaderText="<%$ Resources:RpaControlCaptions, lblEffectiveYear %>"
                                        DataType="System.Int16" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
                                    <telerik:GridBoundColumn UniqueName="ActualArea" DataField="ActualArea" HeaderText="<%$ Resources:RpaControlCaptions, lblActualArea %>"
                                        DataType="System.Decimal" DataFormatString="{0:N0}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
                                    <telerik:GridBoundColumn UniqueName="FeatureCount" DataField="AttachedFeatures.Count" HeaderText="<%$ Resources:RpaControlCaptions, lblFeatures %>"
                                        DataType="System.Int32" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" DataFormatString="{0:N0}" />
                                    <telerik:GridBoundColumn UniqueName="FinalValue" DataField="FinalValue" HeaderText="<%$ Resources:RpaControlCaptions, lblValue %>"
                                        DataType="System.Decimal" DataFormatString="{0:C0}" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>
                    </div>
                    <asp:Panel runat="server" ID="pnlBuildingChildGrids">
                        <div style="padding-top:10px; margin-right: .5%; float:left; width:49.5%;">
                            <asp:Label runat="server" Text="<%$ Resources:RpaControlCaptions, lblStructuralElements %>" /><br />
                            <telerik:RadGrid ID="dtgElements" runat="server" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" ShowFooter="true"
                                AutoGenerateColumns="false" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" AllowCustomPaging="true" PageSize="5"
                                Width="100%" OnNeedDataSource="dtgElements_NeedDataSource">
                                <MasterTableView runat="server" DataKeyNames="ElementCategoryDescr, ElementCodeDescr" IsFilterItemExpanded="false">
                                    <Columns>
                                        <telerik:GridBoundColumn UniqueName="ElementCategoryDescr" DataField="ElementCategoryDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblCategory %>" />
                                        <telerik:GridBoundColumn UniqueName="ElementCodeDescr" DataField="ElementCodeDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblDescription %>" />
                                        <telerik:GridBoundColumn UniqueName="Percent" DataField="Percent"  HeaderText="<%$ Resources:RpaControlCaptions, lblPercent %>" 
                                            DataType="System.Decimal" DataFormatString="{0:P0}" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                    </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>
                        </div>
                        <div style="padding-top:10px; margin-left: .5%; float:right; width:49.5%;">
                            <asp:Label runat="server" Text="<%$ Resources:RpaControlCaptions, lblUnitCounts %>" /><br />
                            <telerik:RadGrid ID="dtgUnits" runat="server" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" ShowFooter="true"
                                AutoGenerateColumns="false" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" AllowCustomPaging="true" PageSize="5"
                                Width="100%" OnNeedDataSource="dtgUnits_NeedDataSource">
                                <MasterTableView runat="server" DataKeyNames="ElementCategoryDescr, ElementCodeDescr" IsFilterItemExpanded="false">
                                    <Columns>
                                        <telerik:GridBoundColumn UniqueName="ElementCategoryDescr" DataField="ElementCategoryDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblCategory %>" />
                                        <telerik:GridBoundColumn UniqueName="ElementCodeDescr" DataField="ElementCodeDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblDescription %>" />
                                        <telerik:GridBoundColumn UniqueName="UnitCount" DataField="UnitCount"  HeaderText="<%$ Resources:RpaControlCaptions, lblUnits %>" 
                                            DataType="System.Int32" DataFormatString="{0:N0}" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                    </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>
                        </div>
                        <div style="clear:both; padding-top:10px">
                            <asp:Label runat="server" Text="<%$ Resources: AttachedFeatures %>" /><br />
                            <telerik:RadGrid ID="dtgBuildingFeatures" runat="server" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" ShowFooter="true"
                                AutoGenerateColumns="false" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" AllowCustomPaging="true" PageSize="5"
                                Width="100%" OnNeedDataSource="dtgBuildingFeatures_NeedDataSource">
                                <MasterTableView runat="server" DataKeyNames="Id" IsFilterItemExpanded="false">
                                    <Columns>
                                        <telerik:GridBoundColumn UniqueName="CodeShortDescr" DataField="CodeShortDescr" HeaderText="<%$ Resources: FeatureName %>" />
                                        <telerik:GridBoundColumn UniqueName="Description" DataField="Description" HeaderText="<%$ Resources: FeatureDescription %>" />
                                        <telerik:GridBoundColumn UniqueName="QualityDescr" DataField="QualityDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblQuality %>" />
                                        <telerik:GridBoundColumn UniqueName="ConditionDescr" DataField="ConditionDescr" HeaderText="<%$ Resources:RpaControlCaptions, lblCond %>" />
                                        <telerik:GridBoundColumn UniqueName="EffYearBuilt" DataField="EffYearBuilt" HeaderText="<%$ Resources:RpaControlCaptions, lblYear %>"
                                            DataType="System.Int16" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                        <telerik:GridBoundColumn UniqueName="FinalValue" DataField="FinalValue" HeaderText="<%$ Resources:RpaControlCaptions, lblValue %>"
                                            DataType="System.Decimal" DataFormatString="{0:C0}" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" />
                                    </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>
                        </div>
                    </asp:Panel>
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvSales" runat="server" CssClass="pageView">
                     
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvExemptions" runat="server" CssClass="pageView">
                     
                </telerik:RadPageView>
                <telerik:RadPageView ID="pvNotes" runat="server" CssClass="pageView">
                     
                </telerik:RadPageView>
            </telerik:RadMultiPage>
        </telerik:RadPane>
        <telerik:RadPane ID="rpAppraisalDetailRight" runat="server" Height="100%" Width="22px" MinWidth="200" BackColor="#C2D0E0" Locked="True">
                           
        </telerik:RadPane>
    </telerik:RadSplitter>
</div>

Am I missing something in my markup? Or could it possibly be a bug in the control or maybe even IE? I am running IE 9.0.8112.16421

Thanks!
Geoff
Dobromir
Telerik team
 answered on 14 Feb 2012
5 answers
103 views
I am trying to upgrade the telerik version in an older project. After I use the upgrade wizard I start to get endless "Circular Reference Not Allowed" errors. I have looked around for solutions and seem to have corrected some issues by changing .ascx controls to different folders, as suggested online. But as soon as I fix one circular reference another appears. I am sure the this releated to the wizard upgrade because I have reverted to older copy, tried upgrading again, always getting the same results after upgrade. Can anyone give me suggestions? 

Thanks
Curt
Chavdar Dimitrov
Telerik team
 answered on 14 Feb 2012
6 answers
119 views
Hi,

I have set the scheduler ReadOnly property to true and use WebService binding, the appointments are still rendered as editable. When I use normal binding the appointments are rendered as ReadOnly.

Please let me know what I am missing in this.
Plamen
Telerik team
 answered on 14 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?