Problem with FindControl... RRS feed

  • General discussion

  • I am using FindControl to display a Header above a grid control.  It displays the data but truncates the length of the heading.  It seems that there is a length limitation involved here.  Is there a property for FindControl  to set the length of the item displayed? Below is the routine used to display the line and you can see the Heading line was truncated to a second heading line:

    Me.FindControl("grid").DisplayName = "PROJECT: "& "Fuel Pump"& " - "& "MILESTONE: "& "Prepare Design Views for machining."

    Edward Piccoli

    • Changed type Angie Xu Friday, February 7, 2014 8:21 AM
    Tuesday, January 28, 2014 3:42 PM

All replies

  • Hi,

    Your "Findcontrol" works in the regular LS grid with no truncate.

    Are you using a CustomControl or a extension?



    Sven Elm

    Tuesday, January 28, 2014 4:07 PM
  • Thanks for your reply.  Yes, I am using a very nice, new "Gantt Chart" Extension.  It mat be due to that.  Is there a workaround or Silverlight area I can look at to make this work?

    Thanks, Ed

    Edward Piccoli

    Tuesday, January 28, 2014 7:25 PM
  • If it is an extension there must be some referenced files you can include in your Code behind page and then reference. Maby you should ask the developer or check the documentation. Regards Sven

    Sven Elm

    Tuesday, January 28, 2014 7:33 PM