473,406 Members | 2,217 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,406 software developers and data experts.

Datagrid Item Delete Confirmation not working

Hi Experts,

All of sudden the delete confirmation is not working for me on my datagrid
(it was working 2 days ago..couldn't figure out the cause). I am trying to
add an 'onsubmit' attribute to the Delete link button (in the onItemCreated
event...and i tried with onItemDataBound event too)..

Is there something (some options/setting) i would have changed so that it is
not working for me suddenly.

Thanks
Nedu
Nov 18 '05 #1
4 1734
Hi Nedu,

Check that the "Handles DataGrid.ItemCreated" clause is still on your
subroutine handler.

I've had occasions when VS.NET has mysteriously removed that clause.
"Nedu N" <ne****@hotmail.com> wrote in message
news:OX*************@tk2msftngp13.phx.gbl...
Hi Experts,

All of sudden the delete confirmation is not working for me on my datagrid (it was working 2 days ago..couldn't figure out the cause). I am trying to
add an 'onsubmit' attribute to the Delete link button (in the onItemCreated event...and i tried with onItemDataBound event too)..

Is there something (some options/setting) i would have changed so that it is not working for me suddenly.

Thanks
Nedu

Nov 18 '05 #2
Hi Nedu,

Check that the "Handles DataGrid.ItemCreated" clause is still on your
subroutine handler.

I've had occasions when VS.NET has mysteriously removed that clause.
"Nedu N" <ne****@hotmail.com> wrote in message
news:OX*************@tk2msftngp13.phx.gbl...
Hi Experts,

All of sudden the delete confirmation is not working for me on my datagrid (it was working 2 days ago..couldn't figure out the cause). I am trying to
add an 'onsubmit' attribute to the Delete link button (in the onItemCreated event...and i tried with onItemDataBound event too)..

Is there something (some options/setting) i would have changed so that it is not working for me suddenly.

Thanks
Nedu

Nov 18 '05 #3
Nedu,

You may want to try this article I wrote on the subject:
http://builder.com.com/5100-6373-1049811.html

I don't know what your situation is without seeing some code, but I think
this will help you out.

Robert McLaws
ASP.NET MVP

"Nedu N" <ne****@hotmail.com> wrote in message
news:OX*************@tk2msftngp13.phx.gbl...
Hi Experts,

All of sudden the delete confirmation is not working for me on my datagrid (it was working 2 days ago..couldn't figure out the cause). I am trying to
add an 'onsubmit' attribute to the Delete link button (in the onItemCreated event...and i tried with onItemDataBound event too)..

Is there something (some options/setting) i would have changed so that it is not working for me suddenly.

Thanks
Nedu

Nov 18 '05 #4
Nedu,

You may want to try this article I wrote on the subject:
http://builder.com.com/5100-6373-1049811.html

I don't know what your situation is without seeing some code, but I think
this will help you out.

Robert McLaws
ASP.NET MVP

"Nedu N" <ne****@hotmail.com> wrote in message
news:OX*************@tk2msftngp13.phx.gbl...
Hi Experts,

All of sudden the delete confirmation is not working for me on my datagrid (it was working 2 days ago..couldn't figure out the cause). I am trying to
add an 'onsubmit' attribute to the Delete link button (in the onItemCreated event...and i tried with onItemDataBound event too)..

Is there something (some options/setting) i would have changed so that it is not working for me suddenly.

Thanks
Nedu

Nov 18 '05 #5

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

Similar topics

3
by: Chumley the Walrus | last post by:
IN my code behind .vb page for a delete records script (this also does a deletion confirmation with a javascript popup, this gets called on my front .aspx page with the datagrid), I'm not sure if...
0
by: Nedu N | last post by:
Hi Experts, All of sudden the delete confirmation is not working for me on my datagrid (it was working 2 days ago..couldn't figure out the cause). I am trying to add an 'onsubmit' attribute to...
1
by: Harry Devine | last post by:
I have a DataGrid that is configured to use the Edit/Update/Cancel concept correctly. My grid shows values from 5 database fields. I only need to update that last 4 fields. The last field is a...
6
by: JenHu | last post by:
Hi experts, I want to add a delete button in my datagrid, and before it deletes from database, I want to have a confirm dialog box for this deletion. I am entry level to the vb.net, and don't...
1
by: jason | last post by:
The guts of the below asp.net vb code was pieced together from another thread - all due credit to it's original author. Thank you! I've modified it to maintain a small local Microsoft 2000...
4
by: DrData | last post by:
I'm working on an ASP.Net application written in C#. On one page, there are several datagrid controls used to display, edit and delete detail records relating to the master record also displayed on...
5
by: Jeff User | last post by:
Hello ..NET 1.1, VS 2003, C# & asp.net I have tried to follow msdn instructions and samples but I can not get an event to fire for this button on the datagrid. There has to be something obvious...
2
by: simon_eyer | last post by:
Hi, I use a datagrid with a delete command. I create a validation on the delete command and i have a problem: the confirmation message is supposes to appear each time I do this command but it...
4
by: mamun | last post by:
Hi All, I have the following situation and am looking for answer in C#. I have a datagrid and putting checkbox next to each record. In the header I have a Delete button. I want users to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.