I am trying to get a better understanding of the C# Portal and I think I am finally grasping what most things are doing. What I am having a hard time doing is understanding how to create a module. To start with I figured I would setup a simple 1 form field
module that would redirect based on the word typed into the box. How is the best way to go about doing this? I have developed pages in asp using vb for a number of years, and I know it is as easy as redirecting to a second page and using Response.Redirect
to redirect based on my criteria. Can anyone provide a real basic example I can work with?
The Portal includes documentation on how to create portal modules. Use the following steps: 1) Open the portal 2) Click on the Portal Documentation link from the top right 3) In the Portal Documentation page, check out the "Portal Modules" section, and click
on the "Click Here" link to see how to create your own modules. For this specific functionality, here's one possible solution
<script runat="server"> void Button_Click(Object sender, EventArgs e) { Response.Redirect(TextBox.Text); } </script> URL:
Shanku Niyogi
This posting is provided "AS IS" with no warranties, and confers no rights.
None
0 Points
17 Posts
Portal (C#) Want to create a new custom Module Definition
Aug 21, 2003 03:17 PM|rgreen425|LINK
Application Developer
Redmond, WA
Member
20 Points
287 Posts
Re: Portal (C#) Want to create a new custom Module Definition
Aug 23, 2003 02:14 AM|ShankuN|LINK
<script runat="server"> void Button_Click(Object sender, EventArgs e) { Response.Redirect(TextBox.Text); } </script> URL:
This posting is provided "AS IS" with no warranties, and confers no rights.
None
0 Points
17 Posts
Re: Portal (C#) Want to create a new custom Module Definition
Aug 29, 2003 01:05 PM|rgreen425|LINK
Application Developer
Redmond, WA