473,473 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Simple "postback" question.

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
2 1892
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: charliewest | last post by:
I have a created an ASP.NET web form and custom control that generate test questions. When the user successfully answers a question, the same ASP.NET (and subsequently custom control) load itself...
5
by: Matthew Louden | last post by:
I created simple ASP.NET web application to test how AutoPostBack property in a web control works. I set AutoPostBack property to be true of a web control. When I run the application, here's the...
1
by: kieron | last post by:
Hi, this may seem like a simple question, but I'm fairly new to aspnet so please bare with me...i have a single webform that dynamically changes it's contents (in the form of usercontrols) based...
2
by: Helen | last post by:
I've written a web control that allows you to hide certain bits of your page when the specified selectbox has a certain value. It's a simple enough bit of logic, but I got sick of coding it again...
1
by: happyinst | last post by:
I have recently added some code to a web application and now I find it hanging after I do about 2 or 3 postbacks within the application. It hangs after doing different things (I cannot find...
9
by: John Walker | last post by:
Hi, I have a datagrid with a radiobutton template column, with AutoPostBack set to TRUE. When the user clicks on a radiobutton the application will PostBack, and in the PostBack there will be...
3
by: vingomail | last post by:
Let me know how to hide the "__do javascript postback" in the bottom of the browser. it occurs when the user clicks link button or button control and so on
3
by: Cirene | last post by:
I have a simple page - 2 dropdowns, 2 textboxes. 1 set of dropdown/textbox is in the updatepanel. 1 set of dropdown/textbox is not. When I select a dropdown the textbox is updated with teh...
1
by: =?Utf-8?B?Sko=?= | last post by:
Hi all, I have a help page that I have to (against my better judgement) open up in a new window, which will show the help for the current page the user is on. So in my master page I have a...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.