By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,435 Members | 2,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,435 IT Pros & Developers. It's quick & easy.

Simple "postback" question.

P: n/a
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"

Nov 2 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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!
*************************************************
"Phillip Vong" <phillip_vong*at*yahoo*dot*comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>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"



Nov 2 '06 #2

P: n/a
Gotcha,

Thanks for the info.

Phil


"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:%2****************@TK2MSFTNGP02.phx.gbl...
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!
*************************************************
"Phillip Vong" <phillip_vong*at*yahoo*dot*comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>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"




Nov 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.