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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:39:41+00:00 2026-05-14T08:39:41+00:00

<%= Html.Trirand().JQGrid(Model.OrderGrid,Grid1)%> I need to call this using javascript? Can anybody tell me? <%=

  • 0
  <%= Html.Trirand().JQGrid(Model.OrderGrid,"Grid1")%>

I need to call this using javascript?

Can anybody tell me?

<%= Html.Trirand().JQGrid(Model.OrderGrid,"Grid1")%> 

I have a Grid1 and Grid2 in my user control both are under div tag. I need to display one Grid based on user clicks on Row of first Grid1. so My intention was to write

 $(doucment).ready(function() { 
     $("#table").click(function() { 
        // Here I need to display Grid2? 
        // I need to call <%= Html.Trirand().JQGrid(Model.OrderGrid,"Grid2")%> 
     }); 
 }); 
  • 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-14T08:39:41+00:00Added an answer on May 14, 2026 at 8:39 am

    The code you posted is a server-side call, not a client-side one. Most likely, the Trirand() method emits a bunch of HTML, and possibly some Javascript, to the browser, thus creating a grid.

    If you want to manipulate the grid with Javascript, you need to refer to the grid that is rendered in the browser, not to the server-side call. But you haven’t given me much information about what it is exactly you want to do.

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

Sidebar

Related Questions

Using this Jquery plug-in http://www.trirand.com/blog/jqgrid/jqgrid.html How do you: edit the cell content (looking at
<script type=text/javascript> var showGrid = function() { $(#Grid1).load('/friends/names/fried'); }; </script> <div> <%= Html.Trirand().JQGrid(Model.OrdersGrid, JqGrid1)%>
I am testing example at this url : http://trirand.com/blog/jqgrid/jqgrid.html . Right now Detail Grid
HTML Javascript question to get the selected value of a input-select I can use
Html can contain little bits of Javascript embedded in it (e.g. defined in onclick
Html.ValidationSummary() is still being rendered even if the model state is valid. This example
I'm using a jqGrid with a filterToolbar and though I have been able to
i am using Jqgrid http://trirand.com/blog its a very good grid solution, the linked one
HTML: <div id=box>my box</div>​ How come I can hide a visible div like this:
html Tidy gives this as output for some reason: <?xml version=1.0 encoding=utf-16?> <?xml version=1.0

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.