Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

i want to use flag for new record added where it show different from other records, i mean look n feel.

once its open/view all the records show as same.

similar to the concept of unread/read email.

Can anybody plzzz help me...

Thanks
Posted

you can use row_databound event of gridview or item databound event of repeater/datalist what ever u are using.

u can check the flag in this event can apply different style based on the flag.

than u can use style attribute of your id
Control.style.add("font-weight","bold");
 
Share this answer
 
Take an flag in db to maintain track of new & view records. Once particular is clicked to view update its flag value.

If you are using an grid control any data control to represent records then can use row data bound event to check flag values & make formatting according to that.

For understanding row data bound check this link
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900