code behind

code behind

szafarszafar Posts: 12Questions: 2Answers: 0

i having some issue in asp.net

i got a java script function $(document).on("click", '.pdfdoenloadtran', function (event) {

but need to run codebehind i looked at the web but cant find any example

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @szafar ,

    I'm not clear how this is related to DataTables?

    Cheers,

    Colin

  • szafarszafar Posts: 12Questions: 2Answers: 0
    edited February 2019
    {
                        'targets': 3,
                        'searchable': false,
                        'orderable': false,
                        'className': 'dt-body-center',
                        'runat':'server',
                        'render': function (data, type, full, meta) {
                          return '<img src="pic/IconsFiles/pdf download.jpg" width="15px;"  style = "cursor: pointer" class="pdfdoenloadtran" OnClientClick="CallServerMethod()" />';
    
                        },
    

    i need to use code behind and need some advice

This discussion has been closed.