This is a migrated thread and some comments may be shown as answers.

[Solved] Response.WriteFile() in RadGrid

1 Answer 147 Views
Grid
This is a migrated thread and some comments may be shown as answers.
firatbaran
Top achievements
Rank 1
firatbaran asked on 24 Jun 2009, 04:08 PM
Hello, I had a radgrid it has imagebutton some column. All columns created codebehind. Each imageButton has a file that downloadable by response.writefile() method. Method is running perfectly. But, when I click that buttons, page is not postback. therefore,  I am clicking image button, then I clicked radgrid pager button, page is postbacking, but It is not running first click.
I am Binding form in Page_Load,
 if(!Page.IsPostBack)
 {
    BindGrid()
 }

clause.
If i BindGrid every Page_Load (No, if(!Page.IsPostBack) clause), this time response.WriteFile() method not running.

I used javascript hidden field, session but they are not resolve my problem. (Because respons.WriteFile() is not  render the page.)


1 Answer, 1 is accepted

Sort by
0
firatbaran
Top achievements
Rank 1
answered on 26 Jun 2009, 01:34 PM
Tags
Grid
Asked by
firatbaran
Top achievements
Rank 1
Answers by
firatbaran
Top achievements
Rank 1
Share this question
or