473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FooterRow Visibility In GridView

I am trying to control the visibilty of the footerrow, but having little
luck. I am currently at this.

if (e.CommandName == "Update")

{
PropertyGridView.FooterRow.Visible = true;

}

if(e.CommandName == "Edit")

{
PropertyGridView.FooterRow.Visible = false;

}

But I also have tried it in every event the gridview has with no avail. I
want the footer to dissappear in edit mode, but to reappear on update or
cancel. Any clue on how to make this work. The footer contains my add row
function.
Aug 9 '06 #1
1 2372
Any help here?

"Microsoft News Group" <mf****@cvmediaonline.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>I am trying to control the visibilty of the footerrow, but having little
luck. I am currently at this.

if (e.CommandName == "Update")

{
PropertyGridView.FooterRow.Visible = true;

}

if(e.CommandName == "Edit")

{
PropertyGridView.FooterRow.Visible = false;

}

But I also have tried it in every event the gridview has with no avail. I
want the footer to dissappear in edit mode, but to reappear on update or
cancel. Any clue on how to make this work. The footer contains my add
row function.


Aug 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
12
by: lawrence | last post by:
The following function correctly makes everything invisible but then fails to turn the one chosen DIV back to visible. I imagine I'm getting the syntax of the variable wrong? I've tried this with...
4
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
8
by: TTroy | last post by:
I have a few questions about "scope" and "visibility," which seem like two different things. To me "visibility" of the name of a function or object is the actual code that can use it in an...
4
by: mail | last post by:
Hi I'm very new to asp.net and I'm trying to make a little program for learning purpose. I want to read an XML File and get some data that is stored in it. (The XML-File isn't always the same so...
3
by: =?Utf-8?B?Ym9iYnk=?= | last post by:
My following code is not working I have a gridview that contains a linkButton in a template field. I want to set the visibility of the linkbutton based on a int field in a database. Selecting...
2
by: bsaira | last post by:
Hi, I am bugged up by this problem , struggling a lot to get it through . I am using a GridView that is populated with data from database. It is being placed in a content place holder. The...
5
by: jc | last post by:
I have a situation where I need to condition gridview item visibilty after they've been created and after a textbox on page has a value. What's the best way to do this in VB.NET? Any code sample? ...
10
by: btreddy | last post by:
Hi.. I've a gridview with a footer row contains two textboxes and one button for inserting the new records to the gridview. I want to validate the values of these text boxes on client side ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.