Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
177 views
Hi! I'm new in this Telerik subject items, I have Created a RadPanelBar using the example in this link http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/accessingnestedcontrols/defaultcs.aspx  but with the diference that in the first tab I put 4 comboBoxes , all of then are with the "EnabledOnLoad=true" "OnItemsRequested" event, but when I debug the application the following tab show me the comboboxes but I can not expand any of then it seems that no respond it just freeze, my questions is.. if there is limit on the items that can be load with this event. I'm doing something wrong..? Please help me..

thank You in Advance!!

<

 

telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">

 

 

<telerik:RadPanelBar runat="server" ID="RadPanelBar1" ExpandMode="SingleExpandedItem"

 

 

Width="600px">

 

 

<Items>

 

 

<telerik:RadPanelItem Expanded="True" Text="Step 1: Basic Case Information" Font-Bold="true"

 

 

runat="server" Selected="true">

 

 

<Items>

 

 

<telerik:RadPanelItem Value="AccountInformation" runat="server">

 

 

<ItemTemplate>

 

 

<div runat="server" style="background-color: #D3DEEF">

 

 

<table runat="server">

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<il>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="casenumberlabel" runat="server" Font-Bold="True" Text=" Case Number:"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="numberlabel" runat="server" Font-Bold="True" Text="Label"></asp:Label>

 

 

</il>

 

 

</ul>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li class="li">

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="userlabel" runat="server" Font-Bold="True" Text="User: "></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="userlabelfin" runat="server" Font-Bold="True" Text="Label"></asp:Label>

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li class="li">

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:CheckBox ID="otherusercheckbox" Checked="false" AutoPostBack="true" OnCheckedChanged="dispatchedcheck_CheckedChanged"

 

 

runat="server" Font-Bold="True" Text="Other User" />

 

 

<telerik:RadComboBox ID="otherusercombo" Enabled="false" Font-Bold="true" runat="server"

 

 

Height="16px" EmptyMessage="--Choose a User--" Width="125px">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator Enabled ="false" runat="server" ID="RequiredFieldValidator1" ControlToValidate="otherusercombo" ErrorMessage="!"></asp:RequiredFieldValidator>

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li class="li">

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="Receptionlabel" runat="server" Font-Bold="True" Text="Reception Date:"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadDatePicker ID="receptiondate" runat="server">

 

 

</telerik:RadDatePicker>

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li class="li">

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="customerlabel" runat="server" Font-Bold="True" Text="Customer:"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="Customercombo" Font-Bold="true" OnItemsRequested="LoadCustomer" EnableLoadOnDemand="true" runat="server" EmptyMessage="--Choose a Customer--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="Customercombo" ErrorMessage="!"></asp:RequiredFieldValidator>

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="datelabel" runat="server" Font-Bold="True" Text="Date:"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadDatePicker ID="ActualDate" runat="server">

 

 

</telerik:RadDatePicker>

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li class="li">

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="senderlabel" runat="server" Font-Bold="True" Text="Sender:"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="sendercombo" Font-Bold="true" runat="server" OnItemsRequested="LoadSender" EnableLoadOnDemand="true" EmptyMessage="--Choose a Sender--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="sendercombo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li class="li"><span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="Label9" runat="server" Font-Bold="True" Text="Type Of Contact:"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="typecombo" Font-Bold="true" Width="115px" runat="server" OnItemsRequested="LoadType" EnableLoadOnDemand="true"

 

 

EmptyMessage="--Choose a Type--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator4" ControlToValidate="typecombo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

<br />

 

 

</li>

 

 

</ul>

 

 

</td>

 

 

<td>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Button runat="server" ID="nextButton" OnClick="nextButton_Click" Text="Next" />

 

 

<br />

 

 

<br />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</div>

 

 

</ItemTemplate>

 

 

</telerik:RadPanelItem>

 

 

</Items>

 

 

</telerik:RadPanelItem>

 

 

<telerik:RadPanelItem Enabled="False" Text="Step 2: Case Detail Information" Font-Bold="true"

 

 

runat="server">

 

 

<Items>

 

 

<telerik:RadPanelItem Value="DeatilCase" runat="server">

 

 

<ItemTemplate>

 

 

<div style="background-color: #D3DEEF">

 

 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:Label ID="Observationslabel" runat="server" Text="Observations" Font-Bold="true"></asp:Label>

 

 

<table id="Table1" runat="server">

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<li><span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="ProductLabel" Text="Product: " runat="server" Font-Bold="true"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="ProductCombo" Font-Bold="true" Width="130px" runat="server"

 

 

EmptyMessage="--Choose a Product--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator4" ControlToValidate="ProductCombo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

</li>

 

 

</td>

 

 

<td>

 

 

<telerik:RadTextBox ID="observationstextbox" EmptyMessage="Enter your Comments" TextMode="MultiLine" runat="server"

 

 

Font-Bold="true" Width="200px" Height="100">

 

 

</telerik:RadTextBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<il>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="reasoncontactlabel" runat="server" Text="Reason for Contact:" Font-Bold="true"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="reasoncombo" runat="server" Font-Bold="true" Width="150px" EmptyMessage="--Choose a Reason--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator5" ControlToValidate="reasoncombo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

</il>

 

 

</ul>

 

 

</td>

 

 

<td style="vertical-align: bottom">

 

 

<asp:Label ID="descriptionlabel" runat="server" Font-Bold="true" Text="Description"></asp:Label>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<il>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="detail2label" runat="server" Text="Detail 1: " Font-Bold="true"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="detail2combo" runat="server" Font-Bold="true" Width="150px" EmptyMessage="--Choose a Detail--">

 

 

</telerik:RadComboBox >

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator6" ControlToValidate="detail2combo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

</il>

 

 

</ul>

 

 

</td>

 

 

<td>

 

 

<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Height="70px" Width="200px"></asp:TextBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<ul style="text-align: justify; list-style-type: none">

 

 

<il>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="detail3Label" runat="server" Text="Detail 2: " Font-Bold="true"></asp:Label>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<telerik:RadComboBox ID="detail3combo" runat="server" Font-Bold="true" Width="150px" EmptyMessage="--Choose a Detail--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator7" ControlToValidate="detail3combo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

</il>

 

 

</ul>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td colspan="2" valign="bottom">

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><asp:Label

 

 

ID="Label1" runat="server" Font-Bold="True" Text="Solution"></asp:Label>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td colspan="2" valign="middle">

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>

 

 

<telerik:RadTextBox ID="Solutiontext" runat="server" EmptyMessage="Enter your Solution" Height="80px" TextMode="MultiLine"

 

 

Width="300px">

 

 

</telerik:RadTextBox>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

</span>

 

 

<asp:Button runat="server" ID="nextButton1" OnClick="nextButton_Click" Text="Next" />

 

 

<br />

 

 

<br />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</div>

 

 

</ItemTemplate>

 

 

</telerik:RadPanelItem>

 

 

</Items>

 

 

</telerik:RadPanelItem>

 

 

<telerik:RadPanelItem Enabled="False" Text="Step 3: Contact Detail Information" Font-Bold="true"

 

 

runat="server">

 

 

<Items>

 

 

<telerik:RadPanelItem Value="DeatilCase1" runat="server">

 

 

<ItemTemplate>

 

 

<div style="background-color: #D3DEEF">

 

 

<table runat="server">

 

 

<tr>

 

 

<td>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="emaillabel" runat="server" Text="Email" Font-Bold="true"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<br />

 

 

<telerik:RadNumericTextBox ID="emailnumeric" runat="server" Width="50px">

 

 

</telerik:RadNumericTextBox>

 

 

</td>

 

 

<td>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="phonelabel" runat="server" Font-Bold="true" Text="Phone"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<br />

 

 

<telerik:RadNumericTextBox ID="phonenumeric" runat="server" Width="50px">

 

 

</telerik:RadNumericTextBox>

 

 

</td>

 

 

<td>

 

 

<br />

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:CheckBox ID="dispatchedcheck" runat="server" Font-Bold="true" Text="Dispatched"

 

 

Checked="true" />

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label runat="server" ID="MSNlabel" Font-Bold="true" Text="MSN"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<telerik:RadNumericTextBox ID="msnnumeric" runat="server" Width="50px">

 

 

</telerik:RadNumericTextBox>

 

 

</td>

 

 

<td>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label runat="server" Font-Bold="true" Text="CellPhone" ID="celllabel"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<telerik:RadNumericTextBox ID="cellnumeric" runat="server" Width="50px">

 

 

</telerik:RadNumericTextBox>

 

 

</td>

 

 

<td>

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Label ID="severitylabel" runat="server" Text="Severity" Font-Bold="true"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<br />

 

 

<telerik:RadComboBox ID="severitycombo" runat="server" Width="180px" EmptyMessage="--Choose a Severity--">

 

 

</telerik:RadComboBox>

 

 

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator7" ControlToValidate="severitycombo" ErrorMessage="!" ></asp:RequiredFieldValidator>

 

 

<br />

 

 

<br />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

<table>

 

 

<tr>

 

 

<td valign="top">

 

 

<span lang="es-co">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

 

 

<asp:Button ID="saveButton" runat="server" Text="Register Case" />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</div>

 

 

</ItemTemplate>

 

 

</telerik:RadPanelItem>

 

 

</Items>

 

 

</telerik:RadPanelItem>

 

 

</Items>

 

 

<CollapseAnimation Duration="1000" Type="Linear" />

 

 

<ExpandAnimation Duration="1000" Type="Linear" />

 

 

</telerik:RadPanelBar>

 

 

</telerik:RadAjaxPanel>

 






Paul
Telerik team
 answered on 23 Jun 2009
5 answers
110 views

I'm using an ajaxified RadGrid to display a long List<T> in a multi-tier environment.  I've implemented a custom paging solution and I'm passing the SortExpressions[0] information to my next tier.  This works fine for the first few sorts then I start to get an argument out range expression.

<telerik:RadGrid ID="AccountListRadGrid" runat="server" 
    OnItemCreated="AccountListRadGrid_ItemCreated" 
    OnItemCommand="AccountListRadGrid_ItemCommand" 
    OnItemDataBound="AccountListRadGrid_NodeDataBound" 
    OnNeedDataSource="AccountListRadGrid_NeedDataSource" 
    OnDeleteCommand="AccountListRadGrid_DeleteButton_Click" 
    SkinID="ObjectList" 
    GridLines="None" 
    AutoGenerateColumns="False" 
    AllowPaging="False" 
    AllowMultiRowSelection="true" 
    AllowSorting="True">  
    <MasterTableView   
            CommandItemDisplay="Bottom" 
            AllowPaging="false" 
            DataKeyNames="ObjectId">  
        <NoRecordsTemplate> 
            <div>There are no accounts to display</div> 
        </NoRecordsTemplate> 
        <CommandItemTemplate />   
        <RowIndicatorColumn> 
            <HeaderStyle Width="20px"></HeaderStyle> 
        </RowIndicatorColumn> 
        <ExpandCollapseColumn> 
            <HeaderStyle Width="20px"></HeaderStyle> 
        </ExpandCollapseColumn> 
        <Columns> 
            <telerik:GridTemplateColumn SortExpression="AccountName" HeaderText="&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Account Name" UniqueName="AccountNameColumn">  
                <ItemTemplate> 
                    &#160;  
                    <asp:Image ID="TypeImg" ImageUrl="~/Images/50_ico.gif" runat="server" ImageAlign="AbsMiddle" /> 
                    &#160;  
                    <asp:Hyperlink runat="server" ID="NameLink" /> 
                </ItemTemplate> 
                <HeaderStyle Width="30%" /> 
            </telerik:GridTemplateColumn> 
            <telerik:GridBoundColumn DataField="FriendlyName" SortExpression="FriendlyName" HeaderText="Friendly Name" UniqueName="FriendlyNameColumn">  
                <HeaderStyle Width="30%" /> 
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="DateLastModified" SortExpression="DateLastModified" HeaderText="Date&#160;of&#160;Last&#160;Upload" UniqueName="LastModifiedColumn">  
                <HeaderStyle Wrap="false" /> 
                <ItemStyle Wrap="false" /> 
            </telerik:GridBoundColumn> 
            <telerik:GridNumericColumn DataField="ItemCount" HeaderText="Items" DataType="System.Int32" UniqueName="ItemCountColumn">  
                <HeaderStyle Wrap="false" Width="55px" HorizontalAlign="Center" /> 
                <ItemStyle Wrap="false" HorizontalAlign="Center" /> 
            </telerik:GridNumericColumn> 
            <telerik:GridButtonColumn ImageUrl="~/images/delete.gif" HeaderText="All:" CommandName="Delete" ConfirmText="Deactivate this Account?" ConfirmTitle="Deactivate Account" ConfirmDialogType="RadWindow" UniqueName="DeleteAccountColumn" ButtonType="ImageButton">  
                <HeaderStyle Wrap="false" HorizontalAlign="Right" Width="35px" /> 
                <ItemStyle HorizontalAlign="Center" /> 
            </telerik:GridButtonColumn> 
            <telerik:GridClientSelectColumn HeaderStyle-Width="20px" UniqueName="RevokeCheck"></telerik:GridClientSelectColumn> 
            <telerik:GridBoundColumn DataField="ObjectID" Display="False" UniqueName="IdColumn"></telerik:GridBoundColumn> 
        </Columns> 
        <SortExpressions> 
            <telerik:GridSortExpression FieldName="AccountName" SortOrder="Ascending" /> 
        </SortExpressions> 
        <CommandItemTemplate> 
            <div class="MoreRecordsContainer">  
                <asp:HyperLink ID="MoreRecords" runat="server" Text="More..." CssClass="MoreRecords" /> 
            </div> 
        </CommandItemTemplate> 
    </MasterTableView> 
    <ClientSettings Selecting-AllowRowSelect="true"></ClientSettings> 
</telerik:RadGrid> 
 public LPDataPageRequest DataPageRequest  
    {  
        get 
        {  
            RadGrid grid = AccountListRadGrid;  
            int currentPage = 0;  
            int pageSize = 15;  
            string property = string.Empty;  
            LPSortOrder sortOrder = LPSortOrder.Ascending;  
 
            if (grid.MasterTableView.SortExpressions != null && grid.MasterTableView.SortExpressions.Count > 0)  
            {  
                property = grid.MasterTableView.SortExpressions[0].FieldName;  
                sortOrder = grid.MasterTableView.SortExpressions[0].SortOrder == GridSortOrder.Ascending ? LPSortOrder.Ascending : LPSortOrder.Descending;  
            }  
 
            return new LPDataPageRequest(currentPage, pageSize, property, sortOrder);  
        }  
    } 
Yavor
Telerik team
 answered on 23 Jun 2009
1 answer
103 views
This may be a dumb question but when I go into the columns collection editor and set some columns up I do not see the names of the columns or anything useful in the column list on the left of the dialog I just see stuff like:

0 GridBoundColumn
1 GridBoundColumn
2 GridBoundColumn

Am I missing something? I had hoped I would see something more like:

0 CustomerID
1 CustomerName
2 ZIP

etc

I am setting the bindings manually rather than having them generated.

Mark
Princy
Top achievements
Rank 2
 answered on 23 Jun 2009
2 answers
133 views
From the Telerik Ajax documentation:

"There are some known issues when using both the manager and the panel in some complex applications - MasterPage or WebUserControls. However, note that a single RadAjaxManager (and no panels) in the master/main page could handle all the scenarios."

In the "My Portal" example there is a standard asp update panel being used (with triggers). 

In aspx:
            <asp:UpdatePanel runat="server" ID="UpdatePanel1">
            </asp:UpdatePanel>


In code-behind:

        private void CreateSaveStateTrigger(RadDock dock)
        {
            //Ensure that the RadDock control will initiate postback
            // when its position changes on the client or any of the commands is clicked.
            //Using the trigger we will "ajaxify" that postback.
            dock.AutoPostBack = true;
            dock.CommandsAutoPostBack = true;

            AsyncPostBackTrigger saveStateTrigger = new AsyncPostBackTrigger();
            saveStateTrigger.ControlID = dock.ID;
            saveStateTrigger.EventName = "DockPositionChanged";
            UpdatePanel1.Triggers.Add(saveStateTrigger);

            saveStateTrigger = new AsyncPostBackTrigger();
            saveStateTrigger.ControlID = dock.ID;
            saveStateTrigger.EventName = "Command";
            UpdatePanel1.Triggers.Add(saveStateTrigger);
        }


We are using a similar approach to this example in our code and I'm trying to switch to just using a Telerik Ajax Manager on master page and proxies as needed on regular pages/controls.

What would the changes to the above example be to get rid of the update panels / triggers?

Thanks.
apb
Top achievements
Rank 1
 answered on 23 Jun 2009
1 answer
139 views
Hi All,

I am using Radchar control (Q1 2009).

I want to add two series to char.
I am binding the chart with datatable rutime.
i want to show value in chart using grouping on any one datacolumn.
'when i set this property.(radchart1.DataGroupColumn ="datacolumn")
It is showing me the only one series data.
wnen i comment this propety it shows me chart with two series.
I want to set the  2 series chart with grouping on one or two column in chart?


Velin
Telerik team
 answered on 23 Jun 2009
1 answer
332 views

Hi Telerik..

In Grid i am doing Edit/Insert in InPlace and EditForms mode. I am able to disable the edit and delete buttons of currently edited row of grid..
But my requirement is that if any one row of grid is in edit/insert mode then all the Edit/Delete buttons of other row in grid should be disabled. i mean if i am editing a row then other's row edit/delete button should not work.
Please help me how to achieve this.
Thankyou in advance

Princy
Top achievements
Rank 2
 answered on 23 Jun 2009
2 answers
97 views
Hi,
         I'm using hierarchy radgrid in my application and I want the child items to be aligned with the parent columns, just like the way we see with self hierarchy grid. I have problem with alignment and is a major issue. I tried with table layouts, but in vain. Can somebody drop in any quick suggestion.

R/ Michael
Bottlerocket
Top achievements
Rank 1
 answered on 23 Jun 2009
3 answers
177 views
Hello,

We have a page with RadAjaxManager and RadComboBox on it.
When we fill the RadComboBox with normal amount of items (up to 300 items), the performance is good.
We need to fill the RadComboBox with more then 3000 items and then the performance is very slow.
When we remove the RadAjaxManager from the page, and the page works with regular postbacks, the page loading is quick even that 3000 items are filled into the RadCombobox.

Is there a known bug of RadAjaxManager when working with RadComboBox that filled with large amount of data?

Thanks,

Inbal
Paul
Telerik team
 answered on 23 Jun 2009
0 answers
135 views
hi
I am trying to create a RadMenu that looks like this demo:

(http://www.telerik.com/DEMOS/ASPNET/Prometheus/Menu/Examples/Functionality/Templates/DefaultCS.aspx).

This demo creates the items declaratively.  I need for them to come from the database.

Just like in the demo link above, I want the top level parent to be a simply menu item, but I want the child menu items to all use a template like in the demo but also populated from database .
the same message Posted on Jul 16, 2008 by Michael , but there's no answer, I hope to know if there's

thanks

Muhib
Muhib
Top achievements
Rank 1
 asked on 23 Jun 2009
2 answers
336 views
How do I sum only the columns that are in the grid after it has been filtered?  I can only seem to get the sum of all of the values for the column before it was filtered.

After the filter has been performed and the datasource set and the grid rebound, I have the followjng code which loops through the grid and sums the column.  But it always shows the sum of all rows from the original datasource and not the filtered rows:

 

For Each item As GridDataItem In rgT.MasterTableView.Items

 

lblAmt =

CType(item.FindControl("lblTransAmount"), Label)

 

 

Try

 

transTotal += System.Convert.ToDouble(Replace(lblAmt.Text,

"$", ""))

 

 

Catch ex As Exception

 

lblUpdMsg.Text =

"There was an error summing the transactions. " & ex.Message

 

 

Exit For

 

 

End Try

 

 

Next

 


Any help would be appreciated!
Thanks
Acadia
Top achievements
Rank 1
Iron
 answered on 23 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?