Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

ASP button popup


  • Please log in to reply

#1
DryCube

DryCube

    New Member

  • Member
  • Pip
  • 4 posts
Hey guys, i have this code im using in an ASP .NET (VB) page to a warning popup window, which works fine on its own.

Me.btnDelete.Attributes.Add("onclick", "return confirm('Are you sure you want to delete?';")

I want to put an asp:button in the asp:datagrid, and want the same warning. Of course you can't just declare its attributes this way when its in a datagrid, so i need to know how to set the attribute for it.

Thanks
Nick

Edited by DryCube, 26 August 2005 - 02:18 PM.

  • 0

Advertisements


#2
BuRnEr

BuRnEr

    Member

  • Member
  • PipPip
  • 48 posts
when you drag and drop datagrid in your applications there are two hyperlinks under the properies section, one of it auto format other one is like format or something dont choose automatic one when choose the other one the window is pop up than you can do what you re trying to do and you can do more!!!!!


take care
BuRnEr
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP