Stefan [MSFT]
Guest
|
Posted:
Sat Jan 15, 2005 5:21 am Post subject:
Re: Get value from a placeholder |
|
|
Hi Javier,
that is very simple:
create a custom placeholder control derived from (e.g.) a
HtmlPlaceholderControl object.
Then override the CreatePresentationChildControls method and implement an
method, that does nothing.
In addition override the LoadPlaceholderContentForPresentation method and do
a Response.Redirect to the Url.
If the popup: is in the placeholder content, register a client script
instead that opens a popup with this Url.
All over around 30 lines of code.
Cheers,
Stefan.
"Javier Ruiz" <javirs@asae.com.mx> wrote in message
news:D6BD3F97-A299-42AB-965E-77C93B90BBA4@microsoft.com...
| Quote: |
--
Hello Everyone
I need to implement a placeholder where the user puts a URL (like this
http://www.google.com) an redirects to this page and in the same
placeholder
when the user write "popup:" and then te URL its has to display a popup
Window.
I don't have any idea how can i do this!!! |
|
|