[CLOSED] Dynamic Panel Title

  1. #1

    [CLOSED] Dynamic Panel Title

    Hello,

    I am upgrading our application to the latest 1.4 version of ext.net and in which i am trying to add title to a panel dynamically and it doesn't seem to be working (it was working in the previous version).

    <ext:Panel ID="tabOrders" runat="server" Title="My Tasks" Layout="border" BodyStyle="background-color:#F0F0F0;">
    In the code behind i am doing

    tabOrders.Title = "TEST";

    This doesn't seem to be working.

    Please advice.
    Last edited by geoffrey.mcgill; Jun 23, 2012 at 7:46 AM. Reason: [CLOSED]
  2. #2
    I cannot reproduce it
    Here is my test case
    <%@ Page Language="C#" %>
    
    
    <%@ Register TagPrefix="ext" Namespace="Ext.Net" Assembly="Ext.Net" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    
    
    <script runat="server">
    
    
        protected void OnClick(object sender, DirectEventArgs e)
        {
            tabOrders.Title = "TEST";
        }
    </script>
    
    
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        <ext:Panel ID="tabOrders" runat="server" Title="My Tasks" BodyStyle="background-color:#F0F0F0;" />
        <ext:Button runat="server" Text="Click" OnDirectClick="OnClick" />
        </form>
    </body>
    </html>
  3. #3
    Hello Valdamir,

    Thanks for the quick response i was able to get this working too. Could have been cached when i sent that message earlier.


    Thanks,
    Sampath

Similar Threads

  1. Dynamic StartMenu Title
    By archana in forum 1.x Help
    Replies: 1
    Last Post: Dec 29, 2011, 2:31 PM
  2. Dynamic window title
    By phillipl in forum 1.x Help
    Replies: 3
    Last Post: Dec 16, 2009, 6:03 AM
  3. Replies: 5
    Last Post: Jun 19, 2009, 6:38 AM
  4. [CLOSED] Collapsed Panel Title
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2009, 1:03 PM
  5. setting dynamic Title to Tab panel
    By raks in forum 1.x Help
    Replies: 0
    Last Post: Feb 19, 2009, 9:04 AM

Tags for this Thread

Posting Permissions