[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

GridView Loosing formatting on postback.

Posted on 2007-03-21
1
Medium Priority
?
304 Views
Last Modified: 2007-03-28
I have used the griview_RowCreated event to change the backcolor of some rows based on data.  However when I select a row its posts back  I loose this formatting.  I have enableviewstate = true.
What do I have to do preserve the formatting of these rows.
0
Comment
Question by:DigitalDan3
1 Comment
 
LVL 28

Accepted Solution

by:
mmarinov earned 1500 total points
ID: 18764242
Have you tried to change the format in the RowDatabound instead of rowcreated?

Martin
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Loops Section Overview
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month18 days, 17 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question