Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How to call Javasrcipt fuction in label tag with paramaters
Nilesh Patil
Nov 17 2017 3:42 AM
148
Reply
Hi,
All I want to call javascript function with parameters in label tag
I tried this but its not work
<asp:Label ID="lbldata" runat="server" class='btn btn-primary' Text='<%# Eval("Row#") %>' onclick="fnShow(PropertyDetailsId )" />
And this is my Javascript fuction
<script>
function fnShow(PropertyDetailsId) {
ifrm_RentPrint.src = "/WebForms/Filteration/OwnerPrintForm.aspx?PropertyDetailsId=" + PropertyDetailsId;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to assign string value to repeater label
show progress bar while downloading pdf from FTP on web appl