Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8556727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:25:10+00:00 2026-06-11T15:25:10+00:00

<tr runat=server > <th><%= Resources.bicweb_resources.BORDER_STYLE %></th> <td> <asp:DropDownList runat=server id = borderContent class =

  • 0
 <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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:25:12+00:00Added an answer on June 11, 2026 at 3:25 pm

    Your codeblocks are wrong for the resource file.

    Your code block:

     <%= Resources.bicweb_resouces.TRUE %>
    

    What it should be:

     <%$ Resources: bicweb_resources, TRUE %>
    

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<asp:DropDownList id=Code1 runat=server OnLoad=GetCode1 ValidationGroup=ValidateGroup/> <asp:RequiredFieldValidator ID=Code1_RequiredValidator runat=server ErrorMessage=Please select a value! ControlToValidate=Code1 ValidationGroup=ValidateGroup
<div ID=btnWebL runat=server class=left_selected></div> <asp:LinkButton ID=btnWeb runat=server CssClass=center_selected OnClick=btnWeb_Click Text=<%$ Resources:ViaMura.Web.Default, WebSearchButtonText %>></asp:LinkButton> <div
<ReportExport ID=export1 runat=server AlertNoTests=false PDFPageOrientation=Portrait HideExcel=true OnPDFClicked=CreatePDF AllowPDFOptions=true HideBulkPDFOptions=false HideOrientation=true HidePaperSize=true MaxReportsAtOnce=250 HideTextExport=true />
The Literal control works all the time <asp:Literal ID=Literal7 runat=server Text=<%$ Resources:ErrorMessages, errorCompanyNotFound %>
I have an asp:literal: <asp:Literal id=language OnClick=changeLangauge Text=<%$ Resources:Translate, switchLanguage %> runat=server/> When it
In my master page i've a textbox. <asp:TextBox ID=SearchTextBox runat=server class=searchtxtbox onfocus=HideSearchWaterMark(); Text=Search onblur=ShowSearchWaterMark(this);
In my ASPX page I've this: <h3> <asp:HyperLink runat=server NavigateUrl=<%$ Resources:Path, Article%> Text='<%# Eval(title)
in aspx file I have <asp:DropDownList ID=DropDownList1 runat=server > </asp:DropDownList> <asp:DropDownList ID=DropDownList2 runat=server> </asp:DropDownList>
I'm using explicit localization in my pages, like in: <asp:Literal ID=appTitle runat=server Text=<%$ Resources:TranslationResource,
So I've got this button: <asp:Button runat=server ID=btnSubmit meta:resourcekey=btnSubmit CausesValidation=true OnClick=btnSubmit_Click /> meta:resourcekey is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.