|
by: Amelyan |
last post by:
What is the common way in ASP.NET C# to pop up a confirmation dialog box?
E.g.
Are you sure you want to delete this item?
Yes No
|
by: Suzanne |
last post by:
I'd like to know how can I put up a confirmation question when the
user tries to delete a row in the datagrid by clicking on the row
header and pressing the Delete key?
I have found this code on a windows forms FAQ site :
Public Class DataGrid_Custom
Inherits DataGrid
Private Const WM_KEYDOWN = &H100
|
by: Joey |
last post by:
I am using a datagrid with a SELECT button to determine which record to
delete. The code behind pulls the selected item's record number (via a
hidden column) in the grid with SelectedItem.Cells.Text, and then
uses a stored procedure to delete the record.
I need to wire up a javascript confirmation dialog (Are you sure you
want to delete this record? Yes/No) to it. Any suggestions on how to do
this?
|
by: steggun |
last post by:
How To: Popup Confirmation Dialog & Redirect in LinkButton_OnClick
Hello All,
I have a ASP.NET 2.0 (C#) web form with a LinkButton control. In the
server-side code for the LinkButton_OnClick event, I need to do some
processing and, if it succeeds, popup a confirmation dialog and redirect to
a different page. How can I do this?
Here's some pseudo-code:
|
by: Amil Hanish |
last post by:
In VS 2003, when I would delete all breakpoints or bookmarks, there was no
confirmation and it was quick and easy via shortcut keys.
In VS 2005, it always pops up a confirmation dialog when I do this. Is
there a way to disable this prompting?
Amil
|
|
by: pardesiya |
last post by:
Hi Folks,
I have an aspx webform with several controls and a 'Save' button to
save product details. When the user clicks on the 'Save' button, my C#
code behind connects to a Sybase database (via oledb) and checks if a
product with the same name already exists. If it does't exist the code
inserts a new record. But if it does then I want to ask the user,
using a confirmation dialog or by some other means, if the product is
to be...
|
by: Tomislav |
last post by:
Hello,
I tried to use "javascript:return confirm();" function in following
manner ( triggered by form onSubmit event ):
**
<form method="post" action="mail.php" onSubmit="javascript:return
confirm('Do you really want to send this order ?);">
|
by: ganesh22 |
last post by:
Sir:
My requirement is display the xml document in asp.net their user can add,update,delete.so based on my requirement i display the xmlfile in <iframe> control i want to edit and delete there but the control<iframe> didnot editable it just readonly so plz help me
|
by: quangnd0003 |
last post by:
I have a event to Cancel Delete of user :
private void dataGridViewKV_UserDeletingRow(object sender, DataGridViewRowCancelEventArgs e)
{
string maKV = e.Row.Cells.FormattedValue.ToString();
string tenKV = e.Row.Cells.FormattedValue.ToString();
string message = string.Format(
"Are you sure want to delete {0} ?",
tenKV,
maKV);
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|