Hi, Below is my scenario, 1. I have ASP page and i want to call ASPX page from ASP (But it should not redirect or my ASP should not hide). 2. I dont want to send any inputs from ASP to ASPX 3. I Want to send a values from ASPX to ASP. 4. The above all events should happen in my ASP page loading itself. There is no Click Event. In Simple Words: - On ASP page load, i want to call ASPX page and return values from ASPX page to ASP and write those values in ASP.
Your example is not very clear about what data you are trying to get from where to where. There are only a few ways in general to move data from page to another. - data can be in a form that gets posted from one page to another - data can be in the URL of link or redirect - data can be stored in a cookie on the users machine - data can be stored in a file on the server - data can be stored in a database that both pages can access - data can be stored in custom session data objects (not recommended for use by novices) You say you want to get values from an aspx page, but where are those values coming from? Are they hard coded in a script? If you are trying to run some function on another page, use the redirect (or server transfer). In either case the user would have no idea that they were sent to another page and back. Don't know why you don't want to use redirect, unless the page is on someone else's site and you want to use the function without approval.