Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1525: Invalid expression term 'if'

Source Error:


Line 261:                       <label>Map Location</label>            
Line 262:                   </a>
Line 263:                  <a class="inline-link-3" href="tel:<%# if (Eval("RestaurantID").ToString() == 1251){}else{( Helper.formatPhoneNumber(Eval("RestaurantPhone").ToString(),true) %>"><%# Helper.formatPhoneNumber(Eval("RestaurantPhone").ToString(),true) }%></a>
Line 264:                 
Line 265:                                      

Source File: c:\Data\LegacyWebsites\paparomanos.snappyeats.com\http\Locations.aspx    Line: 263







Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0