Methods to pass custom object from one page to another in asp.net webform -
i want pass custom object 1 page in c# asp.net> far knwo next availabel methods:
a public property in previouspage (if navigation happened through server.transfer) session cookie as form controls (if page doesn't have master page.) querystring (not suitable custom objects)is there alternate method? can't utilize of these due various reasons.
thanks
as far passing custom object 1 alternative using jquery phone call web service onclick event of link on page , $(document).ready function (or page load method) on page b , passing json serialized object out , back.
for work, however, still have way of identifying user on page b can right object user saved page a. if can utilize session, cookie or querystring pass guid or other unique identifier, you're set. if not, think you've ruled out options, , you'll need give more details how authenticating user, needed security site , page page.
asp.net
No comments:
Post a Comment