CodeChargenewbie
Posts: 114
|
| Posted: 12/28/2007, 7:58 AM |
|
Okay, very simple: I have an editable grid. There is custom code onclick event on the server-side for the submit button. At the moment, all I am trying to do is print a form value to the screen. I've done this many times in my other pages, but it's not working now. The name of the control value is Number, who's value is 2. The name of the form is, say, newform. And here is the code:
print $newform->Number->GetValue();
When I click on the submit button, the page refreshes but nothing is printed. For some reason, it doesn't recognize form values. However, I can print session variables. But form values don't work. Again, I am working with an editable grid, and it is the only entity on the page. I don't have records or other grids or anything like that. Just one editable grid called newform. Is there something I'm missing?
|