473,387 Members | 1,572 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,387 software developers and data experts.

Run delete msgbox.

Hi, Good Day!

I need to display a msgbox asking user whether to delete a record or not
using javascript.
It works fine.

Later on user request to add in more info in that msgbox, displaying records
info like employee no, employee name, i.e. i need this msgbox to be display
during runtime & not during pageload.

I throw the javascript to be display in the Datagrid_Deleterow module but it
required user to click the "delete" button twice in order to get the msgbox
to be displayed.

Can someone help?
Thanks in advanced.

rgds,
Phoebe.

Nov 20 '05 #1
3 1245
Cor
Hi Phoebe,

When you are mixing clientside programming with serverside programming and
you are talking about complex controls, I cannot believe that someone on a
newsgroup can help you to a solution.

This needs a lot of debugging, knowing exactly what you want, deep knowledge
of JavaScript, deep knowledge of the webform datagrid, deep knowledge of the
other webform controls, deep knowledge of the Page class, deep knowledge of
VB.net (or another serverside Net language).

I would first try if you cannot do it on the serverside if I was you.
But just my thought.

Cor

I need to display a msgbox asking user whether to delete a record or not
using javascript.
It works fine.

Later on user request to add in more info in that msgbox, displaying records info like employee no, employee name, i.e. i need this msgbox to be display during runtime & not during pageload.

I throw the javascript to be display in the Datagrid_Deleterow module but it required user to click the "delete" button twice in order to get the msgbox to be displayed.

Can someone help?
Thanks in advanced.

Nov 20 '05 #2
Thanks Cor.

I really didn't think of it's complicity which mixing clientside &
serverside programming.

Anyway, thanks for your explanation.

"Cor" <no*@non.com> wrote in message
news:OP**************@tk2msftngp13.phx.gbl...
Hi Phoebe,

When you are mixing clientside programming with serverside programming and
you are talking about complex controls, I cannot believe that someone on a
newsgroup can help you to a solution.

This needs a lot of debugging, knowing exactly what you want, deep knowledge of JavaScript, deep knowledge of the webform datagrid, deep knowledge of the other webform controls, deep knowledge of the Page class, deep knowledge of VB.net (or another serverside Net language).

I would first try if you cannot do it on the serverside if I was you.
But just my thought.

Cor

I need to display a msgbox asking user whether to delete a record or not
using javascript.
It works fine.

Later on user request to add in more info in that msgbox, displaying records
info like employee no, employee name, i.e. i need this msgbox to be

display
during runtime & not during pageload.

I throw the javascript to be display in the Datagrid_Deleterow module

but it
required user to click the "delete" button twice in order to get the

msgbox
to be displayed.

Can someone help?
Thanks in advanced.


Nov 20 '05 #3
* "Phoebe." <ph********@hotmail.com> scripsit:
I need to display a msgbox asking user whether to delete a record or not
using javascript.
It works fine.

Later on user request to add in more info in that msgbox, displaying records
info like employee no, employee name, i.e. i need this msgbox to be display
during runtime & not during pageload.

I throw the javascript to be display in the Datagrid_Deleterow module but it
required user to click the "delete" button twice in order to get the msgbox
to be displayed.


ASP.NET group:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

3
by: Asif Rahman | last post by:
Hi all! Please improve on the following code to make sure the record gets deleted only when the function returns false. Now I see the msgbox, but the record gets deleted no matter the user...
8
by: Steve | last post by:
I have several pairs of synchronized subforms in an application. I have a Delete button for each pair that uses the following code or similar to delete a record in the second subform: ...
3
by: Uwe Range | last post by:
Hi to all, I am displaying a list of records in a subform which is embedded in a popup main form (in order to ensure that users close the form when leaving it). It seems to be impossible to...
24
by: biganthony via AccessMonster.com | last post by:
Hi, I have the following code to select a folder and then delete it. I keep getting a Path/File error on the line that deletes the actual folder. The line before that line deletes the files in...
2
by: Swinky | last post by:
I have added a delete control to my form with code in the On Click property. The delete works well, but if I cancel the delete action, the record is still deleted. Here's the code: MsgBox...
1
by: Swinky | last post by:
I have added code to delete a record (and records in related tables) in the OnClick property: MsgBox "Confirm delete. Once you confirm, record will no longer exist.", vbOKCancel strSQL =...
4
by: Swinky | last post by:
I have added code to delete a record (and records in related tables) in the OnClick property: MsgBox "Confirm delete. Once you confirm, record will no longer exist.", vbOKCancel strSQL =...
4
by: Craggy | last post by:
Hi, I am trying to pop up a yes/no message box so that a user can delete a record in a continuous form. The default delete message is a bit sloppy because it seems to move the continuous form to...
2
kcdoell
by: kcdoell | last post by:
Hello I have a code where I want to delete the records that are found in my DAO recordset. I took a stab at this for the first time and got it to work but it is only delete one record at a time. If...
10
beacon
by: beacon | last post by:
Hi everybody, This is probably going to sound unorthodox, but I have to log records that are deleted...I know, go figure. Anyway, I have a form with a (continuous) subform, and on the subform I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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...

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.