Author: deepakd | Posted on: 1/12/2010 7:06:21 AM | Views : 449

Hi Folks,
I want to create dynamic link buttons in the asp.net code based on who logged in. For e.g. if the salespesron logged in , he should see "Customer List" and "Item Search" as menu options.
If customer logged in , it should be able to see "Customer Details" and "Item Search" as menu options.
I'm not sure how to create this dynamically in html code.
I try to serach and found the code below on this forum but it doesn't appears to create any dynamic button menu.
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="ItemSearch.aspx.vb" Inherits="ItemSearch" %>
<script runat="server">
 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim lb As New LinkButton()
Go to the complete details ...