473,725 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

any ajax person to help or grid view

kal
I have a gridview on my page - the 'onSelIndexChan ' of which is wired to a
ajax update panel - via triggers.

this works fine but the grids paging wont work - or rather it fires a post
back but the next page isnt displayed.
and then when i click the page link again it gives an invalid argument
error.

There is no code in the event handlers

If i take out the ajax update panel the paging works again!

Here are some snippets

<asp:GridView ID="UserList" runat="server" ....

OnSelectedIndex Changed="UserLi st_SelectedInde xChanged" Font-Size="10"

DataKeyNames="U serId" AllowPaging="tr ue" PageSize="5"

AutoGenerateSel ectButton="true ">

<Columns>

<asp:BoundFie ld DataField="User Name" HeaderText="Use r" />

<asp:BoundFie ld DataField="User Id" Visible="false" />

....
<asp:UpdatePane l ID="UpdatePanel 1" runat="server">

<contenttemplat e>

<asp:Panel ID="UserDetails Panel" runat="server" ...

</asp:Panel>

</contenttemplate >

<triggers>

<asp:AsyncPostB ackTrigger ControlID="User List"
EventName="Sele ctedIndexChange d" />

</triggers>



Jun 18 '07 #1
0 934

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4119
by: Mike N. | last post by:
Hello to all: First let me apologize for the length of this question, I've made an attempt to include as much information as is needed to help with the question. I am having problems putting together a query to pull out an alternative hierarchical view of my data. The database is implemented under SQL Sever 2000 and I am writing the front end using VB.Net and ADO.net. The following is the portion of my database structure that I am...
31
3153
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked around here? If so, do you know if Ajax.NET can be used without prototype.js? -- "The most convoluted explanation that fits all of the made-up facts is the most likely to be believed by conspiracy theorists. Fitting the
1
1842
by: codefragment | last post by:
Hi I have asked this on the official asp.net forums but no luck so thought I'd try here Assume you have a page with a filter control and a grid view and many other controls on it. When the filter changes you want the gridview to change but nothing else. In particular all you would like to happen is for an ajax call to occur and a new grid view to be returned.
0
933
by: SMichal | last post by:
Hi, I have a simple web with simple apsx page which displays list of persons (PersonList.aspx)...as you can see in this picture (follow that link to imageshack please)...I'm using only update panel on this page in the TOOLBAR (red marking) to support paging funkctionality for that grid with list of persons. When user clicks on the icon CHANGE (first icon in every row in grid) he should be redirected to another aspx page with detail of...
0
1093
by: baijuraj | last post by:
I added an Ajax Rating Control in a GridView using the code <asp:TemplateField HeaderText="Rating"> <ItemTemplate> <ajaxToolkit:Rating ID="Rating2" runat="server" EmptyStarCssClass="emptyRatingStar" FilledStarCssClass="filledRatingStar" OnChanged="Rating2_Changed" StarCssClass="ratingStar" WaitingStarCssClass="savedRatingStar" Width="128px"...
6
9826
by: KDawg44 | last post by:
Hi, My responseXML is always null on my AJAX call. When I browse directly to the PHP script I am calling, the XML file shows up just fine. I have read that if a returned XML file is not valid, it will always appear as null. I am just returning some basic XML like: <?xml version='1.0' encoding='UTF-8'?> <XMLData>
3
6958
by: Bobby Edward | last post by:
I had a simple admin form for "Categories"... Details View: To INSERT new Category Grid View: To View, Edit and Delete all Categories I decided to put the INSERT Details View inside of a ModalPopupExtender. PROBLEM 1: Dragging a ModalPopupExtender control to my webform gives me a gray box in Design View:
2
1453
by: Chris | last post by:
I'm developing an ASP.NET Page that processes some files, does some things to them. I'd like to have a gridview that displays each file, and it's status, if it's done processing, still processing, etc. The page runs for about a minute per file, so I was hoping I could use an AJAX UpdatePanel control to refresh the gridview as a file is done being processed. Is this doable?
2
7250
by: btreddy | last post by:
Hii experts, Im tring to display a panel as a modal popup when i click a link button which is placed in the footer template of my Grid view.But its not getting compiled and the error its showing is "The TargetControlID of 'mpeAddParticipant' is not valid. A control with ID 'ParticipantMeetingID' could not be found"'mpeAddParticipant' is the id of the modal pop up extender and 'ParticipantMeetingID' is the id of the link button which ic...
0
8888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.