set Title in Fieldset dynamically

  1. #1

    set Title in Fieldset dynamically

    Is there a way to set the Title in a fieldset dynamically? I am trying with no success...

    <ext:FieldSet ID="fsEmployee" runat="server" Title='<%# Eval("employeeName")%>'>
    James
  2. #2

    RE: set Title in Fieldset dynamically

    *Hi,

    In this case don't forget to call fsEmployee.DataBind(); from code-behind.


    fsEmployee.DataBind();





  3. #3

    RE: set Title in Fieldset dynamically

    I don't see DataBind as an option in the ext:Fieldset control
  4. #4

    RE: set Title in Fieldset dynamically

    *Hi,

    Every ASP.NET control has a DataBind Method


  5. #5

    RE: set Title in Fieldset dynamically

    I ended up using my database and setting the value with:
    fsEmployee.Title = dv[0]["EmployeeName"].ToString();

Similar Threads

  1. [CLOSED] Is there any way to "disable" the FieldSet title label?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 31, 2012, 8:47 PM
  2. [CLOSED] Any way to change the Fieldset Title font color?
    By garrisrd in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 28, 2011, 2:03 PM
  3. fieldset title
    By zhouguoguang in forum 1.x Help
    Replies: 0
    Last Post: Sep 30, 2010, 6:21 AM
  4. FieldSet title shifting when expanding/collapsing
    By dbassett74 in forum 1.x Help
    Replies: 0
    Last Post: May 28, 2009, 7:57 PM
  5. FieldSet title shifting when expanding/collapsing
    By dbassett74 in forum 1.x Help
    Replies: 4
    Last Post: May 06, 2009, 1:15 PM

Posting Permissions