I have the following table which contains data that will used to guide users
ID
|
Heading
|
Title
|
Body
|
1
|
General Information
|
How our services work
|
We offer a wide range of free services
|
2
|
General Information
|
Integrating our workflow into your system
|
Click on the button in developer page to add
|
3
|
General Information
|
Upgrading to a more secured platform
|
Use the upgrade option to move to another level
|
4
|
Getting Started
|
How to activate your account
|
Check message in your inbox to activate account
|
5
|
Getting Started
|
I don’t have a valid identification
|
A valid Identification is required
|
I have 3 pages (guide.aspx, article.aspx and articlebody.aspx).
In guide.aspx, I have 2 link buttons
- GENERAL INFORMATION
- GETTING STARTED
If a user click on any of the link buttons for example GENERAL INFORMATION, the user will be redirected to article.aspx and the value of the link button which is General Information will be passed and display in a label inside article.aspx.
In artcle.aspx, the Title relating to “general Information” in the database will be displayed. For example when GENERAL INFORMATION is displayed on the label, the Titles that will display will be only those that has heading as GENERAL INFORMATION, which is based on the value of that label.
It will look like this in article.aspx:
GENERAL INFORMATION
- How our services work
- Integrating our workflow into your system
- Upgrading to a more secured platform
From the above, it is only the Title relating to GENERAL INFORMATION that is displayed.
The above Titles will be displayed in Hyperlink inside repeater control, so that when user clicks on any Title, it will redirect to articlebody.aspx where the body of the article will be displayed.
For example, if user clicks on “How our services work”, it will redirect to articlebody.aspx and display the body of the article like this:
- GENERAL INFORMATION
- How our services work
We offer a wide range of free services