Click here to Skip to main content
15,898,374 members

Comments by Shadow codder (Top 2 by date)

Shadow codder 29-May-14 3:22am View    
still wont go to the function from row data bound means it wont pass through the if condition for edit
if ((e.Row.RowState & DataControlRowState.Edit) > 0)
{
Shadow codder 29-May-14 0:14am View    
I have done all those ways , I keep getting this error :
Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
and its only go a ways when I put both template mode and edit mode as DDL but I want to put template more Label and edit mode DDL