SelectMethod="GetProviderNames" ViewStateMode="Disabled">
title="Log in using your <%#: Item.ProviderDisplayName %> account.">
<%#: Item.ProviderDisplayName %>
There are no external authentication services configured. See this article for details on setting up this ASP.NET application to support logging in via external services.
Here is an example of the javascript:
function login() {}
This is probably a dumb question but how would I call the javascript function when one of the listview buttons are clicked?
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sunny SharmaPosted Jun 1, 2013, 8:08 AM
use this code inside your button_Click event:
ScriptManager.RegisterClientScriptBlock(Button1, typeof(Button), "messageBlock", "login();", true);
Hope this helps :)
Thanks.