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

Viewed 31909 time(s), 7 post(s), 9/23/2014 12:37:09 AM - by augusto
9/23/2014 12:38:10 AM
101 Reputation 13 Total posts

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

1
9/25/2014 9:22:26 AM
10 Reputation 1 Total posts

Hello,
we can confirm that this is a bug and it's logged for the 5.1 release.
Regards

2
9/25/2014 7:57:36 PM
101 Reputation 13 Total posts

Thank you!

3
10/17/2014 1:58:42 PM
1384 Reputation 152 Total posts

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

4
10/17/2014 2:50:49 PM
101 Reputation 13 Total posts

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.

5
10/17/2014 3:04:35 PM
1384 Reputation 152 Total posts

Try recycling/restarting application from the IIS Manager. Force reload Ctrl+F5 should also work.

Let me know if the problem persists.

6
10/17/2014 3:16:50 PM
101 Reputation 13 Total posts

I works perfectly.

Thank you.


7
This is a demo site for MonoX. Please visit Mono Software for more info.