In a follow up to my previous question, I want to get the value of the hidden input field from the child page codebehind.
I tried HtmlInputHidden hdnID = (H
You should create a property in Masterpage which wrap the HiddenField.
public String HdnFieldValue
{
get
{
return hidField.Value;
}
set
{
hidField.Value = value;
}
}
And in page code behind you can access it like this:
((YourCustomMaster)Page.Master).HdnFieldValue
If something is not clear please ask me.