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 )

64812 put(a) pogledan, 9 odgovor(a) 11.5.2011. 14:12:48Kreirao(la) Helene
Helene

Helene

11.5.2011. 14:20:28
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
Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava
khorvat

khorvat

11.5.2011. 15:04:34
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
khorvat

khorvat

11.5.2011. 15:05:58
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Helene

Helene

11.5.2011. 16:01:31
Hi khorvat

It does not work on my site.

The "add" button is not active.

Regards
Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava
khorvat

khorvat

11.5.2011. 22:04:06
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Helene

Helene

12.5.2011. 7:29:23
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
Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava
Helene

Helene

12.5.2011. 7:30:37
Hmm the images moves around so the numbers does not match....
Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava
khorvat

khorvat

12.5.2011. 7:54:11
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Helene

Helene

12.5.2011. 8:50:41
Hi khorvat

It´s perfect now :)

Thank you very much

Regards
Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava