J
James Bush
Hi there,
Can anyone help me Im going insane here!!!
Ive built an atl composite control for pocket pc using embedded VC++
3. THe control is intended to simulate a postback to an asp.net web
form to post a file from pocket pc to the web server. pocket ie does
not support the input type=file html tag to im having to do it
manually.
So ive got an activex control working fine, im adding exectly the same
headers as IE5.5 etc... would add to the post, the post is being sent
to the web server no probs (using wininet functions). Ive verified
that the content is reaching the server intact (_rawcontent is
correct). But asp.net does not recognise the post as a postback and
does not fire the required events etc...
Ive simulated a postback from the clientside javascript function
dopostback; i.e. ive got post form fields called __EVENTTARGET and
__EVENTARGUMENT etc... Im pretty sure my content is formed OK.
However, asp.net does not recognise the request as a postback!!!
ARGGHH!! Ive tried copying the __VIEWSTATE field into the post data as
well but no difference!!
Please help! How does asp.net recognise an incoming http post as a
postback!?
Many thanks,
James.
(UK)
Can anyone help me Im going insane here!!!
Ive built an atl composite control for pocket pc using embedded VC++
3. THe control is intended to simulate a postback to an asp.net web
form to post a file from pocket pc to the web server. pocket ie does
not support the input type=file html tag to im having to do it
manually.
So ive got an activex control working fine, im adding exectly the same
headers as IE5.5 etc... would add to the post, the post is being sent
to the web server no probs (using wininet functions). Ive verified
that the content is reaching the server intact (_rawcontent is
correct). But asp.net does not recognise the post as a postback and
does not fire the required events etc...
Ive simulated a postback from the clientside javascript function
dopostback; i.e. ive got post form fields called __EVENTTARGET and
__EVENTARGUMENT etc... Im pretty sure my content is formed OK.
However, asp.net does not recognise the request as a postback!!!
ARGGHH!! Ive tried copying the __VIEWSTATE field into the post data as
well but no difference!!
Please help! How does asp.net recognise an incoming http post as a
postback!?
Many thanks,
James.
(UK)