WebFlyPostBack problems

5 replies. Last post: November 2, 2009 3:52 AM by Glenn Layaar
Tags :
  • (None)

See the attached file with 3 examples

There are

  • WebInput
  • WebCombo
  • TextBox
  • Checkbox
In example 1 all controls are updated but the checkbox text gets repeated (this has been previously reported).

In example 2 the controls are in a Panel and work the same as in Example 1.

In example 3 the controls are in a Table within a Panel. Only the Textbox and checkbox are updated.
Someone please explain what is wrong.

Thanks
1 attachment

All Replies

A bug report has been submitted regarding the example #3, controls in a Table within a Panel. We will inform you if there is any update or progress regarding the issue.

The developer has just updated me regarding the issue, for ASP table, you will need to mark the container type in the FlyPostBackManager like so:

fpb.ClientAction.MarkTypeAsContainer(typeof(Table));
fpb.ClientAction.MarkTypeAsContainer(typeof(TableRow));
fpb.ClientAction.MarkTypeAsContainer(typeof(TableCell));

These line should be executed before triggering the WebInput and WebCombo RequireUIRefresh.


in VB the code is:

pb.ClientAction.MarkTypeAsContainer(GetType(Table))
fpb.ClientAction.MarkTypeAsContainer(GetType(TableRow))
fpb.ClientAction.MarkTypeAsContainer(GetType(TableCell))

I'm not marking this answered until someone can tell me where this is explained in the
Intersoft documentation.

Also, I'm still investigating why one WebCombo loses its style causing the dropdown arrow
to be displayed as a "6".

i've added an example 4 to fpbtest9. See the attached file. 

in this example the WebInput with the date loses its mask after you click Btn 4. When you click the button again there is a trap in client code.

1 attachment

Issue discussion is continued on this thread

All times are GMT -5. The time now is 2:22 AM.
Previous Next