943,962 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 16509
  • ASP.NET RSS
Jan 10th, 2006
0

Force Postback

Expand Post »
Hi

I have added some controls dynamically and raised an addhandler click event see below

AddHandler _Expand.Click, AddressOf Me.btnClick

Private Sub btnClick(ByVal sender As Object, ByVal e As System.EventArgs)
Dim tmpBtn As Button = CType(sender, Button)
Response.Write(tmpBtn.ID)
End Sub

I want to raise a postback inside the Private Sub btnClick...... and not sure how to do this?



Any ideas
Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
iloveorangesoda is offline Offline
3 posts
since Jul 2005
Jan 10th, 2006
0

Re: Force Postback

I can't understand the question. If you're inside a server-side event method, the user must have posted the form. You are inside of a "Postback". Also, a postback occurs when the client submits the form back to the ASP.NET application. Even if you could "raise a postback" while running a server-side method, what would that mean?

Either one or both of us is thoroughly confused .

Could you restate in English (no code) what it is you're attempting?
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Formatting Childgrid inside Master Grid
Next Thread in ASP.NET Forum Timeline: Login used to work





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC