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.

Add new friend button stop working when there is address on user profile and you are not loged in as Admin  (Mono Support )

32642 put(a) pogledan, 7 odgovor(a) 23.9.2014. 0:37:09Kreirao(la) augusto
augusto

augusto

23.9.2014. 0:38:10
Hello!
I searched for this issue at the forum but I could not find anything. Sorry if there is any.

Add new friend button stop working when there is address on user profile and the map appears if you are not logged in as Admin.

If you are logged as admin every thing goes fine.

Thanks
Ovaj sadržaj još nije ocijenjen. 
101 Reputacija 13 Ukupno objava
dmilasin

dmilasin

25.9.2014. 9:22:26
Hello,
we can confirm that this is a bug and it's logged for the 5.1 release.
Regards
Ovaj sadržaj još nije ocijenjen. 
10 Reputacija 1 Ukupno objava
augusto

augusto

25.9.2014. 19:57:36
Thank you!
Ovaj sadržaj još nije ocijenjen. 
101 Reputacija 13 Ukupno objava
idrazic

idrazic

17.10.2014. 13:58:42
Hi Augusto,

There is a workaround to force Page_ClientValidate to load for non-admins:

inside PeopleSearch.ascx find this line:

<asp:TextBox runat="server" TextMode="MultiLine" ID="txtRequestMessage" Rows="4" Width="100%"></asp:TextBox>
and add asp validator  like  this:
<asp:TextBox runat="server" TextMode="MultiLine" ID="txtRequestMessage" Rows="4" Width="100%"></asp:TextBox>
<asp:RegularExpressionValidator ID="regexRequestMessage" CssClass="validator" ControlToValidate="txtRequestMessage"
    Display="Dynamic" ValidationExpression="[\s\S]{0,500}" ErrorMessage="Message too long!" Text="*"
    runat="server"></asp:RegularExpressionValidator>
Hope this helps,
Igor

Ocjena 5,00, 1 glas(ova). 
1384 Reputacija 152 Ukupno objava
augusto

augusto

17.10.2014. 14:50:49
Hi Igor,

I added the validator as you posted but didn't make any difference.

Do I have to do something else?

Thank you very much.
Ovaj sadržaj još nije ocijenjen. 
101 Reputacija 13 Ukupno objava
idrazic

idrazic

17.10.2014. 15:04:35
Try recycling/restarting application from the IIS Manager. Force reload Ctrl+F5 should also work.

Let me know if the problem persists.
Ovaj sadržaj još nije ocijenjen. 
1384 Reputacija 152 Ukupno objava
augusto

augusto

17.10.2014. 15:16:50
I works perfectly.

Thank you.


Ovaj sadržaj još nije ocijenjen. 
101 Reputacija 13 Ukupno objava