Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Doubleclick event in DataView

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Zopers - 12 Feb 2008 07:41 GMT
Hello,

I have a html table and each row in it shows a record. Below the table
there is an asp:button. When the user clicks on the button, a form is
openened where the user can view or edit the selected row/record in the
table.

It should also be possible for a user to doubleclick on a row, this
should have the same effect as selecting a row and clicking the edit
button.

From client side / javascript this is easy to accomplish, but I would
like to do this without javascript/client-side script.

So I have a html table (may be changed to a DataView if that's easier),
and an asp:button. Is there a way to do this without javascript?

Greetings,
Chris
Michael Nemtsev [MVP] - 12 Feb 2008 10:40 GMT
Hello Chris,

see sample there http://aspadvice.com/blogs/joteke/archive/2006/01/07/14576.aspx
but using javascript is rather elegant way

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

CZ> Hello,
CZ>
CZ> I have a html table and each row in it shows a record. Below the
CZ> table there is an asp:button. When the user clicks on the button, a
CZ> form is openened where the user can view or edit the selected
CZ> row/record in the table.
CZ>
CZ> It should also be possible for a user to doubleclick on a row, this
CZ> should have the same effect as selecting a row and clicking the edit
CZ> button.
CZ>
CZ> From client side / javascript this is easy to accomplish, but I
CZ> would like to do this without javascript/client-side script.
CZ>
CZ> So I have a html table (may be changed to a DataView if that's
CZ> easier), and an asp:button. Is there a way to do this without
CZ> javascript?
CZ>
CZ> Greetings,
CZ> Chris
CZ> *** Sent via Developersdex http://www.developersdex.com ***
CZ>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.