Click here to Skip to main content
15,917,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: TCP/IP client-server Socket Programming use Video chat also in c#? Pin
Gerry Schmitz17-Jun-17 6:15
mveGerry Schmitz17-Jun-17 6:15 
GeneralRe: TCP/IP client-server Socket Programming use Video chat also in c#? Pin
prog.sidra18-Jun-17 20:18
prog.sidra18-Jun-17 20:18 
GeneralRe: TCP/IP client-server Socket Programming use Video chat also in c#? Pin
jschell23-Jun-17 11:32
jschell23-Jun-17 11:32 
QuestionHow to remove this error:cannot implicitly convert type 'webapplication1.sharepointonlinecredentials' to 'system.net.icredentials'. An explicit conversion exists (are you missing a cast? ) Pin
Prakash-2713-Jun-17 19:45
Prakash-2713-Jun-17 19:45 
QuestionRe: How to remove this error:cannot implicitly convert type 'webapplication1.sharepointonlinecredentials' to 'system.net.icredentials'. An explicit conversion exists (are you missing a cast? ) Pin
Richard MacCutchan13-Jun-17 21:36
mveRichard MacCutchan13-Jun-17 21:36 
Rant[REPOST] How to remove this error:cannot implicitly convert type 'webapplication1.sharepointonlinecredentials' to 'system.net.icredentials'. An explicit conversion exists (are you missing a cast? ) Pin
Richard Deeming14-Jun-17 11:20
mveRichard Deeming14-Jun-17 11:20 
Questionhow to use public key and private key in c# Pin
AZHAR SAYYAD13-Jun-17 18:16
AZHAR SAYYAD13-Jun-17 18:16 
AnswerRe: how to use public key and private key in c# Pin
Gerry Schmitz13-Jun-17 19:18
mveGerry Schmitz13-Jun-17 19:18 
QuestionUse I2C on Intel Celeron Pin
openLG12-Jun-17 22:31
openLG12-Jun-17 22:31 
AnswerRe: Use I2C on Intel Celeron Pin
Afzaal Ahmad Zeeshan12-Jun-17 23:03
professionalAfzaal Ahmad Zeeshan12-Jun-17 23:03 
QuestionDetect which keyboard has fired PreviewKeyDown Pin
openLG12-Jun-17 22:04
openLG12-Jun-17 22:04 
AnswerRe: Detect which keyboard has fired PreviewKeyDown Pin
OriginalGriff12-Jun-17 22:10
mveOriginalGriff12-Jun-17 22:10 
GeneralRe: Detect which keyboard has fired PreviewKeyDown Pin
openLG12-Jun-17 22:27
openLG12-Jun-17 22:27 
GeneralRe: Detect which keyboard has fired PreviewKeyDown Pin
OriginalGriff12-Jun-17 22:29
mveOriginalGriff12-Jun-17 22:29 
GeneralRe: Detect which keyboard has fired PreviewKeyDown Pin
openLG12-Jun-17 22:32
openLG12-Jun-17 22:32 
Questionform fill pdf file Pin
Member 1325361311-Jun-17 13:51
Member 1325361311-Jun-17 13:51 
AnswerRe: form fill pdf file Pin
OriginalGriff11-Jun-17 19:47
mveOriginalGriff11-Jun-17 19:47 
GeneralRe: form fill pdf file Pin
Pete O'Hanlon11-Jun-17 23:58
mvePete O'Hanlon11-Jun-17 23:58 
GeneralRe: form fill pdf file Pin
OriginalGriff12-Jun-17 2:03
mveOriginalGriff12-Jun-17 2:03 
AnswerRe: form fill pdf file Pin
ZurdoDev12-Jun-17 7:20
professionalZurdoDev12-Jun-17 7:20 
AnswerRe: form fill pdf file Pin
Ravi Bhavnani12-Jun-17 11:24
professionalRavi Bhavnani12-Jun-17 11:24 
QuestionProgramatically click a button using http POST request Pin
Prasadaknair10-Jun-17 8:14
Prasadaknair10-Jun-17 8:14 
AnswerRe: Programatically click a button using http POST request Pin
Afzaal Ahmad Zeeshan10-Jun-17 10:19
professionalAfzaal Ahmad Zeeshan10-Jun-17 10:19 
The clicks are on the client-side, not the server-side and should never be injected through server-side. That said, you can simulate the click in JavaScript easily, or if the purpose is to just trigger the function you can call the function on the body's load event as well. That would be much better and semantically correct code in your application.
HTML
<body load="onLoadFunc()">
   <!-- content -->
</body>
Then you can write the function, that gets executed on the load,
JavaScript
function onLoadFunc() {
   // Other function calls, or code
   showImage(); // Call the function
   // Rest of the stuff
}

This will execute the function, as soon as the body finishes loading, thus on the page load. This will be a better approach, as compared to any of the code injections from server.

load - Event reference | MDN

If you want to get a response from the server, and then execute the code on client-side, then I would recommend that you read a bit about Ajax first. Ajax will let you do that easily, that is also JavaScript based service, so please learn more of JavaScript here to perform tasks on client-side.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

AnswerRe: Programatically click a button using http POST request Pin
Richard Deeming12-Jun-17 1:51
mveRichard Deeming12-Jun-17 1:51 
Question404 error when implementing an API Pin
Sara Khan Kulkarni10-Jun-17 4:39
Sara Khan Kulkarni10-Jun-17 4:39 

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.