473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Jquery vs postback vs gridview event.

Hi to all! i'm new here!
Well, i have this jquery plugin (quicksearch) already working fine in my website, but, when a postback happen, for example, when i fire selectedindexchanged event, the rows selected by the filter just away. I already use an updatepanel with a Gridview inside! the problem is, for example, (check the images): When i enter "23", the rows that satisfy the search criteria are only two, right? well... when i fire the event selected index changed, the selected row is fine! but, the other that also satisfy the search criteria just disappear and the gridview loses state when the filter was running. Ideally, when i fire the selected index changed event, the two selected rows should remain there.

This is my code and some images!
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2.  
  3.         function pageLoad() {
  4.             $(function search() {
  5.                //$("#<% = txt_quicksearch.ClientID %>").quicksearch("#<% = gv_Calibres.ClientID %> table tbody tr");
  6.                 $('input#"#<% = txt_quicksearch.ClientID %>"').quicksearch('table#<% = gv_Calibres.ClientID %> tbody tr');
  7.  
  8.             });
  9.         }
  10.       </script>





Thanks in advance!
Jan 23 '12 #1
0 1681

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: dave | last post by:
I have half a dozen web form radio buttons on a web form. Each of them is set to postback=true. However, if for instance radiobutton1 is already selected and the user selects it again, it performs...
5
by: Q. John Chen | last post by:
On a webForm, I have a DropDownList with AutoPostBack=true and I also have couple textbox with AutoPostBack=false. I am expect that the DropDownList's SelectedIndexChanged event being handled...
2
by: Sheldon Penner | last post by:
My ASP.Net 2.0 application uses a GridView control containing a template consisting of a checkbox and a Text property that I use to store a value to pass to a SQL statement in the OnCheckChanged...
0
by: hazz | last post by:
The following code generates checkbox values from the database. Once the user selects/deselects checkbox values, is there a way to obtain the ID and Checkbox.Checked state from these BoundColumns...
6
by: Kevin Attard | last post by:
I am using a GridView inside a UserControl which has a template column for deleting the rows. Before databinding the gridview i am attaching the RowCommand and RowDataBound event. I am using the...
0
by: stimul8d | last post by:
Before i get flamed, this isn't the usual question you see left right and center. I'm dynamically creating usercontrols inside the page_init event and setting the ID's of each control so that the...
1
by: Vyas111111 | last post by:
Hello All, How can i get the value of a gridview cell outside any GridView event
3
by: Laila2008 | last post by:
Hi, I am trying to update data and highlight updated row in a GridView. To change the data I loop through the dataset, find the row I want, set the new data and call DataBind() on the GridView....
3
by: phpmel | last post by:
hi guys, I have 2 gridviews, one inside a modal popup(gvSuppliers) and one on the page(gvFirms). The header row of the gvFirms has 4 text boxes. I can find those controls easily inside the...
0
by: pratk | last post by:
how to postback gridview when timer counts 0.radio buttons inside gv should be disabled when timer counts......any help would save my life......
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.