Click here to Skip to main content
16,004,833 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Custom Scroll on ASP.NET Panel Pin
L Viljoen30-May-07 20:15
professionalL Viljoen30-May-07 20:15 
QuestionDeleting a Character in Javascript Pin
kc_krishnan29-May-07 20:11
kc_krishnan29-May-07 20:11 
QuestionChecking internet connection Pin
Sachin Pimpale29-May-07 1:03
Sachin Pimpale29-May-07 1:03 
QuestionDatabase connection Pin
matjame28-May-07 23:32
matjame28-May-07 23:32 
AnswerRe: Database connection Pin
Navneet Hegde29-May-07 1:09
Navneet Hegde29-May-07 1:09 
QuestionTool tip for HTML TableCell Pin
Rajesh Thomas28-May-07 21:06
Rajesh Thomas28-May-07 21:06 
Questionwebservics simultaneos calling prob Pin
khalidahmad28-May-07 19:34
khalidahmad28-May-07 19:34 
GeneralRe: webservics simultaneos calling prob Pin
khalidahmad29-May-07 0:00
khalidahmad29-May-07 0:00 
i have made sample application to test the scnerio
closer to my application
here is client and server side code

client is
//////////////////////
Public Class Form1
Private WithEvents wsAsync As New localhost1.AsyncService
Private WithEvents wssync As New localhost.SyncService
Private urltoReplace As String = "http://khalid/" 'this url will b replaced by localhost
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
wsAsync.Url = wsAsync.Url.Replace("http://localhost/", urltoReplace)
wssync.Url = wssync.Url.Replace("http://localhost/", urltoReplace)
wsAsync.CookieContainer = New Net.CookieContainer
wssync.HelloWorld()
End Sub
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

wsAsync.HelloWorldAsync()
End Sub
Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
wssync.HelloWorldAsync()
MessageBox.Show(wssync.HelloWorld)
End Sub
Private Sub wsAsync_HelloWorldCompleted(ByVal sender As Object, ByVal e As localhost1.HelloWorldCompletedEventArgs) Handles wsAsync.HelloWorldCompleted
MessageBox.Show(e.Result)
End Sub
Private Sub wssync_HelloWorldCompleted(ByVal sender As Object, ByVal e As localhost.HelloWorldCompletedEventArgs) Handles wssync.HelloWorldCompleted
MessageBox.Show(e.Result)
End Sub
End Class
//////////////////
server side is
////////////////////
sync service is
Public Class SyncService
Inherits System.Web.Services.WebService

<webmethod(enablesession:=true)> _
Public Function HelloWorld() As String
Return "Hello World"
End Function
/////////////
async service is
Public Class AsyncService
Inherits System.Web.Services.WebService

<webmethod()> _
Public Function HelloWorld() As String
While True
Threading.Thread.Sleep(1000)
End While
Return "Hello World"
End Function
End Class
now client and server should b different

khalid zaheer

Questiondataset serialization problem in .net 2.0 Pin
khalidahmad28-May-07 19:23
khalidahmad28-May-07 19:23 
Question"onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
devil8528-May-07 5:43
devil8528-May-07 5:43 
AnswerRe: &quot;onClick&quot; Event in AJAX Control auto runs &quot;mouseOut&quot; Event Pin
JimmyRopes28-May-07 6:14
professionalJimmyRopes28-May-07 6:14 
GeneralRe: &quot;onClick&quot; Event in AJAX Control auto runs &quot;mouseOut&quot; Event Pin
devil8528-May-07 8:14
devil8528-May-07 8:14 
GeneralRe: &quot;onClick&quot; Event in AJAX Control auto runs &quot;mouseOut&quot; Event Pin
Christian Graus28-May-07 12:51
protectorChristian Graus28-May-07 12:51 
GeneralRe: &amp;amp;amp;amp;quot;onClick&amp;amp;amp;amp;quot; Event in AJAX Control auto runs &amp;amp;amp;amp;quot;mouseOut&amp;amp;amp;amp;quot; Event Pin
JimmyRopes28-May-07 20:59
professionalJimmyRopes28-May-07 20:59 
QuestionRe: &amp;amp;amp;amp;quot;onClick&amp;amp;amp;amp;quot; Event in AJAX Control auto runs &amp;amp;amp;amp;quot;mouseOut&amp;amp;amp;amp;quot; Event Pin
devil8529-May-07 0:45
devil8529-May-07 0:45 
AnswerRe: &amp;amp;amp;amp;quot;onClick&amp;amp;amp;amp;quot; Event in AJAX Control auto runs &amp;amp;amp;amp;quot;mouseOut&amp;amp;amp;amp;quot; Event Pin
JimmyRopes29-May-07 6:03
professionalJimmyRopes29-May-07 6:03 
QuestionString Parameter From .Net Application to .Net ASP Web Service Pin
Ram_Goldman28-May-07 4:35
Ram_Goldman28-May-07 4:35 
AnswerRe: String Parameter From .Net Application to .Net ASP Web Service Pin
Christian Graus28-May-07 12:56
protectorChristian Graus28-May-07 12:56 
QuestionaspSmartUpload error '800a0009' Pin
Anurag Gandhi28-May-07 1:28
professionalAnurag Gandhi28-May-07 1:28 
QuestionHow to improve website ranking in Google Pin
rajesh22527-May-07 4:31
rajesh22527-May-07 4:31 
AnswerRe: How to improve website ranking in Google Pin
Johnny ²27-May-07 15:54
Johnny ²27-May-07 15:54 
AnswerRe: How to improve website ranking in Google Pin
Paddy Boyd28-May-07 3:44
Paddy Boyd28-May-07 3:44 
AnswerRe: How to improve website ranking in Google Pin
markkuk28-May-07 10:29
markkuk28-May-07 10:29 
AnswerRe: How to improve website ranking in Google Pin
random423-Apr-09 19:12
random423-Apr-09 19:12 
QuestionwebBrowser navigating event problem Pin
Opa Knack27-May-07 2:52
Opa Knack27-May-07 2:52 

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.