Re: HeadTemplate UserControl State



Hi Anthony,

To make the web pages remember or maintain the values on postback
you need to set the Enable.ViewSate property to True.

HTH

Mona[Grapecity]


"Crosscourt" <noreply@xxxxxxxxxx> wrote in message
news:%238TyyIlYFHA.1344@xxxxxxxxxxxxxxxxxxxxxxx
> If i have a template column with a template header whoch contains a Label
> Control,
> The datagrid seems to regenerate the labels on postback. How can i force
> it to remeber the text property if it was changed dynamically?
>
> Anthony
>


.



Relevant Pages

  • Re: HeadTemplate UserControl State
    ... This is in the column header where i try to have an arrow for the sorting. ... However, when i rebind & postback, the label text is gone. ... >> If i have a template column with a template header whoch contains a Label ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • HeadTemplate UserControl State
    ... If i have a template column with a template header whoch contains a Label ... The datagrid seems to regenerate the labels on postback. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: BackColor binding does not work on postback
    ... BackColor binding does not work on postback ... the issue is with the Label control, not a textbox ... I have the following label markup: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Postback caused by pressing the "enter" key
    ... I can see the label change to what i expect ... Is pressing enter and causing a postback something anyone else has ... How can I prevent the form performing a postback when the enter key ...
    (microsoft.public.dotnet.framework.aspnet)
  • Cannot get Client Side VBscript variables to ASP.NET page
    ... I have the following code where there is some client side VBScript that ... When the page is updated through a postback, ... the variable for the Label text field is blank. ... sub FindDVD ...
    (microsoft.public.dotnet.framework.aspnet)

Loading