Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
120 views
Can we have this in alphabetical order please?

Making sure that all of the entries in any section are in proper alphabetical order should be a step in the documentation team's QA process. There's not really a good excuse for not doing this, is there?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 16 Nov 2010
0 answers
473 views
When the RadButton (ButtonType="StandardButton", UseSubmitBehavior="true") is used as an Ajax Trigger for the Ajax manager, the controls affected by the Ajax request are not updated on the client. The issue will be fixed for the upcoming Q3 2010 SP1 release. You can follow the progress of the issue here.

For the time being, please, set the UseSubmitBehavior property to false.

<%@ Page Language="C#" AutoEventWireup="true" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
       <title></title>
</head>
<body>
       <form id="form1" runat="server">
       <asp:ScriptManager ID="ScriptManager1" runat="server">
       </asp:ScriptManager>
       <script runat="server">
              void btnSaveTenplateDefault_Click(object sender, EventArgs e)
              {
                     Label1.Text = DateTime.Now.ToString();
              }
       </script>
       <telerik:RadAjaxManager ID="AjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
              <AjaxSettings>
                     <telerik:AjaxSetting AjaxControlID="RadButton1">
                           <UpdatedControls>
                                  <telerik:AjaxUpdatedControl ControlID="Label1" />
                           </UpdatedControls>
                     </telerik:AjaxSetting>
              </AjaxSettings>
       </telerik:RadAjaxManager>
       <telerik:RadButton ID="RadButton1" runat="server" Text="Postback" OnClick="btnSaveTenplateDefault_Click"
              UseSubmitBehavior="false">
       </telerik:RadButton>
       <asp:Label ID="Label1" runat="server"></asp:Label>
       </form>
</body>
</html>
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 16 Nov 2010
3 answers
264 views
Hi,

I have a PanelBar inside of a Splitter/Pane configuration that loads its data from an XML file. I want the PanelBar to postback the selected item so that codebehind can act on it and load additional things on the form. To do this smoothly, I'm trying to implement AJAX via either the Manager or Panel, but I'm getting the following error when clicking on items in the PanelBar:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12030

Sometimes the error number is 404 instead of the 12030. If I take AJAX out of the form, the error goes away but the screen flicker comes back. My form code is:

<%@ Page AutoEventWireup="false" CodeFile="Administration.aspx.vb" Inherits="JHU.APL.BCSD.TST4.AISDStaffTool.Website.Administration" 
    Language="VB" MasterPageFile="~/MasterPages/AISDStaffTool.master" Title="AISD Staff Development Tool - Administration" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">  
    <telerik:RadSplitter ID="spltAdmin" runat="server" Orientation="Vertical" Width="100%" 
        Height="100%" Skin="Web20">  
        <telerik:RadPane ID="panePanelBar" runat="server" Width="20%" Height="100%">  
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">  
                <telerik:RadPanelBar ID="pnbActions" runat="server" Width="100%" Height="100%" Skin="Vista" 
                    DataSourceID="xdsPanelBar" DataTextField="Text" DataValueField="Value">  
                    <CollapseAnimation Duration="100" Type="None" /> 
                    <ExpandAnimation Duration="100" Type="None" /> 
                </telerik:RadPanelBar> 
            </telerik:RadAjaxPanel> 
        </telerik:RadPane> 
        <telerik:RadSplitBar ID="splbActions" runat="server" /> 
        <telerik:RadPane ID="paneAdminDetails" runat="server" Height="100%" Width="80%">  
        </telerik:RadPane> 
    </telerik:RadSplitter> 
    <asp:XmlDataSource ID="xdsPanelBar" runat="server" DataFile="~/App_Data/AdminPanelBar.xml" 
        XPath="/Items/Item"></asp:XmlDataSource> 
</asp:Content> 
 

Can anyone tell me how to get this to stop? I'm using Q1 2008 FUTURES.

Thanks!
Nikolay Tsenkov
Telerik team
 answered on 16 Nov 2010
1 answer
101 views
This page in the TreeView Docs has a typo.

The section that reads true if child nodes will be checked (checked) when the user checks (unchecks) their parent node; otherwise, false. The default value is false

should read true if child nodes will be checked (unchecked) when the user checks (unchecks) their parent node; otherwise, false. The default value is false

This error is duplicated in the installed help.

-- 
Stuart
Yana
Telerik team
 answered on 16 Nov 2010
1 answer
123 views
Hi,

I have a scenario where a treeview is a dynamically populated user control placed on to a masterpage.
On the click of a node, content holder on right loads up a new page
1. Tree state should be maintained in between pages
2. Whole master page should not refresh

Please advice.
Nikolay Tsenkov
Telerik team
 answered on 16 Nov 2010
3 answers
135 views
Hi Telerik team

I have an Issue in the rad dock ,when the page posts back it causes the content of the dock to disappear
please check the following images to have more information about the page

Before Post back 
After Post back

thanks in advance

Remarks
I'm using the following tools and technologies
  • rad controls for asp.net ajax  2009 - Q3
  • Micrososft windows 7
  • sql server 2005
  • asp.net with framework 3.5
Pero
Telerik team
 answered on 16 Nov 2010
1 answer
85 views
I have a PanelBar that I dynamically load data in the ItemTemplates when the user expands the PanelBarItem.  This was working fine until the new skins came out that added the expand/collapse button to the PanelBarItems.  It doesn't seem that a Server-Side event gets fired when this button is used.  I was triggering off of the ItemClick event to perform my databinding, but this no longer works.  Are there any suggestions on how to handle the action of a user clicking on this button?

TIA
Nikolay Tsenkov
Telerik team
 answered on 16 Nov 2010
5 answers
125 views


I have a RadTextBox defined like this:

<telerik:RadTextBox ID="newNoteTextArea" Runat="server" EmptyMessage="Enter new note here." Skin="Office2007" TextMode="MultiLine" Rows="4" width="99%" ShowButton="false" style="border: none;" ValidationGroup="undr_AddNote" MaxLength="2000000" ></telerik:RadTextBox>

When the user types a lot of text into the RadTextbox, the texbox will scroll back toward the top of the textbox and bounce back between the top and the typing line in-between typing.  This is happening in IE7, but dos not seem to in Chrome.  I have not tested Firefox or any other browsers.  I have confirmed that this same thing happens in the online demo found here: http://demos.telerik.com/aspnet-ajax/input/examples/radtextbox/firstlook/defaultcs.aspx


To see it copy this into the multi-line input:

;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk ;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk ;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk


Then type, you’ll see it bounce up and down.  This become VERY annoying for the user. 

Dimo
Telerik team
 answered on 16 Nov 2010
5 answers
171 views
We have a RadGrid with a NestedViewTemplate

Setting the Grid GroupHeaderItemStyle.CssClass = "groupbyheader";  affects the first td in the NestedViewTemplate..
Dimo
Telerik team
 answered on 16 Nov 2010
2 answers
108 views
I have a RadComboBox1 that I want to show nothing in until the RadComboBox2 above it has a selected value.  I do this by not setting a data source on RadComboBox1.  Once a value is selected in RadComboBox2 on the server side I am setting a new datasource and loading the RadComboBox1.  This works the first time I have selected an option in RadComboBox2 that has associated data.  When I select an item in RadComboox2 that does not have associated data, RadComboBox1 will not clear. 

I have tried the following to clear RadComboBox1:

                RadComboBox1.ClearSelection();
            RadComboBox1.Text = string.Empty;
            RadComboBox1.Items.Clear();
            RadComboBox1.DataSource = null;
            RadComboBox1.DataBind();
  
            while (RadComboBox1.Items.Count > 0)
            {
                RadComboBox1.Items.Remove(0);
            }

However nothing seems to allow me to remove the items from RadComboBox1.  I have tried this code on RadComboBox2 selected index changed, on RadComboBox1 items requested and elsewhere.  Any help would be appreciated.
JD Emmert
Top achievements
Rank 1
 answered on 16 Nov 2010
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?