Author: tugberk_ugurlu_ | Posted on: 1/12/2010 9:49:36 AM | Views : 362

Hi there ! I am using the following code for slide show of AjaxToolkit. It works. But I wanna get the label1.text as picture name But I cannot do it in public shared function ! How can I do that ! Thanks !
<System.Web.Services.WebMethod()> _ Public Shared Function Resimler() As Slide() Dim Slaytlar As New List(Of Slide) 'Slaytlar.Add(New Slide("Photos/sungate.jpg", "Slayt 1", "Sungate Photo")) Slaytlar.Add(New Slide("Photos/sungate.jpg", "Slayt 1", "Sungate Photo")) Slaytlar.Add(New Slide("Photos/AdamEve.jpg", "Slayt 2", "Adam & Eve Photo")) Return Slaytlar.ToArray End Function
 
...

Go to the complete details ...