Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a custom control post back to the server

Status
Not open for further replies.

Algernon83

Programmer
Jun 25, 2004
50
US
I need one of my custom controls to make a request to the server, maintaining viewstate. It's easy enough just to make the request, but the server views each request as the first time the page was requested. In other words, IsPostBack is false. How can I make a post back request?
 
Can you post a short sample of your code that shows this problem?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Never mind, actually, I just fixed it. Apparently, IsPostBack is only true if -- get this -- you make a post request instead of a get request. Weird, huh? Thanks for responding.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top