Author: judes benance | Posted on: 11/10/2009 12:14:08 AM | Views : 455

I am creating a file and need to open the file.After creating i added the file name to a dynamic linkbutton and bind that with into palceholder control,am giving the command argument for this linkbutton as 
lbtn.CommandArgument = _path;//path=file name path
lbtn.CommandName = _filename;//file name

also adding a delegate as
lbtn.Click += new EventHandler(lbtn_click);
.I need to raise the a click event on that linkbutton click.
but only the postback is happeningn the click event is not raising
the code is
************************************
tbl = new Table();
        TableRow tblRow = new TableRow();
        TableCell tblCellFilename = new TableCell();
        LinkButton lbtn = new LinkButton();
        lbtn.ID = "lbtn" + i;
   &nb ...

Go to the complete details ...