> I'm looking for a way to toggle text without using client scripting.
One way to go is by the visibility property and a click event, but this
does a postback and returns to the top of the page. Is there a way
around this?
Not without client scripting. And, unless you are using a form submit, the
click event will be client scripted anyways (to trigger the postback).
One option of the top of my head:
Don't use a postback, but instead querystrings, then add a dynamic redirect
pointing back to the page with an anchor link attached to the URL.
If you don't want to use javascript for the toggle, but are OK using it just
to scroll the page, then you can attach a javascript to the body tag onload
from the postback trigger's handler:
pageBody.Attributes.Add("onLoad", "location.href='#yourAnchor';")
-Darrel