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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:51:26+00:00 2026-06-09T18:51:26+00:00

<asp:DataList id=ItemsList BorderColor=black CellPadding=5 CellSpacing=5 RepeatDirection=Vertical RepeatLayout=Table RepeatColumns=3 runat=server> <ItemTemplate> <a href=# data-inline=true data-role=button

  • 0
<asp:DataList id="ItemsList"
      BorderColor="black"
      CellPadding="5"
      CellSpacing="5"
      RepeatDirection="Vertical"
      RepeatLayout="Table"
      RepeatColumns="3"
      runat="server">      

<ItemTemplate>

   <a href="#"  data-inline="true" data-role="button" 
        data-icon="star" data-iconpos="right">        
    <input type="text" id="txtTry" style="width: 20%" runat="server" 
        value="" data-mini="true"  
        <%# DataBinder.Eval(Container.DataItem, "StringValue") %>
   </a>
</ItemTemplate>

</asp:DataList>

how can I access the value of the text box of each button in the CS. How can I access it.This is not tough but I didn’t use it yet.

  • 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-09T18:51:27+00:00Added an answer on June 9, 2026 at 6:51 pm

    yes change the html to Asp.net text box. Then you can get via method mentioned by oleksii

    Even with input html text try the below sample It should normally be done with

    Request.Form["elementName"]
    

    For example, if you have

    <input type="text" name="try" /> then you can use Request.Form["try"] to access its value.

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

Sidebar

Related Questions

I have a DataList like so: <asp:DataList ID=dlMyList runat=server RepeatColumns=5 RepeatDirection=Horizontal CellSpacing=5 > <ItemTemplate>
I have a datalist <asp:DataList ID=dlstImage runat=server RepeatDirection=Horizontal RepeatColumns=5 CellSpacing=8> <ItemTemplate> <asp:ImageButton ID=Image runat=server
I have a datalist <asp:DataList ID=dlst1 runat=server RepeatDirection=Horizontal RepeatColumns=5 CellSpacing=8> <ItemTemplate> <asp:ImageButton ID=Image runat=server
<asp:DataList ID=ItemsList RepeatDirection=Vertical runat=server> <ItemTemplate> <asp:LinkButton ID=SecondLevelItem runat=server CommandName=second OnCommand=SecondLevelItem_Onclick CommandArgument=<%# Container.DataItem %> Text=<%#
here i need to replace content says... : <asp:DataList ID=dlProductReviews runat=server RepeatDirection=Vertical RepeatColumns=1> <ItemTemplate>
This is my datalist: <asp:DataList ID=DataList1 runat=server DataSourceID=SqlDataSource1 RepeatLayout=Flow> <ItemTemplate> <asp:Label ID=IdLabel runat=server Text='<%#
This my data list: <asp:DataList ID=DataList1 runat=server DataSourceID=SqlDataSource1 RepeatLayout=Flow> <ItemTemplate> Titre: <asp:Label ID=TitreLabel runat=server
i have a datalist in my aspx like this: <asp:DataList ID=dlSubs runat=server CellPadding=0 CellSpacing=5
I have a datalist like this: <asp:DataList ID=dl runat=server Width=301px onitemcommand=dl_ItemCommand> <ItemTemplate> <table style=border:solid
Here is my DataList: <asp:DataList id=DataList Visible=false RepeatDirection=Horizontal Width=100% HorizontalAlign=Justify RepeatLayout=Flow runat=server> [Contents Removed]

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.