Hi,
I need to open new window from code behind with out opening open a windows I just want the return value weather window open successfull or error
any suggesstion
thanks,
I'm sorry If I couldn't explain my problm
I'm writing code that is doing some thing and build a url now I need to open new windows by passing this url and get the response if it is success of fail. I couldn't find any solution will any body help me out.
asp.net receives requests and sends a response. there are no windows to open, no UI to render. webforms or another mvc view engine may render html (or another document), but asp.net just sends a response.
opening windows would be the responsiblity of the browser/desktop application.
It mean I have to send javascript to client and open the windows and then how to get the return value back to server because I'm building rest of logic on the basis of it's return value
Please guid me on righ path. I appreciate the time you spare to look into my problem
thanks,
why wouldn't a window open successfully? how are you opening a window.
Opening window and receiving a successful response from the server are 2 different things. if you are talking about opening a new tab/window from the browser then you will be using javascript. at which point forum216 is better suited to answer your question.
that said, it sounds like you do not fully understand how http works. I would research http and request/response works. then research how the webforms view engine and the asp.net pipeline operate in the stateless environment of http.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.