Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Need to Url property to javascript method, should i pass it as a string using container.dataitem

$
0
0

Hi,

I need to pass 2 parameter to javascript method

                            <input type="button" name="btnshare_" id="btnshare" value="Shared" onclick="IsdownloadAllowed(<%#((Dejavu.BL.clsDocuments)Container.DataItem).DocID%>,<%#((Dejavu.BL.clsDocuments)Container.DataItem).documenturl%>);" />

In this "Dejavu.BL.clsDocuments)Container.DataItem).documenturl%>);"

its url like http://vmpc-12/DejvuDocDepart/06-11-18%2011-27-25-QOT-101142.pdf

need to pass to this method IsdownloadAllowed(val_1,url)

how can I pass this url to my mehod, the way I was passing its not firing click event because of url .

I think I need to pass it as a string....

Kindly help..

thanks


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>