User control not updating


To do this we first need to obtain the reference of the current row by using its index no as shown in the first line below.By using the Grid View Row object we can find the reference of any control in the row in which user is editing the data.

user control not updating-5

If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.

Text to "New Text", I still get "Original Text" on the save event.

Hi, using vb.net/vs 2003/sql server 2000 Working on a shopping cart app.

I've got a user control that appears on every page to give a summary of the users shopping cart, eg You have 12 items in your cart, the total is 123.45, this is populated with a stored procedure that just returns itemcount and itemtotal as output params.

ID = "dummy ID"; Thanks vary good sample thanks man`But I notice one thing, if you are click on menu item and load sample1 ascx then click on submit event is fired...you again click from menu and load again sample1 ascx and then click submit event will not fire..it will fire second time when you click submit again... All of the controls inside my user control are all updating each other on every postback. For SCSI : it is due to the use of a dynamically added trigger in the Page. You need to put the declaration of this trigger in the Page. I had this problem before but since I do all in Page. Hi SCSII ran into the same problem and solve it.event handler won't register if you add your controls in page_load. When i load the page none of them is selected from the start, how do i select a User Control that dynamicly load in on Page_Load?