HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1datagrid in vs2003datagrid in vs2003
Previous
 
Next
New Post
10/23/2008 4:49 AM
 

 

Hi,

I am using asp.net with c# on VS2003 version.

Explanation:

1.      At runtime items are listing on the datagrid with checkboxes.

2.      I have two buttons(Delete, Cancel) on my form.

3.      Delete button(event):

a.    When I will click Delete button: - The checked checkbox items need to delete in Alert messagebox (For example: “Are u sure the selected items will delete?”).

b.   If I click Ok option on alert message box. It will delete the selected checkbox items.

c.   if I click Cancel option on alert message box. The selected checkbox items will not delete.
 

4.      Cancel Button(Event):

                a. The selected items will not be deleting. And will cancel/reset checked marks.(tic marks on checkbox)

My Kind request to helpers : Please send me a code for my related questions or ideas.


Thanks

 
New Post
10/24/2008 10:00 AM
 
I'm not sure about understanding the problem...

You can always do it in

you get all the checked checkboxes into an array, like [id, itemText], and then build a string with the listing to write/show in the "confirm()".

if the result of the confirm is true (delete), then you let it delete the items (ids already selected in the array), if not, don't don anything, or uncheck all the checkboxes...

hope the hint helps you
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1datagrid in vs2003datagrid in vs2003


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.