Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6331755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:07:51+00:00 2026-05-24T18:07:51+00:00

I have a custom attribute which checks is user i Authenticated and if it

  • 0

I have a custom attribute which checks is user i Authenticated and if it is not in such case special json string will be returned. So i need to check for that string in data which will returned from controller after jQGrid request. How can i do that in jQGrid?

So as i understand i need to get actual response data and check is it contains only my string.
Another words i need to get server response data, but i not sure how and on which event i may do that and is it possible at all.

Otherwise if it is not possible i need to call the controller before jJGrid do that to check for that value.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:07:52+00:00Added an answer on May 24, 2026 at 6:07 pm

    You can place additional information (like the information whether the user is authenticated) in the userdata part of the JSON response. Inside of loadComplete event handler you can use userData jqGrid parameter. See the answer and probably this one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom validation attribute which checks to see if two properties have
I have a custom attribute which can be assigned to a class, [FooAttribute] .
I have a class which is marked with a custom attribute, like this: public
I have a custom authorize attribute on my controllers and it is not being
I have the following custom attribute, which can be applied on properties: [AttributeUsage(AttributeTargets.Property, AllowMultiple
I have a custom attribute which is applied to class properties and the class
I have produced a custom attribute which simply marks a classes property as being
I have a custom validator attribute which I am trying to unit test. In
I have a view model which uses custom attributes such as public int Id
I have a custom attribute and I need to have the name of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.