MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Group category  (Mono Support )

Viewed 39748 time(s), 9 post(s) 5/11/2011 2:12:48 PMby Helene
Helene

Helene

5/11/2011 2:20:28 PM
Hi

It is not possible to create a new Group category containing the special Danish characters (image 1)

If I save anyway a row is created in the database but not correct (image 2)

And if the row is not deleted the "Add" button in Group category area is inactive.

Regards
This content has not been rated yet. 
315 Reputation 39 Total posts
khorvat

khorvat

5/11/2011 3:04:34 PM
Hi,

I have found the bug relate to this issue, it is regular expression validator that you can remove to get this working. To remove the regular expression validator please go to "/MonoX/Admin/GroupCategoryManager.aspx" page and find the following code block:

   <p>
    <asp:Label ID="labName" runat="server" Text='<%$ Code: AdminResources.GroupCategoryManager_labName %>' style="width: 20%; float: left;"></asp:Label>
    <asp:TextBox ID="txtName" runat="server" CssClass="input"></asp:TextBox>
    <asp:RequiredFieldValidator ID="requiredName" runat="server" CssClass="ValidatorAdapter" SetFocusOnError="true"
        ControlToValidate="txtName" ValidationGroup="Modification" Text="*" ErrorMessage='<%$ Code: AdminResources.GroupCategoryManager_requiredName %>'></asp:RequiredFieldValidator>
    <mono:RegExValidator ID="validateName" runat="server" CssClass="ValidatorAdapter" SetFocusOnError="true" ControlToValidate="txtName"
        ValidationGroup="Modification" ValidationType="alphaNumericWithSymbolsAllowedSpecialChr" Text="!" ErrorMessage='<%$ Code: AdminResources.GroupCategoryManager_validateName %>'></mono:RegExValidator>
</p>

and remove the following line:

<mono:RegExValidator ID="validateName" runat="server" CssClass="ValidatorAdapter" SetFocusOnError="true" ControlToValidate="txtName"
                                ValidationGroup="Modification" ValidationType="alphaNumericWithSymbolsAllowedSpecialChr" Text="!" ErrorMessage='<%$ Code: AdminResources.GroupCategoryManager_validateName %>'></mono:RegExValidator>

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

5/11/2011 3:05:58 PM
Just to mention that this will be fixed in next release of MonoX which will include the support for all Nordic culture specific characters.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Helene

Helene

5/11/2011 4:01:31 PM
Hi khorvat

It does not work on my site.

The "add" button is not active.

Regards
This content has not been rated yet. 
315 Reputation 39 Total posts
khorvat

khorvat

5/11/2011 10:04:06 PM
Hi,

can you please try to edit the empty group category and put in some group category name (If I'm getting this right you have one empty row in the grid) and save, after that you should be able to add new category with add button.

Please try this and get back to me.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Helene

Helene

5/12/2011 7:29:23 AM
Hi khorvat

I have tried some different ways to add the categories.

If I add values to the columns [Name] and [Slug] in the database the category shows up in the categorylist and I can create a group in that category (image 5)
But it is still not possible to add a new category without editing the row in the database (image 1+4)

It seems to me that it has something to do with the "slug" but I don´t know what it is and what it is used for (image 2+3)

Hope you understand what i mean !)

Regards
This content has not been rated yet. 
315 Reputation 39 Total posts
Helene

Helene

5/12/2011 7:30:37 AM
Hmm the images moves around so the numbers does not match....
This content has not been rated yet. 
315 Reputation 39 Total posts
khorvat

khorvat

5/12/2011 7:54:11 AM
Hi,

sorry this was my mistake I was talking about the MonoX/Admin/GroupCategoryManager.aspx and we should be talking about the MonoX/Admin/SnGroupCategoryManager.aspx . I have fixed this on your web site and this should be ok until we release the new version of MonoX. 

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Helene

Helene

5/12/2011 8:50:41 AM
Hi khorvat

It´s perfect now :)

Thank you very much

Regards
This content has not been rated yet. 
315 Reputation 39 Total posts