Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
68 views
I added a RadPanelBar to my project for the first time today. 

It immediately asks that you select "Build RadPanelBar" to begin creating the control.

I go into that, add some test bars, change the text, etc... Then I click OK.  In my design view I see the bars, text, font changes, etc... However, in the source view nothing happens.  Nothing is changed, so if I make any source changes then everything about my bars is lost.  I ended up just editing the RadPanelBar source by hand to add my items and make my font changes.

What am I doing wrong?  Why aren't my modifications made through the editor tool working?  I click "OK" when I finish and the design view changes, but the source remains empty.  It's odd because if I go back into the editor it still has all my settings in there, they just never move over to the Source view.

Is there something I need to do to actually commit the changes made in the RadPanelBar editor to my project?
Greg St.Pierre
Top achievements
Rank 1
 answered on 25 Feb 2011
6 answers
80 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
82 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
271 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
311 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
169 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
72 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
121 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
165 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
130 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?