Setting a new page as Home Page

Y

yudi

I have a web-page and i want to give a button as "Set this as Home
Page" using which the user can set the current web-page as Home page.
i know "browserPanel.setSite" can be used for this purpose, but to use
this i don't know how to use it in .net.

Thanks in advance
Uday
 
K

Karl Seguin [MVP]

This isn't something you can do in .NET. .NET runs on the server and renders
html/css/javascrit/... to the client. Since you want to execute something on
the client, you need to do so using javascript.

Karl
 
B

bruce barker \(sqlwork.com\)

<a href
onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://mysite.com');">
Click here to make this your default homepage
</a>

note: http(s) is required in the url.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top