473,569 Members | 3,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataView Button Event

Hi

What event is raised when the user click on a regular (not delete, edit
buttons) within the control

Thank you,
Sam
Jan 25 '07 #1
7 1676
check out by enabling the traceMode for the page.

<%@Page language="c#" Codebehind="Vie wFlow.aspx.cs" Trace="true"
TraceMode="Sort ByCategory">

Jan 25 '07 #2
What event is raised when the user click on a regular (not delete, edit
buttons) within the control
None.
You need to add the button in command mode.
Associate a CommandName and CommandArgument with the button and then handle
the RowCommand event.

btw, I'm assuming that you are talking about GridView (DataView has no such
events :D)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
Jan 26 '07 #3
check out by enabling the traceMode for the page.
>
<%@Page language="c#" Codebehind="Vie wFlow.aspx.cs" Trace="true"
TraceMode="Sort ByCategory">
What does traceMode have to do with this?
I'm terribly confused :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
Jan 26 '07 #4
Yes, it is the GridView

Thank you,
Samuel
"Gaurav Vaish (MasterGaurav)" <ga************ *****@nospam.gm ail.comwrote
in message news:uQ******** *****@TK2MSFTNG P06.phx.gbl...
>What event is raised when the user click on a regular (not delete, edit
buttons) within the control

None.
You need to add the button in command mode.
Associate a CommandName and CommandArgument with the button and then
handle the RowCommand event.

btw, I'm assuming that you are talking about GridView (DataView has no
such events :D)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------


Jan 26 '07 #5
Yes, it is the GridView

btw, did it work?
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Jan 27 '07 #6
the trace? did give me any clue and the edit did

"Gaurav Vaish (www.edujini-labs.com)" <ga************ *****@nospam.gm ail.com>
wrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>Yes, it is the GridView

btw, did it work?
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------


Jan 27 '07 #7
the trace? did give me any clue and the edit did
>
Great that it "did" :)
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Jan 28 '07 #8

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

Similar topics

0
968
by: Alex | last post by:
I am using the following code to add confirmation code to delete buttons in a datagrid Private Sub masterDataGrid_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles masterDataGrid.ItemCreated Select Case e.Item.ItemType Case System.Web.UI.WebControls.ListItemType.Item,...
0
1043
by: Rog | last post by:
Hi I'm having a problem with the above. I get different behaviour depending on what triggers the method call. Let me explain. I have a gridview on a form, with a save button. Both the click event from this button, and the event from clicking the top right close X (_Closing) trigger the same code :
8
3879
by: Dave Hagerich | last post by:
I'm using a DataGrid with a DataSet and I'm trying to filter the data being displayed, using the following code as a test: DataView theView = new DataView(theDataSet.Tables); theView.RowFilter = "'Record ID' = '0'"; theView.RowStateFilter = DataViewRowState.ModifiedCurrent; Debug.WriteLine(string.Format("RowFilter = {0}",...
13
2083
by: Steve | last post by:
I have a form with a dataset and a datagrid. I created a dataview on this dataset. When the user modifies the datagrid, I look up this record in the dataview to make sure it is unique. Here is the confusion......... I thought that the DataView is the view from the dataset, but it seems that the dataview has the records that are in the...
3
2279
by: tirath | last post by:
hi, I have a DataView which has around 50 items(the page has scrollbars). there is a search box on top of the page. when user enters an Id, i do DataView.find("Id"). I get the row index but i need to highlight this row and set focus on this row. that means my page might have to scroll down if the id that is searched happens to be the 45th...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.