Hai
I am developing an website application which has menu and sub-menus (Asp.net)
Each user has its own set of menus (main menu and sub-menus are link button)
How can i display a menu based on their selected choice in javascript
If he click the link respective page will be shown by checking their identity
Example Admin
User [Main menu]
1.Add user
2.View User
Clients
1.Add client
2.View client
Raja
For the above user he has view view client only.
Clients
view Client
ISVC=true/False for checking their choice from db
Lbvc=Name of the id of that control in asp.net
If (IsVc=true)
{
LBVc= true;
}
else
{
Viewclient(Main menu).visible=false //Since only one is available for raja so disabling that menu(linkbutton control ) itself
}
I got details from sql db
Output
Home
Client
Submenu
View client
Regards