Passing arguments to WebForms

M

Mantorok

Hi all

I'm pretty new to ASP.Net, is it possible to pass arguments (maybe objects
too) to web forms without using a querystring in the URL?

Thanks
Kev
 
E

Eliyahu Goldin

Kev,

Yes, there is a number of ways for that.

If you are talking about passing information from client, you can use <input
type=hidden...>. Or second argument in showModalDialog and
showModelessDialog calls if it is applicable. There are also other ways.

If you are talking about passing arguments from one page to another on
server side, you can use session variables, static variables, application
cache depending on your requirements.

Eliyahu
 
M

Mantorok

Thank you Eliyahu.

Eliyahu Goldin said:
Kev,

Yes, there is a number of ways for that.

If you are talking about passing information from client, you can use
<input
type=hidden...>. Or second argument in showModalDialog and
showModelessDialog calls if it is applicable. There are also other ways.

If you are talking about passing arguments from one page to another on
server side, you can use session variables, static variables, application
cache depending on your requirements.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top