MVC PostBackURL
-
I like to submit a request to a web service and wait for the response. I have to give web service a page name where I should the response. but I am unable to find any reference to PostBackUrl in MVC. In other word how are we going to deal with PostBackUrl or how we can provide return CallBack page?
-
I like to submit a request to a web service and wait for the response. I have to give web service a page name where I should the response. but I am unable to find any reference to PostBackUrl in MVC. In other word how are we going to deal with PostBackUrl or how we can provide return CallBack page?
Not clear on what are you trying to ask here. You start by requesting a webservice on one end and then ended up asking postback url in MVC. Please update your question and clearly specify about your work and need.
Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]
-
Not clear on what are you trying to ask here. You start by requesting a webservice on one end and then ended up asking postback url in MVC. Please update your question and clearly specify about your work and need.
Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]
Well I send a SMS (message) through a service provider, where server provider is asking me the web address where to inform back for the result as a success or fail.
You may look complete example at (Working example and you play it to understand it)
http://www.w3schools.com/aspnet/showasp.asp?filename=demo\_prop\_webcontrol\_button\_postbackurl
<!DOCTYPE html>
<html>
<body>
<form runat="server">
Name:<asp:textbox id="TextBox1" runat=Server />
<asp:button id="Button1" Text="Submit"
PostBackUrl="demo_postbackurl.aspx" runat="Server" />
</form>
</body>
</html>As you see asp:button has property PostBackUrl, but as far as I know there is no button implementation under MVC3. The service provider only take web address as a PostBackUrl to return the status of the MSM call.
I hope I explained well. Thank you very much for the reply.