DetailsView in ajax update panel do not fire update event

 i have a gridview, when the user select a row there it populate the row details in detailsview, both the detailsview and gridview are in ajax update panel. the point here whne the row is selected in gridview the detailsview works fine. if i click the detailsview edit button it shows the data right, but when i edit the data in detailsview the DetailsView1_ItemUpdating event does not fire!!. i think it is some thing related with the ajax panel configuration but i'm not sure.

thanks in adavanc 


Muhanad YOUNIS
MCSD.NET
My Blog || My Photos || LinkedIn

0
mohi88
2/18/2008 7:09:03 AM
asp.net.presentation-controls 72751 articles. 3 followers. Follow

3 Replies
1625 Views

Similar Articles

[PageSpeed] 17

 i red the post; the point here is the second panel is not firing the update event of the detailsview. any other ideas.

thanks in advance

 


Muhanad YOUNIS
MCSD.NET
My Blog || My Photos || LinkedIn

0
mohi88
2/18/2008 7:07:06 PM

Update panel is not compaitable to

GridView and DetailsView controls when their EnableSortingAndPagingCallbacks property is set to true.

 

see the article for refrence

http://www.asp.net/ajax/documentation/live/overview/UpdatePanelOverview.aspx

0
nitukothari
2/19/2008 5:12:01 AM
Reply:

Similar Artilces:

AJAX: which is better more controls inside one update panel or few controls inside more update panels
hi in form that have many controls , gridview , formview, buttons, textboxes, etc. which is better, put them all in one update panel, or few controls in more update panels? i.e. gridview , formview, buttons, textboxes all in one update panel or gridview in update panel, formview in updat panel, buttons (that text needs to change based on some business rules) in update panel, etc? besides will tables and divs inside update panel affect AJAx performance?! Hi,    Putting too many controls in an update panel will certainly affect the performance. I have certainly faced it. ...

TabContainer in an Update Panel dissappears after an event is fired in an update panel
Hello : I have a  TabContainer in an Update Panel. When ever an event fires in an update Panel such as Button onclick , the TabContainer dissappears.  I also tried to move update Panel inside the TabPanel . I tested this at 2 different Places. One is on a Page and the other sits in a panel that is displayed by Modal Popup.  When the event fires , the one in the Page is still visble and I have a JS error . The one that sits in the ModalPopup dissappears with same JS error. Here is the error , I am seeing   this.get_element() has no properties _app_onload...

Firing an event handler on an button which is generated dynamically in an user control present in update panel
I have created an user control which is placed in update panel.In the user control i have placed an dynamically generated table in which one cell consist of generated button.i have written an event handler for it but is not firing on the click of that button.i am attaching a sample code for it plese look into it.Please help me.Its urgent. HTML code <asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Style="position: relative" Text="ShowAll" /> <asp:Button ID="Button2" runat="server" OnClick="Button2_Click1" Style="position: relative" Text="Paging" /><br />...

Mutiple update panel
Hi,Thanks for visitng my problem.I have 3 update panels. in first update panel U1 I have text box T1 and drop dwonbox D1.In second update panel U2 i have only drop down box D2. and in third update panel U3 i have a treeview T1.I want that When I change selection of D1 in U1, it triiger events for D2 in U2 and T1 in U3. But when I try to bid U2 with D1 change event it does not show show D1 namein triiger control names. Rather  it shows U1 panel name. Sam case is for T1 in U3. So my qiestion is : "HOW TO BIND TRIGGER WITH CONTROL WHICH IS INSIDE OF OTHER UPDATE PANEL?"Looki...

AJAX update panel updating all panels!
Hey there, I have 2 updated panels on a page update panel1 and update panel2. One is triggerd by a list box and the other is triggered by an image button,, the only problem is although each trigger is assigned to their respective list boxes, whenever a trigger is activated it refreshes both update panels, which is not what I want.  This is my update panel refreshed by the image button   <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <TABLE id="Table6" style="WIDTH: 208px; HEIGHT: 248px" cellSpacing="1" cellPadding="1" width="208" border=...

How can we access a control outside the update panel with an control inside the update panel
Take a very simple example, i have a button inside the update panel along with other controls and i have a textbox on the page.What i want is that when i click the button inside the update panel,it should update the textbox which is present outside the update panel.How can i do this?Prakash kumar To my knowledge you cannot update any control outside of the update panel.  If you want to update the control move it inside the update panel. Do you want to modify the text box with server-side code? If so, put it in its own UpdatePanel. Set the UpdateMode on the panel to Conditional. Then...

Update panel + User Control with Update panel :|
Hi! Here's the scenario: User fills the form, and needs to select location where he lives. If location is not available, he/she can create one. So .. I have an update panel, and in this panel I insert a user control for selecting / creating location (there is an update panel in that control too), so it looks like this: <UpdatePanel>....<userControl which has an update panel in it>...</UpdatePanel> the problem is, when user presses "Create Location", it tries to validate the main update panel, and doesn't call onclick event of the control.so qu...

Update Panel Property on control which is not under update panel...
Hey Guys, Um facing a strange problem, I am having three update panels in my page with some triggers for each of them.Now, there is one button which uses PopUpControl extender to show a popup....NOTE:-This button is not under any of the Update panels and neither is acting as a trigger for any one of them.This PopUpControl contains two buttons, one of the buttons need to Postback...But i dont know how Update panel properties are affecting functionalities of this button and its not posting back.....I also have noticed that if i click anywhere outside on page and then click this butt...

updates, updates, updates
Name: hans jensen Email: hansjensen44_athotmaildotcom Product: Firefox Summary: updates, updates, updates Comments: why is it everytime i go online firefox has new updates, 3 -4 times every day, its never ending..........whats all the problems??? please email me and let me know, ty,.........Hans Jensen Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 ...

updates, updates, updates
Holy Crap, Batman! You'd think I was running Windows XP and it's patch Tuesday. So far this week - new kernel (2.6.27.10), 2 new browsers (Opera 9.63 and Firefox 3.05) and a new plugin (Flash 10.0.156.3). I'm about ready to try one od the BSD's! vince wrote: > Holy Crap, Batman! You'd think I was running Windows XP and it's patch > Tuesday. > > So far this week - new kernel (2.6.27.10), 2 new browsers (Opera 9.63 > and Firefox 3.05) and a new plugin (Flash 10.0.156.3). I'm about ready > to try one od the BSD's! I take ...

Ajax Update Panel not Updating
I have asp page with one update panel. Inside update panel there is a button and a label control. when I click button and try to updatel label.text="something" it works. But what I am trying to do is on button click I create FileSystemWatcher object and register its changed event. Now whenever I changed my text file changed event gets fired and inside this changed event I am trying to Update label.text="Something". This time it does not work. Can someone tell me what should I do to get this work. Here is the sample code DisplayLog.aspx <%@ Page Language="C#&qu...

updates, updates, updates, NO MORE!
Name: Andreas Email: unbekanntatjokerdotms Product: Firefox Summary: updates, updates, updates, NO MORE! Comments: Hi ! if you want to develop a fine webbrowser, maybe you nee a new management. To release a new buggy version every two weeks is not very professional. Test your software before the release and let the user download a stable browser. this update-orgy since 2.0.0 used me to use Opera instead of FF. We haved use FF in our Company, but we can't deploy a new version every week to +200 Windows-clients, so in our company we've decided to return to IE, ...

Updates, updates and more updates
Name: pirhan Email: pirhan_chanathotmaildotcom Product: Firefox Summary: Updates, updates and more updates Comments: Hello, Normally I use Safari, but my iBook is out of commission for a while. So, I am forced to use a PC to which I would much rather use Firefox than Internet Exploder. However, as much I enjoy not using a Microsoft product, and use a product that works decently, I am severely annoyed about the constant updates I am put through. In the last two days, I had to wait for Firefox to install updates before I could browse and now, I'm alerted that there'...

Controls in Update Panel not updating
I have a Update Panel with 2 textboxes and a button. When button is clicked, I am changing the value of one of the textboxes. When the partial rendering occurs, the textbox value is not changed. I am new to Atlas, is there something I am missing? Below is the code. -- codebehind -- This line of code is executed when I run in debug mode. txtUsername.Text = "Invalid Login"; -- aspx -- <atlas:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" /> <atlas:UpdatePanel ID="upLogin" runat="server" Mode="always"> <ContentTemplate> <table border="0" width="3...

Web resources about - DetailsView in ajax update panel do not fire update event - asp.net.presentation-controls

Visual Studio 2008 and .NET Framework 3.5 Service Pack 1 Beta
In this article, Scott discusses the recently released beta version of Visual Studio 2008 and .NET Framework 3.5 Service Pack 1. He starts with ...

Latest Updates
Latest Updates - Free source code and tutorials for Software developers and Architects.; Updated: 15 Feb 2013

DotNetKicks.com - Upcoming stories
DotNetKicks.com is a community based news site edited by our members. It specialises in .NET development techniques, technologies and tools including ...

<asp:DetailsView ID="grd_empDetails" runat="server" DataSourceID="empDataSource - Pastebin.com
Pastebin launched a little side project called HostCabi.net , check it out ;-) Don't like ads?

Top Ranked Articles
Top Ranked Articles - Free source code and tutorials for Software developers and Architects.; Updated: 23 Feb 2013

Latest Updates
Latest Updates - Free source code and tutorials for Software developers and Architects.; Updated: 15 Feb 2013

Resources last updated: 11/23/2015 9:38:13 PM