Click here to Skip to main content
15,890,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Removing a project reference from the website's bin folder Pin
Guffa12-Nov-08 6:56
Guffa12-Nov-08 6:56 
AnswerRe: Removing a project reference from the website's bin folder Pin
Arun Jacob12-Nov-08 23:19
Arun Jacob12-Nov-08 23:19 
GeneralRe: Removing a project reference from the website's bin folder Pin
Member 224165510-May-11 23:50
Member 224165510-May-11 23:50 
QuestionProblem refreshing parent window on child closure Pin
www.Developerof.NET12-Nov-08 2:01
www.Developerof.NET12-Nov-08 2:01 
AnswerRe: Problem refreshing parent window on child closure Pin
Brij12-Nov-08 2:31
mentorBrij12-Nov-08 2:31 
GeneralRe: Problem refreshing parent window on child closure Pin
www.Developerof.NET12-Nov-08 3:01
www.Developerof.NET12-Nov-08 3:01 
AnswerRe: Problem refreshing parent window on child closure Pin
Brij12-Nov-08 3:29
mentorBrij12-Nov-08 3:29 
QuestionRedirect to another website form webmetho Pin
Babu.R.K12-Nov-08 2:00
Babu.R.K12-Nov-08 2:00 
Hi,

I wants to redirect to another website in the webmethod.

function CallWebMethod(methodType)
{
debugger;
switch(methodType)
{
case "Select":
{
UserName.HelloWorld();
}
}
}


<asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown">
<services>
<asp:servicereference path="UserName.asmx">



<asp:button id="Button1" runat="server" text="Button" onclientclick="CallWebMethod('Select');" xmlns:asp="#unknown">





This is in webservice file UserName



I had tried i both the ways. But didn't worked.

[WebMethod]
public string HelloWorld()
{
//HttpContext.Current.Response.Status = "301 Moved Permanently";
//HttpContext.Current.Response.AddHeader("Location", "http://digitalcolony.com");

return "Hello World";
}



[WebMethod]
public string HelloWorld()
{
//HttpContext.Current.Response.Status = "301 Moved Permanently";
// HttpContext.Current.Response.Redirect("http://google.com", false);

return "Hello World";
}



Thanks in advance.
AnswerRe: Redirect to another website form webmetho Pin
Brendan Vogt12-Nov-08 2:49
Brendan Vogt12-Nov-08 2:49 
QuestionSelected Text event not working Pin
omlac12-Nov-08 1:55
omlac12-Nov-08 1:55 
AnswerRe: Selected Text event not working Pin
Brij12-Nov-08 2:29
mentorBrij12-Nov-08 2:29 
AnswerRe: Selected Text event not working Pin
omlac12-Nov-08 3:09
omlac12-Nov-08 3:09 
QuestionAudio File Bookmarking and Highlighting with Text Links Pin
srisant12-Nov-08 0:54
srisant12-Nov-08 0:54 
AnswerRe: Audio File Bookmarking and Highlighting with Text Links - CROSS POST Pin
Ashfield12-Nov-08 1:08
Ashfield12-Nov-08 1:08 
QuestionAdding Programmatically Buttons to an asp.net page... Pin
Mahhouraaaaaa12-Nov-08 0:46
Mahhouraaaaaa12-Nov-08 0:46 
AnswerRe: Adding Programmatically Buttons to an asp.net page... Pin
Brij12-Nov-08 2:25
mentorBrij12-Nov-08 2:25 
AnswerRe: Adding Programmatically Buttons to an asp.net page... Pin
Padmanabh Ganorkar12-Nov-08 20:25
Padmanabh Ganorkar12-Nov-08 20:25 
QuestionRegarding the Events raised from Windows Application Pin
Member 459552812-Nov-08 0:18
Member 459552812-Nov-08 0:18 
Questionpaypal Pin
joindotnet12-Nov-08 0:06
joindotnet12-Nov-08 0:06 
AnswerRe: paypal Pin
Ashfield12-Nov-08 1:10
Ashfield12-Nov-08 1:10 
GeneralRe: paypal Pin
joindotnet12-Nov-08 1:12
joindotnet12-Nov-08 1:12 
GeneralRe: paypal Pin
Ashfield12-Nov-08 1:57
Ashfield12-Nov-08 1:57 
GeneralRe: paypal Pin
joindotnet12-Nov-08 2:12
joindotnet12-Nov-08 2:12 
GeneralRe: paypal Pin
Ashfield12-Nov-08 3:24
Ashfield12-Nov-08 3:24 
QuestionTo create a Reciprocal Link System [modified] Pin
div_gusain11-Nov-08 23:31
div_gusain11-Nov-08 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.