Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I have a problem that how I able to write the following in aspx webform..
<input id="myname" text="@CurrentPage.NiceUrl" />
<asp:Label ID="label2" runat="server" Text=" ? " ></asp:Label>
Please help me , I tried a lot method but they are not working , how I get current url in label2 , and a lot other parameter as we pass in razor ..
Thanks Waiting for reply
Pradeep,
You can try and set it in the codebehind for the usercontrol using content service see https://our.umbraco.org/forum/developers/api-questions/60505-Umbraco-7-plus-nodefactory although how you get the current node your on im not 100%
Regards
Ismail
Hello everyone,
I found the solution and I am posting video link so its helpful for someone else ..
However the asp:label not working proper with umbraco tag i.e. = [#pageName]
We always need a macro to run the tags...
So I create a public property and pass them using following video and working now , .....
http://umbraco.com/help-and-support/video-tutorials/introduction-to-umbraco/developer-introduction/macro-parameters/TVPlayer
Thanks -Pk
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Simple Usercontrol Help
Hello,
I have a problem that how I able to write the following in aspx webform..
Razor
Web form
Please help me , I tried a lot method but they are not working , how I get current url in label2 , and a lot other parameter as we pass in razor ..
Thanks Waiting for reply
Pradeep,
You can try and set it in the codebehind for the usercontrol using content service see https://our.umbraco.org/forum/developers/api-questions/60505-Umbraco-7-plus-nodefactory although how you get the current node your on im not 100%
Regards
Ismail
Hello everyone,
I found the solution and I am posting video link so its helpful for someone else ..
However the asp:label not working proper with umbraco tag i.e. = [#pageName]
We always need a macro to run the tags...
So I create a public property and pass them using following video and working now , .....
http://umbraco.com/help-and-support/video-tutorials/introduction-to-umbraco/developer-introduction/macro-parameters/TVPlayer
Thanks -Pk
is working on a reply...