Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionregarding reportviewer.....very urgent Pin
srishree27-Mar-07 10:31
srishree27-Mar-07 10:31 
QuestionOpen a PDF file Pin
rudemusik27-Mar-07 10:23
rudemusik27-Mar-07 10:23 
AnswerRe: Open a PDF file Pin
SABhatti27-Mar-07 10:31
SABhatti27-Mar-07 10:31 
GeneralRe: Open a PDF file Pin
rudemusik27-Mar-07 11:23
rudemusik27-Mar-07 11:23 
GeneralRe: Open a PDF file Pin
A.R.Bhagirathi27-Mar-07 20:20
A.R.Bhagirathi27-Mar-07 20:20 
GeneralRe: Open a PDF file Pin
Jay_se27-Mar-07 21:25
Jay_se27-Mar-07 21:25 
GeneralRe: Open a PDF file Pin
rudemusik28-Mar-07 3:27
rudemusik28-Mar-07 3:27 
QuestionImageButton in GridView TemplateField disappears when clicked [modified] Pin
cueshot27-Mar-07 9:54
cueshot27-Mar-07 9:54 
Hi,

I have a GridView with a TemplateField. The one control in the TemplateField is an ImageButton. It's a "Delete" button. The TemplateField and it's ImageButton are defined in the aspx page. However, there are some columns within the GridView that are being dynamically added, but not the TemplateField. It seems to bind and load fine on initial load of the page. Once the Delete button is clicked, though, the page does post back, but the ImageButton disappears and neither the GridView_RowCommand or ImageButton_Click events are triggered. In debugging I find the ImageButton is found on initial load during GridView_RowDataBound, but is not found (null), during the same event during PostBack. It also doesn't seem to matter whether, or not, I'm binding the GridView only during the initial load (!IsPostBack) or all the time. Is adding the other columns dynamically causing this? If so, how do I get around it? What am I missing?

Thanks


-- modified at 16:03 Tuesday 27th March, 2007

Rob

AnswerRe: ImageButton in GridView TemplateField disappears when clicked Pin
kubben27-Mar-07 10:16
kubben27-Mar-07 10:16 
GeneralRe: ImageButton in GridView TemplateField disappears when clicked Pin
cueshot27-Mar-07 10:19
cueshot27-Mar-07 10:19 
QuestionEditing gridview edititemtemplate with dropdownlist Pin
yonialhadeff27-Mar-07 9:30
yonialhadeff27-Mar-07 9:30 
QuestionNo Namespace in .NET 2.0 Pin
duaatul27-Mar-07 9:02
duaatul27-Mar-07 9:02 
AnswerRe: No Namespace in .NET 2.0 Pin
kubben27-Mar-07 9:44
kubben27-Mar-07 9:44 
AnswerRe: No Namespace in .NET 2.0 Pin
badgrs27-Mar-07 10:57
badgrs27-Mar-07 10:57 
QuestionText Editor Pin
netJP12L27-Mar-07 6:31
netJP12L27-Mar-07 6:31 
AnswerRe: Text Editor Pin
Not Active27-Mar-07 6:35
mentorNot Active27-Mar-07 6:35 
AnswerRe: Text Editor Pin
Sathesh Sakthivel27-Mar-07 6:39
Sathesh Sakthivel27-Mar-07 6:39 
AnswerRe: Text Editor Pin
ToddHileHoffer27-Mar-07 8:36
ToddHileHoffer27-Mar-07 8:36 
GeneralRe: Text Editor Pin
badgrs27-Mar-07 11:07
badgrs27-Mar-07 11:07 
GeneralRe: Text Editor Pin
netJP12L27-Mar-07 16:53
netJP12L27-Mar-07 16:53 
QuestionAjax toolkit Pin
Member 374156227-Mar-07 4:39
Member 374156227-Mar-07 4:39 
AnswerRe: Ajax toolkit Pin
Not Active27-Mar-07 5:03
mentorNot Active27-Mar-07 5:03 
GeneralRe: Ajax toolkit Pin
RichardGrimmer27-Mar-07 5:26
RichardGrimmer27-Mar-07 5:26 
AnswerRe: Ajax toolkit Pin
Kunal P27-Mar-07 6:57
Kunal P27-Mar-07 6:57 
Questionfile upload error Pin
saravanan0527-Mar-07 4:20
saravanan0527-Mar-07 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.