1
Answer

calendar not display when i comment gridview code

scropio gurl

scropio gurl

8y
353
1
I have this input from date calendar

  1. <input  ID="fromdate" value="dd/mm/yyyy" runat="server" clientidmode="static" />  
 and i use these links for poplulating calednar 
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script>
now i use gridview desing with the refrence of this
http://gridviewscroll.aspcity.idv.tw/Demo.aspx
and from this i use this
  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>   
  2. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>   
  3. <script type="text/javascript" src="../Scripts/gridviewScroll.min.js"></script>   
  4. <script type="text/javascript">   
  5.     $(document).ready(function () {   
  6.         gridviewScroll();   
  7.     });   
  8.    
  9.     function gridviewScroll() {   
  10.         $('#<%=GridView1.ClientID%>').gridviewScroll({   
  11.             width: 660,   
  12.             height: 200   
  13.         });   
  14.     }   
  15. </script>  
 so when i use both then calendar not populate but when i comment this section  then calendar is populate
  1. <script type="text/javascript">     
  2.     $(document).ready(function () {     
  3.         gridviewScroll();     
  4.     });     
  5.      
  6.     function gridviewScroll() {     
  7.         $('#<%=GridView1.ClientID%>').gridviewScroll({     
  8.             width: 660,     
  9.             height: 200     
  10.         });     
  11.     }     
  12. </script>    
  how i solve this

Answers (1)