You must Sign In to post a response.
  • Category: ASP.NET

    How to find nested or child repeater in asp.net using jquery or javascript

    hi,
    how to hide or show nested or child repeaters in asp.net using jquery or javascript
  • #769549
    Hi Sadiq,

    Which control you want to hide or show in a repeater control just add a dummy class name to that control like this, class='showorhideclass'

    After that, whenever you click a button call a javascript function and hide or show based on the class name. Whatever control has that class name it will be hide or show or whatever you want to do. Refer the code,


    $(".showorhideclass").css("display","none");

    If you want to get each control as a for object then use the below code,
    $(".showorhideclass").each(tobj,function(){
    //here you can find your object $(this) and write whatever you want.
    });


    Let me know if you have any questions.

    Regards,
    V.M. Damodharan
    "Your talent will be worthless, when you have fear and tension."


  • Sign In to post your comments