How to pass a value from one frame and receive in another frame in asp.net C#? -
i have 2 content pages , use these 2 pages in third page frames in 50% 50% ratio.
i want textbox value left frame transferred right frame on button click.
if use session , try receive session value in 2nd web page(which right frame) won't work because right frame content page never invoked.
please, can give me correct , best way solve problem.
create event in frame 1 , make frame 2 have event handler. on each action in frame 1 can respond in frame 2.
you can transfer data using custom class inherits eventargs.
public class myeventargs : eventargs { // add fields , constructor here // initialize fields in constructor }
Comments
Post a Comment