473,508 Members | 2,046 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 1672
check out by enabling the traceMode for the page.

<%@Page language="c#" Codebehind="ViewFlow.aspx.cs" Trace="true"
TraceMode="SortByCategory">

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="ViewFlow.aspx.cs" Trace="true"
TraceMode="SortByCategory">
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.gmail.comwrote
in message news:uQ*************@TK2MSFTNGP06.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.gmail.com>
wrote in message news:%2****************@TK2MSFTNGP02.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
964
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...
0
1038
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...
8
3870
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 =...
13
2072
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...
3
2277
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...
0
7226
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,...
1
7049
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...
0
7499
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...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
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...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
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 ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.