How Do You Load a HTML File to a MVC View Page Help Dialogue?

How do you load an HTML file from a shared file directory to a MVC View Page help page?

Thanks,

Dan
danielolorenzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
What do you mean by "help page"? Is this something specific to ASP.NET MVC, or are you using the term generically to refer to a view?
0
danielolorenzAuthor Commented:
I am using a JQuery popup to display the Help Content.

Example:
$('#gun-permit-search-help').popover({
    html: true,
    content: '<h4>Gun Permit Search Main Help</h4>',
    title: 'Help <button id="gun-permit-help-close" type="button" class="close help-close-btn" aria-hidden="true">&times;</button>',
    placement: 'bottom',
    trigger: 'click'
});

Open in new window

0
danielolorenzAuthor Commented:
I want to load a HTML into a HTML div tag within the popup?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

danielolorenzAuthor Commented:
The HTML Help needs to be loaded into a div tag from a HTML file on my C: drive.
0
käµfm³d 👽Commented:
...on my C: drive.
C: drive on the client or server?
0
danielolorenzAuthor Commented:
On the client drive.
0
käµfm³d 👽Commented:
You cannot programmatically access a user's local drive without their own intervention. This comes in the form of a file dialog that you can show (programmatically) using an <input type="file" />. This is a security feature of browsers, and none allow you to override it. The only other recourse that I can think of would be to either write an Active X control or a Flash/Silverlight script that would give you more access to the user's local machine--not something that most people take lightly. HTML alone won't give you this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.