Results 1 to 2 of 2
  1. #1

    Default ASP.Net: Problem on runtime checkboxes in panel


    Hello mga bro,

    I have a problem in ASP.Net. Based sa subject, this is the scenario:

    I have a submit button and an empty panel in my webform.

    During runtime I add checkboxes on the empty panel (if the page is not post back),
    the checked property for the checkboxes were the default which is false.
    Now, I tried to checked some checkboxes and click the submit button.
    My problem is when it reloads all the checkboxes were gone.

    Mao, nga ang akong gibuhat kay ako nalang ipang-add ang checkboxes didto sa panel bisan
    postback. Pero ang problema kay ang checked state sa mga checkboxes mubalik sa default which is false.

    Karon, mao na ang akong problema. Unsaon man nako nga magpabilin gihapon ang mga checkboxes ug
    ang ilahang mga checked state after ko moclick sa submit button.

    Thanks kaau sa mga replies.... Dugay pa ko makabasa sa reply..

    Thanks...


    "~!@#$%^&*()_+|"

  2. #2

    Default Re: ASP.Net: Problem on runtime checkboxes in panel

    Hi,

    Nasolve na ni, cge ra ko'g ginoogle hantod nakit-an rajud. Icheck ra diay kung naa ba control sa panel, kung naa dili i-add, kung wa i-add ang mga checkboxes:
    Code:
    if(!this.panelName.HasControls())
    {
    	this.loadTheCheckBoxes();
    }
    If you have another idea, please share. It will be very much appreciated..
    Thanks...

  3.    Advertisement

Similar Threads

 
  1. tutorials on ASP.net
    By gregory in forum Websites & Multimedia
    Replies: 5
    Last Post: 04-19-2013, 12:32 AM
  2. ASP.net C# problem..
    By shawn87chau in forum Programming
    Replies: 3
    Last Post: 11-26-2008, 10:40 AM
  3. Need help on ASP.NET
    By shawn87chau in forum Programming
    Replies: 3
    Last Post: 08-08-2008, 05:25 AM
  4. compilation error on asp.net
    By shawn87chau in forum Programming
    Replies: 2
    Last Post: 07-20-2008, 03:06 PM
  5. Replies: 4
    Last Post: 11-04-2006, 03:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top