views:

37

answers:

1

I have to do a postback automatically when a user visit a page. How can I run this postback only once?

javascript:__doPostBack('dnn$ctr424$ViewLogin$btChange','')
A: 

If form_load register that as a startup script with the ScriptManager but only if not Page.IsPostBack.

James Westgate