Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
62 views
Hello,

I have a page having a couple of grids

Everything seems working fine, once it is deployed in the server the grids in a specific page is taking life to load if there is no record!

When there is no record, we bind the grid with an object having null reference

Any workarounds?

Thank you

Regards
Raj
Rajz
Top achievements
Rank 1
 answered on 25 Feb 2011
3 answers
69 views
Hi  All,

I am facing weired issue, i have a nested radgrid2 which is placed inside a top level radgrid1.

Radgrid1 has two columns, the 1st one work as primary key for Radgrid2.
Both works fine, but whenever i click the navigation button of Radgrid 2, it loose the data and after that it display
"No Data to display"


Kindly see the inline code as well as attached screen-shots.
-----------------
Code ascx
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Most.ascx.cs"
    Inherits="Most%>
<%@ Register Assembly="Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

    <script type="text/javascript" language="javascript">


        //sharepoint postback to work after clicking on telerik export to pdf
        if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' && _spBodyOnLoadFunctionNames != null) {
            _spBodyOnLoadFunctionNames.push("supressSubmitWraper");
        }
        function supressSubmitWraper() {
            _spSuppressFormOnSubmitWrapper = true;

        }
             
        var tableView = null;
        function pageLoad(sender, args) {
            tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
        }

        function RadComboBox1_SelectedIndexChanged(sender, args) {
            tableView.set_pageSize(sender.get_value());
        }

        function changePage(argument) {
            tableView.page(argument);
        }

        function RadNumericTextBox1_ValueChanged(sender, args) {
            tableView.page(sender.get_value());
        }
       
    </script>

</telerik:RadScriptBlock>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<%--/*****************************************/--%>
<table width="980px">
    
    <tr>
        <td valign="top">
            <table width="240px">
                <tr>
                    <td>
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <table class="xyx-columnwidth">
                                    
                                    <tr >
                                        <td>
                                            <table>
                                                
                                                <tr>
                                                    <td align="right">
                                                       
                                                        <asp:Button ID="BtnLookup" runat="server" CssClass="xyx-sumbitbtn" OnClick="BtnLookup_Click"
                                                            OnClientClick="" Text="Submit" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                </tr>
          
}


Iana Tsolova
Telerik team
 answered on 25 Feb 2011
10 answers
234 views
I'm working with the Item Drag and Drop sample, and it works very well.  However, I have modified it slightly.  The source datagrid has a different number of columns than the destination datagrid.  I have modified the code so that when the item is dropped, I manually add the row to the grid.  That all works fine, but I really would like to know which column the item was dropped on.  Is there a way to get this information?

Thanks,
Derrick.
Jack
Telerik team
 answered on 25 Feb 2011
6 answers
270 views
Hello,

Im experiencing a wierd rendering issue with RadEditor and i really need to fix the problem, as it is driving the customer crazy. Take a look at the attached screenshots. Sometimes when I enter the page where the editor is used, the editor is not displayed at all, only a wierd list of bullets (error.jpg). I have been unable to see any pattern as to when the problem occurs, but sometimes I wont see it for days and at other times it will occur 2-3 times a day.

Do you guys have any idea of what could be the problem?

/Andreas
Rumen
Telerik team
 answered on 25 Feb 2011
6 answers
139 views
Hello Everyone

I have tried this link
http://www.telerik.com/help/aspnet-ajax/data-binding-exchange-provider.html
but i always get an error

The request failed with HTTP status 440: Login Timeout.

What might be my mistake?

Thank you
Erwin
Top achievements
Rank 1
 answered on 25 Feb 2011
1 answer
62 views
Hi,
I need some help with the css property to display the text wright for the pane tab when we select orientation as vertical.
Please compare the links below and look for the pane tab's text. I also attached the image pointing the issue.
Splitter in IE
Splitter in FireFox

Thanks,
Nawaz.
Svetlina Anati
Telerik team
 answered on 25 Feb 2011
1 answer
90 views
We tested RadControls_for_ASP.NET_AJAX_2010_1_519_dev with very simple appliocation and found out that IE8 has memory lteaks issue.
The application is just simple RadGridView that is being updating every 5 seconds with the same data. We used RadAjaxManager for the grid.
We need in future to deploy more complicated apps that, loaded to IE8 client page will work for days in the same Session without refresh.

What do we have to do to avoid this problem?

Thank You.
Tsvetoslav
Telerik team
 answered on 25 Feb 2011
1 answer
150 views
I am using RadMaskedTextBox in this way :

 <telerik:RadMaskedTextBox ID="txtMaskedCalculateAmount" runat="server" Mask="#,###,###,###"    PromptChar=" " ToolTip="Unicamente Digitos">
                                     </telerik:RadMaskedTextBox>

This text box is always showing , in text box in every case even text box is empty.
I want to implement this thing here :
The field is displayed only spaces then when user starts typing
9
99
999
9,999 only when 4th digit is type the comma is inserted
99,999
999,999
9,999,999 here comma is inserted after 7th digit is typed

Is it possible with this ?if yes then please provide nme solution.
Tsvetoslav
Telerik team
 answered on 25 Feb 2011
3 answers
107 views
Hi, I am trying to use RadAjaxManager to cause my gridview to add items when a button is clicked.  These items are stored in a session variable.  When I use the RadUpdatePanel, everything works as expected, except the whole page reloads and is slow.  I would like to show a loading panel over each contorl that is loading (my actual page is quite complex).  When I click the button to add an item to the radgrid, it shows the loading panel, but the grid does not show any new items.  However if I click other things on the page, the items that were added will appear.  I've been searching for quite some time for a solution to my problem.  Also note:I'm trying NOT to use javascript if possible.  My setup is as follows:

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="WebApplication5._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">
  
    <telerik:RadScriptManager ID="scmAjax" runat="server" ScriptMode="Release" />
  
    <telerik:RadAjaxManager ID="radAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radAjaxManager">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="rlpLoadingPanel"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadButton1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="rlpLoadingPanel"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="rlpLoadingPanel"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
  
  
    <telerik:RadButton ID="RadButton1" runat="server" Text="Assign" 
        onclick="RadButton1_Click" AutoPostBack="true">
    </telerik:RadButton>
  
    <telerik:RadButton ID="RadButton2" runat="server" Text="Request that will reload grid" 
        AutoPostBack="true">
    </telerik:RadButton>
  
    <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None">
    </telerik:RadGrid>
  
    <telerik:RadAjaxLoadingPanel ID="rlpLoadingPanel" runat="server" Skin="Default" IsSticky="false">
        </telerik:RadAjaxLoadingPanel>
  
</asp:Content>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
  
namespace WebApplication5
{
    public struct Book
    {
        public string title
        {
            get;
            set;
        }
        public string author
       {
            get;
            set;
        }
    }
  
    public partial class _Default : System.Web.UI.Page
    {
        protected List<Book> GridViewBooks
        {
            get
            {
                return (List<Book>)Session["Books"];
            }
            set
            {
                Session["Books"] = value;
            }
        }
  
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                List<Book> theBooks = new List<Book>();
                Book aBook = new Book();
                aBook.title = "First book title";
                aBook.author = "First book author";
                  
                theBooks.Add(aBook);
  
                GridViewBooks = theBooks;
                BindGrid();
            }
  
        }
  
        protected void RadButton1_Click(object sender, EventArgs e)
        {
            List<Book> theBooks = new List<Book>();
            Book aBook = new Book();
            aBook.title = "Another title " + DateTime.Now.ToString();
            aBook.author = "another book author";
  
            theBooks = GridViewBooks;
            theBooks.Add(aBook);
            GridViewBooks = theBooks;
  
            BindGrid();
        }
  
        private void BindGrid()
        {
            //bind gridview
            RadGrid1.DataSource = GridViewBooks;
            RadGrid1.DataBind();
        }
  
    }
}

Thanks for your help
Radoslav
Telerik team
 answered on 25 Feb 2011
1 answer
60 views
"Cell Limit Error".  We have code that has been executing successfully for some time to export data to an excel spreadsheet with RadGrid.  This code is executing successfully on our older operating systems.   However,  on  machines that have Windows 7 installed we are having a problem.  All data is being dumped into a single row and column creating error , "cell limit".  Why should this be occurring?  Is this related to our version of skins?  It looks like we are using "default".  
Do we need to change Radcontrols for Windows 7.


Daniel
Telerik team
 answered on 25 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?