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 616399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:19:23+00:00 2026-05-13T18:19:23+00:00

We have the DevExpress grid and in the OnCustomCallback event we need to assign

  • 0

We have the DevExpress grid and in the OnCustomCallback event we need to assign a hidden field value=true. After we need to get the hidden field value to javascript?
We tried in following manner:

protected void dgUnReconcile_CustomCallback(object sender, ASPxGridViewCustomCallbackEventArgs e)
{
    ASPxGridView temp = ((DevExpress.Web.ASPxGridView.ASPxGridView)(sender));
    string gridInstancename = ((DevExpress.Web.ASPxGridView.ASPxGridView)(sender)).ClientInstanceName;

    if (gridInstancename.Equals("grid"))
    {
        List<Object> selected = dgUnReconcile.GetSelectedFieldValues(new[] { "Key" });
        if (selected.Count > 0)
        {    
                existingKey = true;//hidden field value
        }
    }
}

We need to access the hidden fields value through javascript

var ='<%# existingKey%>’;

It always shows empty 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-13T18:19:23+00:00Added an answer on May 13, 2026 at 6:19 pm

    Try to use the JSProperties of the grid:

    aspx:

    <dxwgv:ASPxGridView ID="myGridView" ClientInstanceName="myGridView" runat="server">
    </dxwgv:ASPxGridView>
    

    sets the value in code-behind (C#):

    myGridView.JSProperties["cpMyValue"] = "hello, world!";
    

    gets the value on client (js):

    alert(myGridView.cpMyValue);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a DevExpress grid that needs to be refreshed every time the value
I have a grid (DevExpress XtraGrid, if that matters) which is bound to a
I have AspxTabPageControl.. of Devexpress I want to get the active tab index from
VB .NET 4 WinForms application. I have a (DevExpress) grid bound to an IEnumerable(Of
I have a DevExpress WPF grid (version 9.3). When I export to excel, it
I have drawn a checkbox in devexpress grid group row using the code below.
I have a checkbox that when clicked, calls a javascript program that calls grid.PerformCallback(),
Hi I have a devexpress grid on the form. I enable the incremental search
I have a DevExpress GridControl bound to a BindingList. I tried to modify the
Specifically, I am using DevExpress 10.1 for their APSxGridView. I have a grid with

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.