[CLOSED] Server tag is not correctly formatted

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Server tag is not correctly formatted

    Server tag is not correctly formatted:
     <ext:Label ID="Label" Text="<%# GetText("Hello World") %>" runat="server"></ext:Label>
    
    public string GetText(string value)
    {
          return value;
    }
    Using the quotes does not give syntax error but does not work:

     <ext:Label ID="Label" Text='<%# GetText("Hello World") %>' runat="server"></ext:Label>
    
    public string GetText(string value)
    {
          return value;
    }
    Last edited by Daniil; Nov 01, 2010 at 7:30 PM. Reason: [CLOSED]

Similar Threads

  1. Cant use Inline Server Tags in server markup
    By tuananhdnx in forum 1.x Help
    Replies: 1
    Last Post: Dec 04, 2011, 11:20 PM
  2. Replies: 2
    Last Post: Oct 05, 2010, 10:29 AM
  3. [CLOSED] Date Value is not getting formatted during Edit mode in Grid Panel
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 11, 2010, 7:41 PM
  4. Replies: 3
    Last Post: May 11, 2010, 4:47 AM
  5. [CLOSED] Page not displayed correctly
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 16, 2009, 6:00 AM

Posting Permissions