Hi
How to open help file from Asp.net when click F2 or asp button click event with specific topic or content.
In windows application got HelpProvider F1 control and using this code can open specific topic or specific content of the help.
Dim hlpProvider As HelpProvider
hlpProvider = New System.Windows.Forms.HelpProvider()
hlpProvider.HelpNamespace = "helpFile.chm"
hlpProvider.SetHelpNavigator(TextBox1, HelpNavigator.TableOfContents)
But how open .chm file with specific topic and without download option from browser or any other way to open help file which in different format, other than .chm file.
What I have tried:
I am try to open in this way,but it download and if open ,it open 1st topic always.This is my code in client side.
document.onkeyup = KeyCheck;
function KeyCheck(e) {
var KeyID = (window.event) ? event.keyCode : e.keyCode;
if (KeyID == 113) {
window.open("help/Test.chm", "_self");
}
}
And in server side i try with this code,nothing happen
Dim p As New Process()
p.StartInfo.FileName = "ms-its:file:///" + System.Web.HttpContext.Current.Server.MapPath("Test.chm") +
p.Start()