CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Just a dumb question

Print topic Send  topic

Author Message
Mango_Lier


Posts: 110
Posted: 08/30/2006, 2:33 PM

Using the "order entry" example from the CCS3 sample, I am trying to build a master detail page. I think I am following all the steps, but the end result is that when I click on the "Add Item" button, I get a new row to enter data but then the new row disappers with a page refresh.

I think, I have missed something in the tutorial, can anyone point me to the missed step.



View profile  Send private message
wkempees


Posts: 1679
Posted: 08/30/2006, 3:21 PM


Just a wild guess:
You are describing an EditableGrid, with rows of data and one empty row to enter new data in.
You enter data in the empty row, press AddItem and then are presented with rows of data and one empty row to enter new data in.

Your entered data has dissapeared.

I would check the databse to see if the new data has indeed NOT been entered, if the data is in the table and not on the screen than it is the sort order that is fooling you.

Walter




_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
Mango_Lier


Posts: 110
Posted: 09/01/2006, 10:32 AM

Sorry for the late response, yes I was talking about the editable grid. The problem turned out to be that in Step 18 of the tutorial, when I place a button from the "Forms" tab, the "type" property of the button shows up as "Submit" on the format tab instead of "Button". Once I made the change, the tutorial worked like a charm.

Have another question though

I put two editable grids on the same page using the same tutorial, however when I am done, when I click on the "Add Item" button on the second editable grid, a new row appears on the first grid. I am suspecting that a change is required in the OnClick client handler of the second button. Any ideas?
View profile  Send private message
WKempees
Posted: 09/02/2006, 3:11 AM

Why do you keep adding your own Button?
There is a Submit button standard on the editable grid, that Button will
cater for your update dalete and insert all in one.

From your description your second grids AddItem Button is bound to the First
Grid.


"Mango_Lier" <Mango_Lier@forum.codecharge> schreef in bericht
news:644f86ebd7fc67@news.codecharge.com...
> Sorry for the late response, yes I was talking about the editable grid.
> The
> problem turned out to be that in Step 18 of the tutorial, when I place a
> button
> from the "Forms" tab, the "type" property of the button shows up as
> "Submit" on
> the format tab instead of "Button". Once I made the change, the tutorial
> worked
> like a charm.
>
> Have another question though
>
> I put two editable grids on the same page using the same tutorial, however
> when
> I am done, when I click on the "Add Item" button on the second editable
> grid, a
> new row appears on the first grid. I am suspecting that a change is
> required in
> the OnClick client handler of the second button. Any ideas?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.