javascript - DataTable-FixedHeader on ASP.Net Repeater throws errors after async postback -


i use fixedheader-function (http://datatables.net/extras/fixedcolumns/) datatables (http://datatables.net/) on asp repeater.

the repeater/table not visible when page loaded, user has select item in dropdownlist repeader databound.

the scripts added scriptreferences in scriptmanager.

<asp:scriptreference path="scripts/jquery-1.9.1.min.js" /> <asp:scriptreference path="scripts/jquery-ui-1.10.2.custom.min.js" /> <asp:scriptreference path="scripts/jquery.blockui.js" /> <asp:scriptreference path="scripts/fixedheader.min.js" /> 

the code initiating table done when page/post-back complete using:

sys.webforms.pagerequestmanager.getinstance().add_endrequest(endrequesthandler); 

initialization: (only table exists)

if ($('#myid').length > 0) fixedheaderlist = new fixedheader(document.getelementbyid('myid'), {     "offsettop": 36 }); 

this works fine.

i have added asp-button nothing, within update panel postback. , after this, failes when try scroll on following line:

fnsumscroll: function (f, e) {     var d = f[e]; <--     ... 

(it not matter if recreated fixed header or not. (new fixedheader...))

i have tried execute fnupdate on fixedheader-object after asp postback, fixedheaderlist.fnupdate()

but leads javascript error:

'$lineinfo' undefined 

any ideas @ all?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -