A web browser, regardless of which, can only communicate to a web server via an HTTP REQUEST, which come in two flavors: POST, and GET.
POST = A form.
GET = A querystring.
That's all.
A server-side language, such as ASP.NET or any other, can only generate a RESPONSE. That response can be any document for which there is a corresponding MIME type. If HTML, you can place HTML, CSS, and JavaScript in the response.
Despite all the fancy bells and whistles in ASP.NET, all it does is generate RESPONSE objects. It can do all sorts of fancy stuff along the way, but that's the final result.
There are a couple of different mechanisms for shuttling values between the client and server.
One of them is the ViewState , which on the client side is a big nasty encoded hidden input element, but on the server-side becomes an "object" with methods and properties.
The other is to use ASP.NET to create client-side scripts and place them in the RESPONSE.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
It's not going to post back? Yeah, that's a loaded term. He could be saying that he's testing for "IsPostBack" on Page_Load, and not seeing the value there. If that's the case:
Of course you wouldn't. Only server-controls have their values from the Form stored with them. If you're using an HTML hidden element, or a QueryString key-value pair, you need to find it's value in the REQUEST object.
Or, he could be saying he isn't going to "post" the value "back" to the server application... in which case, this isn't an ASP.NET question, it's a JavaScript/HTML question.
adnan: sorry, but you need to ask extremely clear questions. I know we probably have a language barrier, but keep trying. We all want to help. Can you share some of your code with us? Perhaps that would help.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
adnan: if there is no language barrier, please do us the favor of posting real, complete English sentences, using punctuation and capital letters where appropriate, and which don't contain non-English words such as "wud" and "n".
Thank you.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37