el ninho
el ninho

Reputation: 4233

Custom back button in asp.net application

I have application that is working in popup. Is there a easy way to do manual back button, as popup windows doesn't have them?

Thanks.

Upvotes: 1

Views: 160

Answers (2)

Pranay Rana
Pranay Rana

Reputation: 176896

make use of javascript history object that will work for this

function goBack()
  {
     window.history.go(-2)
  }

Upvotes: 3

Widor
Widor

Reputation: 13275

In JavaScript, history.go(-1); will have the same effect.

Upvotes: 0

Related Questions