Author: kikiriki | Posted on: 4/19/2009 7:57:17 AM | Views : 334

Hi,
I used Web service to make different slides.

And in the website it functioned (in background code of the page)

Now when I use the same code in my new project and start the page it shows the page content, but on the service start it prompts the login window.

Is there any way to allow preview (without login) of the control that is used by this service?



This is the service code:

[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]

public static AjaxControlToolkit.Slide[] GetSlides()

{

string imgPth = pth.ImgPath;

string imgUrl;

if (imgPth == null)

{




return null;

}

else

{

imgUrl = imgPth.Substring(2) + "/";

}

DirectoryInfo DrInf = ...

Go to the complete details ...