Simple "postback" question.

  • Thread starter Thread starter Phillip Vong
  • Start date Start date
P

Phillip Vong

I know how to check IsPostback, but what is the VB code to force a postback?
I have a link I want to do a postback with this URL. I've tried using
Postback and I've tried using doPostback. Am I missing something? I just
want the link to postback to this site.

"~/Misc/Forms.aspx?InsertMode=Yes"
 
Postback is done client side. You can push out JavaScript to fire a postback
event by asking for the event from a control (which can be hidden) and
emitting the Javascript. But, you cannot force postback on the server side
without delivering HTML to the client.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
Gotcha,

Thanks for the info.

Phil




Cowboy (Gregory A. Beamer) said:
Postback is done client side. You can push out JavaScript to fire a
postback event by asking for the event from a control (which can be
hidden) and emitting the Javascript. But, you cannot force postback on the
server side without delivering HTML to the client.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
Back
Top