Home › Forums › QuickApps Forum › JavaScript to be triggered when user click on custom action button
- This topic is empty.
- AuthorPosts
-
- 05/02/2012 at 9:11 am #5291
AnonymousParticipantHi Kishore,
You can add your js on the page (using a content editor or SharePoint designer) and on your custom action of type "Custom" (check our sample project that we ship with the product and the documentation for more details) you can try to access your js code.
If you can use C# code instead of js it will work for sure.
PS
What do you want to do using js?
- 05/02/2012 at 10:05 am #6207
AnonymousParticipantThank you .
- 05/02/2012 at 12:11 pm #6208
AnonymousParticipantHi ,
for displaying some alerts.
- 05/02/2012 at 12:25 pm #6209
AnonymousParticipantYou can do the same from C# custom actions. Also, From Component Behavior can help you to validate your form and display proper messages to the users.
Also before you start executing a custom action you can ask for confirmation (check the docs for more details).
- 05/02/2012 at 12:59 pm #4343
AnonymousParticipantHi,
Could you please let me know if there is a possibility of adding a Javascript to CustomAction which is added in QlistView Quest webpart.
I have added a custom action button called NewActionItem if i want to have some script to be triggered where can i add the script.
Is there a possibility of having js file reference in Quest Web part.
Thanks
Kishore
- 05/02/2012 at 12:59 pm #6210
AnonymousParticipanthi ,
It's working great. You are helping me so much.
Thank you
—Bab
-
- AuthorPosts
You must be logged in to reply to this topic.