Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: 404 error when implementing an API Pin
OriginalGriff10-Jun-17 4:54
mveOriginalGriff10-Jun-17 4:54 
AnswerRe: 404 error when implementing an API Pin
Richard MacCutchan10-Jun-17 5:04
mveRichard MacCutchan10-Jun-17 5:04 
AnswerRe: 404 error when implementing an API Pin
User 418025410-Jun-17 6:11
User 418025410-Jun-17 6:11 
GeneralRe: 404 error when implementing an API Pin
Eddy Vluggen10-Jun-17 6:30
professionalEddy Vluggen10-Jun-17 6:30 
AnswerRe: 404 error when implementing an API Pin
Yoqueuris13-Jun-17 4:46
Yoqueuris13-Jun-17 4:46 
QuestionVS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 1:22
professionalBillWoodruff8-Jun-17 1:22 
AnswerRe: VS2017 : selecting files, then applying search/replace ? Pin
Richard Deeming8-Jun-17 1:36
mveRichard Deeming8-Jun-17 1:36 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 2:35
professionalBillWoodruff8-Jun-17 2:35 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
Member 12639408-Jun-17 3:02
Member 12639408-Jun-17 3:02 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 3:26
professionalBillWoodruff8-Jun-17 3:26 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
ZurdoDev8-Jun-17 5:57
professionalZurdoDev8-Jun-17 5:57 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 8:22
professionalBillWoodruff8-Jun-17 8:22 
QuestionCondition of C#. Pin
Member 113461537-Jun-17 22:11
Member 113461537-Jun-17 22:11 
AnswerRe: Condition of C#. Pin
Richard MacCutchan7-Jun-17 22:39
mveRichard MacCutchan7-Jun-17 22:39 
AnswerRe: Condition of C#. Pin
OriginalGriff7-Jun-17 22:55
mveOriginalGriff7-Jun-17 22:55 

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.