why did't you are using httprequest method located at webclient name space ??
On Wed, Jul 28, 2010 at 6:04 PM, RGF <[email protected]> wrote: > Good point...indeed I am sending the request from a web page. > Basically, what I wanted to do from my main web page is that when a > button is pressed, then I wanted to make the HTTP call to the .asmx > with the arguments (mentioned earlier below) without loosing the focus > from my main web page, thus, why I am looking for an alternative to > using Response.Redirect. > > On Jul 28, 1:44 am, Cerebrus <[email protected]> wrote: > > The question is: From where are you sending this request if not an > > ASPX page ? If so, then your client already has a web browser open. > > The Response.Redirect will just tell the client that the object has > > moved and the browser will then request that redirect URL. > > > > On Jul 28, 12:51 am, RGF <[email protected]> wrote: > > > > > What I thought was a simple task, we'll, it turned out to be not quite > > > so simple... > > > > > I like to send the following HTTP string to my web server, which then > > > gets inserted to my DB: > > > > >http://www.my_personal.com/Myservice.asmx/GetCampaingData?StartDate=7. > .. > > > > > <myuseraccount>&WebKey=<myMey>&Title=Web > > > test&Message=This is a test &Confirmation=No > > > > > I send the above string using Response.Redirect and everything > > > works!! But I need not to open the web browser, a behavior inherited > > > when using Response.Redirect. > > > > > Is there a way I can send the above URL > > > without opening a web browser? or using Response.Redirect while > > > suppressing the browser? > > > > > Thank you, > > > -r > > > > > Note: I am using VS2005 and VB.Net > -- Ravindra kumar delhi
