Tangara G

Tangara G

  • 1.6k
  • 265
  • 53.9k

When to use EnableViewState = "true" ?

Nov 14 2016 2:00 AM
Dear experts,
 
I would like to know when to use EnableViewState = "true"..cos here are two lines of codes but only supplier is using and Category is not.
  1. "ddlSupplier" runat="server" onSelectedIndexChanged = "ddlSupplier_SelectedIndexChanged" EnableViewState ="true" AutoPostBack = "True">  
  2.   
  1. "ddlCategory" runat="server" OnSelectedIndexChanged="ddlCategory_SelectedIndexChanged" AutoPostBack="True">  
  2.   
tks. 

Answers (1)