Santosh Kumar

Santosh Kumar

  • NA
  • 126
  • 60.3k

How to remove whitespaces inside Place Holder

Jun 12 2013 2:57 AM
Hi,
There are white spaces which are creating inside of the placeholder.
Please Any one can tell me how to remove them.
I am using the following code but it showing some error like DataItem doesnot find in place holder


<asp:PlaceHolder runat="server" Id="div place holder"Visible='<%# ((string)Container.DataItem).Trim().Length > 0 %>'>

Answers (1)