last day (16 days later) » 
06:00 - 10:0010:00 - 11:00

10:05 AM
are you there
 
yes
was going through few docs
code should be same in both cases
could you send me the html file generated
 
there is not hml there is webform1.aspx
 
once you click the search button
yeah but it will generate html
press ctrl+U
to see the source
 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="https://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/highcharts-3d.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/modules/exporting.js"></script>

<div class="rightdiv">

<input type="text" class="search" />
<input type="button" class="button" value="Search"/>
<hr />

<hr /><br />
 
is the grid view commented out ??
 
10:12 AM
yes i use <div id="GridView1"></div>
when i use this grid is succesfuuly display
but i want to use asp gridview
 
remove <div id="GridView1">
 
ok then
 
and un-comment the asp grid view
 
done
then
 
now in your page
press ctrl+u
to see the source
 
10:14 AM
yes
then
 
you have gridview in the source ?
 
no\
then
Thanku for help
 
trying something
not sure it will work
bur may be gridview bind with exact name
 
10:31 AM
hm ok anyways
thanku for so much help
 
could you try this
var list = [];

for (var i = 0; i < final.length; i++) {

if(final[i] !== null)
{
console.log(final[i]);
var obj = {};
obj.ID = final[i][0];
obj.OwnerName = final[i][1];
obj.RegNo = final[i][2];
obj.MileageAccumlation = final[i][3];
obj.MaxSpeed = final[i][4];
list.push(obj);
}
}

for (var k = 0; k < list.length; k++) {

$("#GridView1").append("<tr><td>" +
list[k].ID + "</td> <td>" +
list[k].OwnerName + "</td> <td>" +
list[k].RegNo + "</td> <td>" +
list[k].MileageAccumlation + "</td> <td>" +
list[k].MaxSpeed + "</td></tr>");
put the above code right after $("#GridView1").empty();
 
06:00 - 10:0010:00 - 11:00

  last day (16 days later) »