search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
SharePoint GroupsView
Sharepoint Design_And_Customization
Sharepoint Development_And_Programming
Sharepoint General
Sharepoint Portalserver
Sharepoint Portalserver Development
Sharepoint Setup_And_Administration
Sharepoint Windowsservices
Sharepoint Windowsservices Development

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Sharepoint Development_And_Programming Posts  Ask A New Question 

Navigate to url on button click - Jean-Pierre

Sunday, August 19, 2007 7:30 AM

Hi all,


I'm having a small proble which I don't seem to be able to get solved..

I'm creating my verry first web part for MOSS which has a simple listbox and
a button.

The idea is the users selects an item and on the button click they are
redirected to a new page.  I thought it was simple enough but notthing
works...

Can anyone point me in the right direction?

thks,
reply
 

to be clear (which my post wasn't)... - Jean-Pierre

Sunday, August 19, 2007 7:39 AM

to be clear (which my post wasn't)... The problem I have is how to trigger
to load of the new page on the button click.
I tried this which I used in my c# forms:

System.Diagnostics.Process.Start(http://www.philcollins.com);

but that was a bit optimistic ;-)
reply

Navigate to url on button click - humbleapprentic

Monday, August 20, 2007 6:32 AM

Jean Pierre,

Hopefully this could help you. You can say:

Page.Response.Write("" +
strUrl +

...and that will give you a pop-up (or popup) window showing the site you
want.

Let me know if that solves your question!

--
Cheers,

humble.apprentice
reply

If you'd like to do it server side which your code post suggests, try - ChadClark

Monday, August 20, 2007 11:28 AM

If you would  like to do it server side which your code post suggests, try
HttpContext.Current.Response.Redirect('your url');
reply
 
 

Previous Microsoft Sharepoint Development_And_Programming conversation.