K Feening
asked on
How to Transfer data form page_load to aspx form <li><a href="??">??</a></li>
HI
using aspx vb.net
Currently i am transfering data from a login form to a menu form using
postbackURL this data contains the web site and description for the users company
(there will be multiple companies using this). I would like to populate the info-box with the information stored in CompanyWebSite and CompanyDescription shown below with the information, how do I proceed
I could also use to pass the data Session("CompanyDescription") and Session("CompanyWebSite") depending on what you recommend
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim CompanyWebSite As String = Request.Form("tbCompanyWebSite")
Dim CompanyDescription as String = Request.form("tbCompanyDesxcription)
end sub
<div id="info-box">
<div id="logo-container">
<a>
<img id="image1" src="../images/CompanyLogo.png" alt="" /></a>
<asp:Button ID="bClose" class="bclose" runat="server" Style="z-index: 1; left: 56px; top: 400px; position: absolute; width: 180px" Text="Close" Visible="False" />
</div>
<ul>
<li><a style="color: Yellow; font-size: 30px">Maintenance Menu</a></li>
<li><a target="_blank" href=$CompanyWebSite>$CompanyDescription</a></li>
</ul>
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.