Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have 5 html files are there.Let say:
1.html,2.html,3.html,4.html,5.html

When i will click "My Virtual Desk" link button then the above .html file should load into div.The output should be:

Name of the Course: 1.html file's content

Course Objective: 2.html file's content

Structure: 3.html file's content

Target Audience: 4.html file's content

Course Completion Criteria: 5.html file's content



I have one .xml file there which contains these .html file's path.So,my question is
how to bind .xml file into Div such that when i will click to link buttton then all .html files should be loaded to it's corresponding places.I need it's solution with code project.
Posted
Comments
Venkatesh Mookkan 20-May-11 1:07am    
No effort!

1 solution

- Read the XML file
- Open the html files one by one and read the content
- Place the content in a server-side Panel.

Something like this,

Name of the Course: PANEL 1
Course Objective: PANEL 2
Structure: PANEL 3
Target Audience: PANEL 4
Course Completion Criteria: PANEL 5

Fill each panels with respective html file content.
 
Share this answer
 
Comments
a.santosh.mca@gmail.com 20-May-11 0:56am    
The xml file is a dynamic one means according to database content the xml file content also will change.Here i have number of courses and for each course the html pages different.How it is possible?I am anticipating source code.
Venkatesh Mookkan 20-May-11 1:02am    
You can load dynamic XML files in .NET without a problem.

If you are expecting source code, then you are at a wrong forum. We can give you an idea. Or fix your issue if you post the code.

Since you looking for code, I can get you the code if you willing pay :D
a.santosh.mca@gmail.com 20-May-11 1:13am    
Thank's

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900