<tr runat="server" >
<th><%= Resources.bicweb_resources.BORDER_STYLE %></th>
<td>
<asp:DropDownList runat="server" id = "borderContent" class = "attribute" >
<asp:ListItem value = "NULL">
</asp:ListItem>
<asp:ListItem value = "0" >
<%= Resources.bicweb_resources.FALSE %>
</asp:ListItem>
<asp:ListItem value = "1">
<%= Resources.bicweb_resources.TRUE %>
</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
You can see that i set stuff inside an …
the ListItems are not runatserver, so i was thinking of a way to make it work to place 3 items into where they are suppose to be.
The error comes from trying to render a control which has a block inside to render at server time. Im trying to figure out if i should select the dropdownlist on serverside, and then iterate through the child controls or something.
Your codeblocks are wrong for the resource file.
Your code block:
What it should be:
Instead of nesting them in tags, you can also use the TEXT attribute of the control to populate the data.
Information from: http://msdn.microsoft.com/en-us/library/d5bd1tad(v=vs.100).aspx