troubleshooting Question

How to Transfer data form page_load to aspx form <li><a href="??">??</a></li>

Avatar of K Feening
K FeeningFlag for Australia asked on
ASP.NETVisual Basic.NET
1 Comment1 Solution5 ViewsLast Modified:

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


ASKER CERTIFIED SOLUTION
David H.H.Lee
Digital Marketing (Hospitality)
Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 1 Comment.
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>

Mike

Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 1 Comment.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004