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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:28:05+00:00 2026-06-06T01:28:05+00:00

I have been searching for an answer and trying out stuff for days now

  • 0

I have been searching for an answer and trying out stuff for days now and I still can’t get it to work.

I have Server bound Grid (I can’t use Ajax binding because of whole set of different reasons) and when user edits or inserts a new row I need to do 2 things:

1. I need to pick up all values from hidden fields on the page and put them in an array of int’s.
2. I need to pass this array to the controller on Insert/Update row.

Now with ajax binding I figured out how to do this. I set up javaScript function on client event that does the work. But afaik most of the client events don’t work with server binding so I’m stuck.

onSave Client event would be perfect for this but it doesn’t work with server binding.

Passing a single variable on Insert or Update as a third parameter is easy but my case is a bit more complicated and I can’t get it to work.

.Insert("Insert", "Posudbe", new { })
.Update("Update", "Posudbe", new { })

So I basically need to do those two things in this code above in the third parameter.

Tnx 4 the answers if any.

  • 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-06-06T01:28:08+00:00Added an answer on June 6, 2026 at 1:28 am

    You can use the onLoad JavaScript event (which is one of the few that work in server binding) and attach a click handler to the “insert” and “update” buttons. You need to use jQuery delegate, live or on. Here is a quick example:

    function onLoad() {
       $(this).delegate(".t-grid-update", "click", function() {
         // your code here
       });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been searching for an answer for a couple days now and had
I have been searching for the past through days, trying to figure out how
I have been searching for an answer to my problem for two days now,
I have been searching for an answer to this for two days now, but
I have been searching around using Google but I can't find an answer to
I have been searching the internet for days now and I was just wondering
I have been searching for an answer to this question for days and it
I have been searching for an answer to this but can't find it on
I have been searching the internet wildly for an answer to this question. We
I have been searching everywhere but I could not find an answer. I need

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.