Developer forum

Forum » Development » Get only page ID from LinkManager Control

Get only page ID from LinkManager Control

António Ramos
Reply

Hi guys,

I have a Link Manager Control (see below) and when i make Properties.get_Value("ConfirmationRedirectPage") it returns the whole URL ie: "Default.aspx?ID=111".

<dw:LinkManager runat="server" DisableFileArchive="True" DisableParagraphSelector="True" ID="ConfirmationRedirectPage" />

What can i make (without Split) to this field for return only the ID... Like ie. the "Select Only ID" from item types.

Best regards,

António Ramos


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Antonio

You can use Dynamicweb.Base.GetInternalPageID(str)

Votes for this answer: 1
 
António Ramos
Reply

Thank you.

BR,

António Ramos

 

You must be logged in to post in the forum