B
Bryan
Has anyone else noticed this?
I have a Gridview on a page. On the ititial load of the page, the
HTML is generated as I would expect. For example:
<table class="RenewalTable" cellspacing="0" border="0"
id="ctl00_ApartmentPlaceHolder_gridRenewal" style="border-
collapse:collapse;">
<caption>
Renewal information for a given date range
</caption><thead>
<tr>
<th scope="col">Apt</th><th scope="col">Name</th>
</tr>
</thead><tbody>
<tr>
<td class="apt">14D</td><td class="name">
<a href='Applicants.aspx?id=2602'>Jana C. Krumholtz</a>
</td>
</tr>
After a postback, however, all of the Table Row (TR) and Table Data
(TD) elements have IDs added to them. For example:
<table id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl00"
class="RenewalTable" cellspacing="0" border="0"
id="ctl00_ApartmentPlaceHolder_gridRenewal" style="border-
collapse:collapse;">
<caption>
Renewal information for a given date range
</caption><thead>
<tr id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl01">
<th id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl01_ctl00"
scope="col">Apt</th><th
id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl01_ctl01"
scope="col">Name</th>
</tr>
</thead><tbody>
<tr id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl02">
<td id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl02_ctl00"
class="apt">14D</td><td
id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl02_ctl01" class="name">
<a href='Applicants.aspx?id=2602'>Jana C. Krumholtz</a>
</td>
</tr>
This is messing up the jQuery tablesorter. Any idea how I can stop
ASP.NET from adding in the ID's?
Thanks In Advance!
- Bryan
I have a Gridview on a page. On the ititial load of the page, the
HTML is generated as I would expect. For example:
<table class="RenewalTable" cellspacing="0" border="0"
id="ctl00_ApartmentPlaceHolder_gridRenewal" style="border-
collapse:collapse;">
<caption>
Renewal information for a given date range
</caption><thead>
<tr>
<th scope="col">Apt</th><th scope="col">Name</th>
</tr>
</thead><tbody>
<tr>
<td class="apt">14D</td><td class="name">
<a href='Applicants.aspx?id=2602'>Jana C. Krumholtz</a>
</td>
</tr>
After a postback, however, all of the Table Row (TR) and Table Data
(TD) elements have IDs added to them. For example:
<table id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl00"
class="RenewalTable" cellspacing="0" border="0"
id="ctl00_ApartmentPlaceHolder_gridRenewal" style="border-
collapse:collapse;">
<caption>
Renewal information for a given date range
</caption><thead>
<tr id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl01">
<th id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl01_ctl00"
scope="col">Apt</th><th
id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl01_ctl01"
scope="col">Name</th>
</tr>
</thead><tbody>
<tr id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl02">
<td id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl02_ctl00"
class="apt">14D</td><td
id="ctl00_ApartmentPlaceHolder_gridRenewal_ctl02_ctl01" class="name">
<a href='Applicants.aspx?id=2602'>Jana C. Krumholtz</a>
</td>
</tr>
This is messing up the jQuery tablesorter. Any idea how I can stop
ASP.NET from adding in the ID's?
Thanks In Advance!
- Bryan