ASP.NET 2.0 GUI templates released! (beta) (Last updated: 09-jan-2007)

Posts   
1  /  2
 
    
ATXOOM
User
Posts: 2
Joined: 20-Feb-2007
# Posted on: 20-Feb-2007 16:17:35   

Hi again,

This occurs in every EditXxxx.ascx, SearchXxxxx.ascx. for example:

<td class="content">
  <asp:textbox id="tbxUnitOrder" runat="server" maxlength="20" size="20" Text='<%# Bind("UnitOrder") %>' ValidationGroup="InsertValidations"  CssClass="required"/> * <asp:RegularExpressionValidator ID="valUnitOrder" runat="server" ValidationGroup="InsertValidations" ControlToValidate="tbxUnitOrder" Display="dynamic" ValidationExpression="\+?(\d) CssClass="required"" ErrorMessage="Invalid value"/> <asp:RequiredFieldValidator ValidationGroup="InsertValidations" ID="reqUnitOrder" runat="server" ControlToValidate="tbxUnitOrder" Display="Dynamic" ErrorMessage="Required" />
</td>

I found the problem when trying to edit an existing item: the correct integer value entered was refused.

I'm using LLBLGen Pro 2.0.0.0 Final freshly upgraded to release "Feb 14th, 2007".

Didier

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39615
Joined: 17-Aug-2003
# Posted on: 20-Feb-2007 17:15:32   

Thanks, I'll look into it

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39615
Joined: 17-Aug-2003
# Posted on: 28-Feb-2007 11:24:29   

AH, I see what's wrong. The regular expression contains '{1,19}', which matches with the {1} fragment in the format string, so CssClass... is placed inside that string. Hmm...

(edit): fixed in next build. The {1,19} had to be surrounded by another pair of {}. This is in the generalUtils.lpt, line 122

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39615
Joined: 17-Aug-2003
# Posted on: 24-Mar-2007 18:02:55   

Fix is available now.

Frans Bouma | Lead developer LLBLGen Pro
mattsmith321 avatar
Posts: 146
Joined: 04-Oct-2004
# Posted on: 09-May-2007 00:32:57   

Does anyone have a public site showing the UI templates? I know I could download, generate, etc. but I'd like to just take a glance without a lot of effort.

Thanks!

Posts: 2
Joined: 15-May-2007
# Posted on: 15-May-2007 23:11:38   

I'm new to this forum. Can someone point me to a ASP.NET VB version of this HnD app?

Thanks!

npathuru
User
Posts: 17
Joined: 14-Jun-2005
# Posted on: 10-Jul-2007 20:56:06   

I have downloaded the dbEditor asp.net templates. It looks like these are for adapter. What changes we need to make to generate self servicing asp.net classes. Thanks.

1  /  2