Fun With Panel Control
Panel Control is useful control in Mobile Programming and till now, we hadn't explore it.
Panel Control is a useful control in mobile programming and till now, we hadn't explore it. Ok, so this topic is dedicated to the Panel Control. You can do everything in one Form with different Style make the controls visible or invisible.
Actually when I was traveling just out of inquisition and usual habit of talking, I asked a kid "So Boss, what do you want in your Mobile" and you won't believe what he replied to me. He said, "KBC" whoever in India no need to tell them what these three stands for while for others. I will expand this stands for "Kaun Banega Crorepati" a popular quiz show. An Indian version of "Who wants to be a millionaire". So this is my first Step to that Demand.
// Source Code starts
<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage"Language
<%@ Register TagPrefix="mobile"Namespace="System.Web.UI.MobileControls
<script language="c#" runat="server">
public void SubmitBtn_Click(Object sender, EventArgs e)
<mobile:Panel id="panel1" runat="server" Font-Bold="true">
<mobile:Label id="Label1" runat="server">
Name Capital of India
<mobile:TextBox runat="server" id ="TextBox1"/>
<mobile:Command runat="server" id="Button" OnClick="SubmitBtn_Click"> Lock It
<mobile:Panel id="panel2" visible="false" runat="server" Font-Italic="true">
<mobile:Label id="Label2" runat="server"/>
// Source Code End