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 6020227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:32:14+00:00 2026-05-23T03:32:14+00:00

i have a question: <div> Is hacking good?</div> <div> <asp:RadioButtonList ID=1question runat=server RepeatDirection=Horizontal> <asp:ListItem

  • 0

i have a question:

<div>
    Is hacking good?</div>
    <div>
        <asp:RadioButtonList ID="1question" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
            <asp:ListItem Text="No" Value="0"></asp:ListItem>
        </asp:RadioButtonList>
    </div>

I want to add dynamicly new question if Yes/No is selected.

if yes/no || 1/0 selected, i’m calling Method GetQuestion(int questionId)..
this method returns me a text of next question.
this question schould be created dynamicly (javascript) as next. how to create it dynamicly??

How can i do that?

  • 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-05-23T03:32:15+00:00Added an answer on May 23, 2026 at 3:32 am

    First the new question can be all ready there but hidden, or just create all on the fly.

    Let say that is there, but hidden.

    <asp:Panel id="pnlSecondQuestion" runat="server" Visible="false" 
                       EnableViewState="false">
        <div>Is hacking ethical?</div>
        <asp:RadioButtonList ID="SecondQuestion" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Text="Yes" Value="1"></asp:ListItem>
            <asp:ListItem Text="No" Value="0"></asp:ListItem>
        </asp:RadioButtonList>
    </asp:Panel>
    

    Now can be hidden of html part and open it with javascript, or totally hidden and open it with the code behind.

    • If you make it Visible="false" then on click of the first question you make autopostback, and you just open this one pnlSecondQuestion.Visible=true In this case to avoid the full page refresh you can use an UpdatePanel warp all your questions.
    • If you make it hidden with css style="display:none", then you make a javasript function that is make it visible when the user click on the first question onclick="return makeitvisible()"

    Now if you with to make the full question on the fly, then you use a PlaceHolder, and you dynamically create your question on code behind, but this is a little more dificult.

    Hope this help.

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

Sidebar

Related Questions

I have a question regarding how to get a div height. I'm aware of
Hey guys quick question. I have a div that gets assigned a number to
i have this: <div id=parent style=overflow:auto> ... <div id=test>Hello</div> ... </div> My question is:
I have a question about dialog here is the code: <a href=#lol data-rel=dialog>Filter</a> <div
I have a question. I use jquery superfish menu with the following structure <div
i have a question about asp : i have a list of ids that
I have a question. I have this code in the first page: <input type=text
I have a question div which looks like so: <div class=Q> <div id=Q1><span>1. </span>Which
I have a question. I need to remove a div on click in jQuery.
I have the following markup <div class=question> <h2>Title 1</h2> <div class=answer>content 1</div> </div> <div

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.