Avatar of K Feening
K FeeningFlag for Australia

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

Open in new window


<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" />
            &nbsp;&nbsp;
        </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>

Open in new window


ASP.NETVisual Basic.NET

Avatar of undefined
Last Comment
David H.H.Lee
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo