Link to home
Create AccountLog in
Avatar of Keith Westberg
Keith Westberg

asked on

How to call a page method with postback from ajax provided button?

I have a link which calls the facebox/jquery library and opens an aspx page via ajax.  Now that I have this ajax div in the center of my page I would like to call a method on the original page.  I have a routine that manages all the buttons on my main page using OnCommand, CommandName and CommanfArgument.  I would like to use this process to capture the button the was rendered during the ajax call.

I adjust the page according to the button that was clicked... that is why I need to know which button branch to perform after the postback.  This button would need to provide a value for the CommandArgument.

Does that sound logical?  

ASP.NET 2.0
JQuery Library
Facebox Library
ASKER CERTIFIED SOLUTION
Avatar of Keith Westberg
Keith Westberg

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer