<form name="Form1" method="post" action="pdfdl.aspx?standort=57" id="Form1"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTg2OTExNTE0Mw9kFgICAQ9kFg4CAQ8PFgIeBFRleHQFC07DvHJuYmVyZyBIZGQCBA8PFgIfAAUJTmV4dCB3ZWVrZGQCBQ8PFgIfAAUJVGhpcyB3ZWVrZGQCBg8PFgIfAAUOTsOkY2hzdGUgV29jaGVkZAIKDw8WAh8ABQtZb3VyIG1lbnU6IGRkAgsPDxYCHwAFEElociBTcGVpc2VwbGFuOiBkZAINDw8WAh8ABQ5Ba3R1ZWxsZSBXb2NoZWRkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYEBQxJbWFnZUJ1dHRvbjQFDEltYWdlQnV0dG9uMwUMSW1hZ2VCdXR0b24yBQxJbWFnZUJ1dHRvbjEqEFZA+0Wg0IMuCi1o6YA89i6kXw==" /> </div> <div> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="E60F8273" /> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQLMp8imAQLSwv2aBALSwsGJCgLSwtXkAgLSwpnTCHgnTi0lUtNsILiMtAmlWcrq0rGv" /> </div> <img id="Image2" src="../pic/cooperate/pfeil.gif" style="border-width:0px;Z-INDEX: 112; LEFT: 0px; POSITION: absolute; TOP: 128px" /> <font face="Arial" size="4"> <span id="Label_StandortName1b" style="display:inline-block;color:#336699;font-family:Arial;font-size:Small;font-weight:bold;height:16px;width:368px;Z-INDEX: 117; LEFT: 0px; POSITION: absolute; TOP: 16px">Nürnberg H</span> <marquee style="Z-INDEX: 116; LEFT: 0px; WIDTH: 368px; POSITION: absolute; TOP: 144px; HEIGHT: 21px"> </marquee> </font> <img id="Image4" src="../pic/cooperate/pfeil.gif" style="border-width:0px;Z-INDEX: 114; LEFT: 0px; POSITION: absolute; TOP: 240px" /><img id="Image3" src="../pic/cooperate/pfeil.gif" style="border-width:0px;Z-INDEX: 113; LEFT: 0px; POSITION: absolute; TOP: 216px" /> <span id="Label4" style="display:inline-block;font-family:Arial;font-size:X-Small;width:216px;Z-INDEX: 110; LEFT: 16px; POSITION: absolute; TOP: 240px">Next week</span><span id="Label3" style="display:inline-block;font-family:Arial;font-size:X-Small;width:216px;Z-INDEX: 109; LEFT: 16px; POSITION: absolute; TOP: 216px">This week</span><span id="Label2" style="display:inline-block;font-family:Arial;font-size:X-Small;width:216px;Z-INDEX: 108; LEFT: 16px; POSITION: absolute; TOP: 128px">Nächste Woche</span> <input type="image" name="ImageButton4" id="ImageButton4" src="../pic/cooperate/pdf.gif" style="border-width:0px;Z-INDEX: 106; LEFT: 256px; POSITION: absolute; TOP: 240px" /><input type="image" name="ImageButton3" id="ImageButton3" src="../pic/cooperate/pdf.gif" style="border-width:0px;Z-INDEX: 105; LEFT: 256px; POSITION: absolute; TOP: 216px" /><input type="image" name="ImageButton2" id="ImageButton2" src="../pic/cooperate/pdf.gif" style="border-width:0px;Z-INDEX: 104; LEFT: 256px; POSITION: absolute; TOP: 128px" /><span id="Label_StandortName2a" style="display:inline-block;color:#336699;font-family:Arial;font-size:X-Small;font-weight:bold;height:11px;width:368px;Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 184px">Your menu: </span><span id="Label_StandortName1a" style="display:inline-block;color:#336699;font-family:Arial;font-size:X-Small;font-weight:bold;height:16px;width:368px;Z-INDEX: 100; LEFT: 0px; POSITION: absolute; TOP: 72px">Ihr Speiseplan: </span><input type="image" name="ImageButton1" id="ImageButton1" src="../pic/cooperate/pdf.gif" style="border-width:0px;Z-INDEX: 103; LEFT: 256px; POSITION: absolute; TOP: 104px" /><span id="Label1" style="display:inline-block;font-family:Arial;font-size:X-Small;width:216px;Z-INDEX: 107; LEFT: 16px; POSITION: absolute; TOP: 104px">Aktuelle Woche</span><img id="Image1" src="../pic/cooperate/pfeil.gif" style="border-width:0px;Z-INDEX: 111; LEFT: 0px; POSITION: absolute; TOP: 104px" /> <script language='JavaScript'> window.open('2015018057de.pdf','_blank'); </script> </form>
Wenn ich mir die Header angucke, werden beim Klicken auf ImageButton1 die Variablen
ImageButton1.x=13&ImageButton1.y=7
gesendet. Aber wie kommen die zustande?
Hintergrund: ich will mit dem Webdienst aus meinem Programmcode heraus kommunizieren. Ich will also das Formular selber parsen und die POST-Variablen entsprechend schicken. Diese seltsamen Zeichenketten in __VIEWSTATE usw. bekomme ich bereits hin.
Dieser Beitrag wurde von Kirill bearbeitet: 29. April 2015 - 14:17