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

  • SEARCH
  • Home
  • 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 8308361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:47:15+00:00 2026-06-08T18:47:15+00:00

I have this table with which I create dynamic checkboxes (the number of records

  • 0

I have this table with which I create dynamic checkboxes (the number of records may/will vary) the idea is that I can select a checkbox on whatever table row and “Send” those records.

I want to send an array of ID’s off to a different page for processing – but i’m very stuck!

Here is my table/form code

<form action="processingpage.aspx" method="post">
  <asp:Repeater ID="GroupList" runat="server">
    <HeaderTemplate>
       <table id="grouptable" class="table"> 
         <thead>
            <tr>
              <th>Broadcast</th>
              <th>ID</th>
              <th>Name</th>
              <th>Last Modified</th>
              <th>Actions</th>
            </tr>
        </thead>
      <tbody>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
          <td>
            <input type="checkbox" name="BroadcastSelect[]" value="<%# Eval("Group_ID") %>"</input></td>
          <td><%# Eval("Group_ID") %></td>
          <td><%# Eval("DESC") %></td>
          <td><label id="test">hello</label></td>
          <td><a class="btn btn-info" href="<%# Eval("gURL") %>">Edit</a>/td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
         </tbody>
       </table>
    </FooterTemplate>
  </asp:Repeater>
  <input class="btn primary" type="submit" value="Broadcast"/>
</form>

I think this is sending the array ok as I managed to see this via Request.in

BroadcastSelect[]TESTGROUP (which is one of the items I sent)

but on my receiving page I’m getting nothing but blank text I’ve tried

Label1.Text = Page.Request.Form["BroadcastSelect[0]"];

and

Label1.Text = Page.Request.QueryString["BroadcastSelect[0]"];

but no values are printed. Can anyone point me in the right direction?

  • 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-08T18:47:17+00:00Added an answer on June 8, 2026 at 6:47 pm

    I think the problem is that it is not possible to index the <input name="BroadcastSelect[]"> through Request.Form or Request.QueryString.

    If you breakpoint in the code, you will see that the Request.Form object will have Request.Form["BroadcastSelect[]"] as one of the available items, which will return a CSV list of values.

    So try using this instead…

    string broadcastSelect = Request.Form["BroadcastSelect[]"];
    if (broadcastSelect != null)
    {
       string[] broadcastSelectParts = broadcastSelect.Split(',');
       Label1.Text = broadcastSelectParts[0];
    }
    

    Obviously the code in the block can also be brought down to a single line, but if you want something other than the 1st item, check that you’re not selected an “out of bound” index…

    Label1.Text = broadcastSelect.Split(',')[0];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a product table which simplifies to this: create table product(id int primary
I have this table, which can be seen as a basic custom gantt chart:
I have create a js file in which i am creating the dynamic table
I'm looking to create a view of a table which will highlight data that
I have this JSF table which is used to display data. I want to
I have this mysql table called comments which looks like this: commentID parentID type
I have a table which have schema like this id name 1 jack 2
I have a table which looks like this: mysql> SHOW COLUMNS FROM Users; +------------+--------------+------+-----+---------+----------------+
i have a table which looks similar to this <asp:TableRow><asp:TableCell>Question 1</asp:TableCell><asp:TableCell ID =Question1Text></asp:TableCell></asp:TableRow> <asp:TableRow><asp:TableCell
I have a table which looks like this: <table id='t'> <thead> .... </thead> <tbody

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.