Asp.net - implementing Help window - asp.net

I am working in ASP.Net Web Application. In my application , i have model dialogs opened. After opening model dialog , if i press F1 using keyboard , which should open .htm help files.
In windows application . i have help provider control. But i could not able to find anything here.
Kindly help me in this.

the basic is get the key press in java script , match the key then using jquery (my personal perf) open the link of the page.
and other thing
how are you opening modal dialogs, like using thick box or other java script based plugins or using ajax control toolkit?

Related

identify button is not visible while spying objects in blue prism

While spying objects in blueprism using application modeller, i am not able to see identify button, instead just seeing only launch option.
It's because the application that you are tring to spy on, isn't launched.
You need to launch it first(from BP)and then Blue Prism alow you to spy on it. If you open aplication "on your own" BP wont see it.
In Win 10, some applications like calculator cannot be spyed as in Win 7.
In order to get identify button you need to do belows:
Launch the application in an object using Navigate stage.
For example, you can create an object with the name "Launch".
Attach the application. You need to create another object using Navigate stage with the name "Attach".
Then you need to use Page stage referencing "Attach" page after Launch stage.
When you complete above, please run it and then, click on the Application Modeler. You can be able to use Identify button at that time.
My blue prism object screen
Kindly reconfigure the application in application modeller, while doing so, give attention to the options you select in application modeller. Setting the correct options like web based or windows based application the problem will be resolved.
Can be two reasons:
Either your application is not launched properly.
Sometimes we face problems with some versions of applications.
The best way to fix your problem is
Edit your settings remove the application path from the navigate stage.
Launch the application separately
Open Navigate stage > Action > Attach
Provide the window title within quotes (example: "Calculator")
Click OK then run the object
Now if you go to application modeller
You will be able to see the identify button under the element.
Hope this will help you.
"Microsoft.WindowsCalculator" use in the application executable path in application modeller.put Microsoft.WindowsCalculator in between < >

How to insert activex in asp.net user control (ascx)

I have a newbye question about integration betweek ASP.NET (an ASCX controller) and ActiveX. I'm trying to insert SignDoc activeX in my application.
This component has a couple of dll but I cannot figure out how to insert it inside my control.
I'm using visual studio 2008 and the control is installed in a Sharepoint 2007 farm.
Thank you for any suggestion
First, It does not matter that you host in MOSS. It is an ActiveX and it will run on the client side browser. So, as long as it has no server side part or connection, you can start testing that inside a plain asp.net page. A bad side effect is that you need to register it on every client machine either manually or include it inside a CAB file with your asp.net page
Second,
You component has 2 dlls. You need to register them using regsvr32 tool.
I am not sure if every dll has a COM object inside or only one has the COM and the other is helper. So, you probably need to type the following 2 lines in command prompt:
regsvr32 -i "full path to dll1"
regsvr32 -i "full path to dll2"
If one of the above commands fails no problem, but at least one should succeed
The final step is the easiest, open a blank asp.net page in VS and expand the toolbox, and right click inside empty area of the toolbox and select "Choose Items", then add your ActiveX to the toolbox, then you can simply drag it to the page. If you switch to the source view of the page you will find the object tag.
Edit: In Windows 7 you most run the console as admin in order to execute successfully the regsvr32 command.
ActiveX are included in page using the object tag and the corresponding class id.
Read more about here: http://msdn.microsoft.com/en-us/library/ms970419.aspx

Open popup window on calling action

I just started working on alfresco v 3.4. I have created document library action from the tutorials provided on alfresco site. Anybody tell me how to open a popup box on hitting action with some data inside it. Please guys, I am in big trouble !!!
Thanks in advance.
For Alfresco Share you have to use client side javascript. You can use Alfresco's built in functions (Alfresco.module.SimpleDialog) or just include your javascript library of choice and implement it using that.
If you'll use Alfresco's implementation (YUI) thenLook at this file:
YOUR_INTALLATION/tomcat/webapps/share/components/documentlibrary/action.js
And search for:
Alfresco.module.SimpleDialog
And don't forget to include/import your own client side files in your webscript. For this look at:
http://wiki.alfresco.com/wiki/3.0_Component_Standards

How to integrate website with client-side application?

I want to develop a webapp using ASP.NET but it have to use some client-side functionality provided by desktop application also developed by me.
Existing example: in Picasa Web Album you can click a link called "Download to Picasa" which opens Picasa desktop application and downloads album.
I suppose it require different approaches on different platforms. What are the possibilities to make it work on both Windows and Mac OS X?
Register a custom URL Protocol Handler. Look here: https://stackoverflow.com/a/2429803/449906
I don't know Picasa in detail, but your case sounds like, you start a download by clicking the link "download to picasa". This download will start a link like this:
picasa:///downloadfeed/?uname=ASDFASDFASDF .....
According to your OS any protocol may be associated with a different external program. For information on this you may have a look at the mozilla board .
REGEDIT4
[HKEY_CLASSES_ROOT\foo]
#="URL:foo Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\foo\shell]
[HKEY_CLASSES_ROOT\foo\shell\open]
[HKEY_CLASSES_ROOT\foo\shell\open\command]
#="\"C:\\Program Files\\Application\\program.exe\" \"%1\""
If you start such a link, your external programm will start and do what ever you want.
hth

how to code asp.net (.aspx) to show ballon on system tray

I created a page named discussion_monitoring.aspx for fraud monitoring, impolite wording monitor. When detected, I just want to show balloon on system tray. but I haven't found that code to show balloon on taskbar system tray. Most example code I found is on Windows forms, not webform.
Environment: ASP.Net 2.0, Windows XP.
You want to show a balloon in the user's system tray? You can't do it. A web page doesn't have the level of desktop access (shy of an ActiveX control) necessary to make changes like that.
The closest you can hope to achieve is some kind of notification on the web page itself.
If you want the balloon to appear on the server's desktop, you should be able to use the same code that you've seen in a WinForms context. Just import the appropriate WinForms assemblies (System.Windows.Forms, probably System.Drawing), and you're good to go.
Note that it can get hairy, triggering GUI activity on your server from a webapp. You don't want to do things like open a dialog and wait for a response you're never going to get, for instance.
As "Michael Petrotta" said, you can't... But here is the Javascript for showing baloon in the page: http://mckay.cshl.edu/balloons.html

Resources