How to hidden field value access in next page

Posted by Shail under ASP.NET on 6/10/2014 | Points: 10 | Views : 750 | Status : [Member] | Replies : 2
<asp:HiddenField ID="hid" runat="server" Value='<%#Eval("sid") %>' /> default.aspx
how to access sid in default2.aspx

plz help me urgent
thanks




Responses

Posted by: Gsm_Gsv on: 6/10/2014 [Member] Starter | Points: 25

Up
0
Down
Hi,

Check this...

http://codingboys.blogspot.in/2012/11/how-to-get-previous-page-value-in-aspnet.html

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Shail, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shail on: 6/10/2014 [Member] Starter | Points: 25

Up
0
Down
<asp:DataList ID="dlt" runat="server" Width="100%" RepeatColumns="3" RepeatDirection="Horizontal" >

<ItemTemplate>
<asp:HiddenField ID="hid1" runat="server" Value='<%#Eval("SItem_Id") %>' />
<div class="product-grids">
<!--- start-rate---->

<!---//End-rate---->
<!---caption-script---->
<!---//caption-script---->
<div onclick="location.href='Product-Details.aspx?id=<%#Eval("P_Id") %>';" class="product-grid fade" style="width:100%">
<div class="product-grid-head">
<ul class="grid-social">
<li><a class="facebook" href="#"><span> </span></a></li>
<li><a class="twitter" href="#"><span> </span></a></li>
<li><a class="googlep" href="#"><span> </span></a></li>
<div class="clear"> </div>
</ul>
<div class="block">
<div class="starbox small ghosting"> </div> <span> (46)</span>
</div>
</div>
<div class="product-pic">
<a href="Product-Details.aspx?id=<%#Eval("P_Id") %>""><img src='<%# "./Admin/P_T1Image/"+Eval("P_T1Image") %>' title="product-name" /></a>
<p>
<a href="Product-Details.aspx?id=<%#Eval("P_Id") %>""><small><%#Eval("P_Name") %></small> </a>
<span></span>
</p>
</div>
<div class="product-info" style="width:100%">
<div class="product-info-cust">
<a href="Product-Details.aspx?id=<%#Eval("P_Id") %>"">Details</a>
</div>
<div class="product-info-price">
<a href="Product-Details.aspx?id=<%#Eval("P_Id") %>"">INR <%#Eval("P_Price")%></a>
</div>
<div class="clear"> </div>
</div>
<div class="more-product-info">
<span> </span>
</div>
</div>

<div class="clear"> </div>
</div>
</ItemTemplate>
</asp:DataList>

how can find datalist hiddenfield value in next page

Shail, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response