I updated to the latest version of RadControls for ASP.NET AJAX (2008.2 1001 - Oct 1, 2008) and now the header (HeaderTemplate) row will no longer show for all my RadComboBox controls when I do some type of data binding in the HeaderTemplate. If there is no data binding it works. Something broke in this last version and the basic "<%" usage is no longer supported.
Not working HeaderTemplate:
Not working HeaderTemplate:
| <HeaderTemplate> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td style="width:90px; vertical-align:top; text-align:left;"><%= ((SessionState.Language == Natr.Classes.Language.Spanish) ? "No. de Stock" : "Stock Number")%></td> |
| <td style="width:320px; vertical-align:top; text-align:left;"><%= ((SessionState.Language == Natr.Classes.Language.Spanish) ? "Descripción" : "Product Name")%></td> |
| <td style="width:50px; vertical-align:top; text-align:left;"><%= ((SessionState.Language == Natr.Classes.Language.Spanish) ? "Costo" : "Price")%></td> |
| </tr> |
| </table> |
| </HeaderTemplate> |
Working HeaderTemplate:
| <HeaderTemplate> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td style="width:90px; vertical-align:top; text-align:left;">Stock Number</td> |
| <td style="width:320px; vertical-align:top; text-align:left;">Product Name</td> |
| <td style="width:50px; vertical-align:top; text-align:left;">Price</td> |
| </tr> |
| </table> |
| </HeaderTemplate> |