ASP.NET Enabled गुण

विन्यास और उपयोग

Enabled गुण संयोजक या निष्क्रिय करने के लिए उपयोग किया जाता है।

व्याकरण

<asp:webcontrol id="id" Enabled=true|false runat="server" />

इन्स्टांस

इस उदाहरण में button कंट्रोल निष्क्रिय करना दिखाया गया है:

<html>
<body>
<form runat="server">
<asp:Button id="Button2" Enabled=False Text="Submit" runat="server"/>
</form>
</body>
</html>

इन्स्टांस

बटन कंट्रोल निष्क्रिय करें