How to Pass Parameter to javascript from asp.net code behind page
In Your design Page
do like
<script type="text/javascript">
var Id = '<%= ID %>';
//logic goes here
</script>
In Your code behind page
public string ID
{ get { return Parametervalue} }
//Pass Parameter value here
string Parametervalue="";
In Your design Page
do like
<script type="text/javascript">
var Id = '<%= ID %>';
//logic goes here
</script>
In Your code behind page
public string ID
{ get { return Parametervalue} }
//Pass Parameter value here
string Parametervalue="";
No comments:
Post a Comment