Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Joe Rattz #1
HeaderText changed during PreRender does not render
I am trying to programatically change my HeaderText. I
can change the foreground and background colors and
everything render fine. But, if I change the HeaderText
in PreRender, the header will not actually render with the
text I set it to. Oddly, on the next postback, the
subsequent render will reflect the HeaderText change I set
from the previous postback.
Does anyone know what is going on here?
Thanks.
Joe Rattz Guest
-
Can I set HeaderText on the fly?
Here's the columns in my dg: <Columns> <asp:BoundColumn DataField="Name" HeaderText="Area Manager"> <HeaderStyle Width="200px"></HeaderStyle>... -
change HeaderText of DataGrid in PreRender().
I need change HeaderText of DataGrid in PreRender(). But it seems doesn't work. The code example like this: Protected Overrides Sub... -
Should I use the PreRender event
I have several user controls where I am not using viewstate. In the OnLoad, I call functions that will take the data out of the form fields and... -
ValidationSummary ShowMessageBox HeaderText ?
If I use a ValidationSummary with ShowMessageBox set true, the HeaderText does not appear on the message box, neither in the title bar nor in the... -
Assigning events in PreRender
I have at last found a kind of solution to the problem in adding all the conditional controls and making the unwanted controls invisible in...



Reply With Quote

