How to display popup from code-behind in ASP.net ?

Posted by user359706 on Stack Overflow See other posts from Stack Overflow or by user359706
Published on 2010-06-07T18:50:27Z Indexed on 2010/06/07 18:52 UTC
Read the original article Hit count: 156

Filed under:

hello

I wonder how it would be possible to launch a series of popups, containing a form, from code-behind.

I possess a list of objects 'Products'

and I wish I could change one property (quantity) of each "product".

Here's how I build my list (normally I use a database).

Private List<Product> listProduct;


    listProduits = new List<Product>();

    Product objProduit_1 = new Produit;

    objProduct_1.ref = "001";
    objProduct_1.article = "G900";
    objProduct_1.quantity = 30;

    listProducts.Add(objProduct_1);

    ProductobjProduit_2 = new Product;

    objProduct_2.ref = "002";
    objProduct_2.article = "G900";
    objProduct_2.quantity = 35;

    listProduits.Add(objProduct_2);

And I would like displayed popup one after one.

Thank you in advance for your help

© Stack Overflow or respective owner

Related posts about ASP.NET