Solved

How to Change UltraWebGrid Cell Value from a Menu Control on the same page

Posted on 2009-07-15
2
952 Views
Last Modified: 2013-11-15
I have an ultrawebgrid with a "status" column.  I want the user to be able to change the value of the Status cell in the most recently active row by clicking a menu option like "Completed" or "Cancelled."  The problem is that once I click on the menu the UltraGrid is no longer active and I can't figure out how to determine the index value of the most recently active row.  Once I have the index value I hope to do something like Me.UltraGrid1.Rows(index value).Cells(3).Value = "Completed."  I am also aware that I may need to store the activerow value somewhere else and access it from the menu code.

Please help me!!
0
Comment
Question by:ClayRankin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
Moed earned 250 total points
ID: 24929329
Just because the grid is not active doesn't mean there isn't a row active.  By default if the grid has at least 1 row then there is an active row object.  you should be able to use the gridname.activerow object to get to the row.

gridname.activerow.cells(3).value =  value
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question