ASP.NET radgrid pre render event
Can any one tell me the things happening in this section,,Why they are making item as invisible
protected void rgStateTax_PreRender( object sender, EventArgs e )
{
if( rgStateTax.MasterTableView.IsItemInserted )
{
foreach( GridItem item in rgStateTax.Items )
{
item.Visible = false;
}
}
if( rgStateTax.EditItems.Count > 0 )
{
foreach( GridDataItem item in rgStateTax.Items )
{
if( item != rgStateTax.EditItems[0] )
{
item.Visible = false;
}
}
}
}
here rgStateTax is rad grid and,,PreRender is the event before the page is actually displayed on the screen rite?.
Status:
Open Apr 06, 2009 - 04:27 AM
Yahoo, excel, Screen, prerender, render
3answers
Answers
Apr 30, 2009 - 06:48 AM
item.Visible = false;
You should change "false" to "true"
May 22, 2009 - 07:49 AM
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.
The Quomon Team
Dec 28, 2010 - 08:40 PM
Well, I’m sorry I can't understand so complicated VB words, but if you have internet connection problems, you can try the software tuneup360, which is really helpful~~
Answer this question
Share Your Own Experience & Expertise
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
Add New Comment