i have asp.net web page,on page load i create a simple html table with fixed no of rows and no of columns and their names are determined dynamically.now i have few javascipt functions for adding a row to table,for adding another column to table and for removinga row from table.
also i have a asp:button on click of which a xml file is generated from the data filled in by user in the table.but as soon as i hit the asp button to generate xml all newley added rows and columns are deleated.Is it possible to call a server side function without posting the page back.
Yes, it is
take a look at this article about client scripts callbacks:
http://msdn.microsoft.com/msdnmag/issues/04/08/CuttingEdge/
Cheers,
Yani
hey went throught the article actually i mean new to all this so didnt get it completely some code help from ur side will be appriciated
actually i have a method on server side that accepts the html table parses it and writes the data of html table in a xml file.
and i want to call this method on click of a button and without postback.
thanx in advance
sandeep
Sorry man,
I haven't put the client scripts callbacks into practice yet too.
I was going to use them to create a dynamic progress bar, but then i've decided to use the ajax update panel.
It was much faster and cheaper.
Cheers,
Yani
No comments:
Post a Comment