Go to DotNetFunda.com
<<= Please see left side tutorials menu.


Silverlight Tutorials | Report a Bug in the Tutorial

Found interesting? Add this to:

| More

asp:HiddenField control
HiddenField is used to create a hidden field in the form.
 
Ideally HiddenField is used to create a hidden field in the form. When it is rendered on the page, it is implemented through <input type=hidden> HTML tag.
DEMO : HiddenField Show Source Code
Ex. Example of Label Control
            <asp:HiddenField ID="HiddenField1" runat="Server" Value="This is the Value of Hidden field" />
            <asp:Button ID="Button1" runat="Server" OnClick="ChangeLabelText" Text="Change Label Text to Hiidden Field Value" />                                        
                    
            // CODE BEHIND
            // Fires when Button is clicked
            protected void ChangeLabelText(object sender, EventArgs e)
            {
                Label1.Text = hiddeFieldValue.Value;
            }
                    




About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 4:05:10 AM