Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am able create a responsive gridview in single aspx page , but not able to do the same when using content page .

below is the java function and reference link

XML
<script type="text/javascript" src="js/jquery.min.js"></script>

  <script type="javascript" src="js/footable.min.js"></script>
    <script type="text/javascript"> 
$(function () {
$('#GridView1').footable();});
 </script>
Posted
Updated 18-Mar-15 8:23am
v4
Comments
ZurdoDev 18-Mar-15 12:35pm    
What is your question?
Member 4772857 18-Mar-15 12:52pm    
My question is , when i am using the above code in content page by adding reference in the master page its not working.

1 solution

If you have your Control on
Content Place holder<br />
then,
JavaScript
$(function () {
$('#<%=GridView1.ClientID%>').footable();
});
 
Share this answer
 
v2
Comments
Member 4772857 19-Mar-15 12:34pm    
Thank you very much it has solved my problem...
King Fisher 19-Mar-15 12:37pm    
Welcome ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900