Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > UpdatePanel and controls

Reply
Thread Tools

UpdatePanel and controls

 
 
DavidC
Guest
Posts: n/a
 
      04-01-2010
Is it best to always have the web control completely encased in the
UpdatePanel, or is it possible to just have it in part of the control? For
example, I have a ListView control that I only need Ajax ability in the
InsertTemplate. I tried it once before inside an EditTemplate but got
strange results in the Update command. What are the pros and cons and if
only inside part of a web control then what do I have to be aware of when
inserting or editing? Thanks.
--
David
 
Reply With Quote
 
 
 
 
James VanDyne
Guest
Posts: n/a
 
      04-02-2010
Using an update panel, you can register the events that the update panel
should manage from a particular control.

See http://msdn.microsoft.com/en-us/libr...datepanel.aspx
for more info.

"DavidC" <> wrote in message
news:AAC651C8-6193-46AA-8C87-...
> Is it best to always have the web control completely encased in the
> UpdatePanel, or is it possible to just have it in part of the control?
> For
> example, I have a ListView control that I only need Ajax ability in the
> InsertTemplate. I tried it once before inside an EditTemplate but got
> strange results in the Update command. What are the pros and cons and if
> only inside part of a web control then what do I have to be aware of when
> inserting or editing? Thanks.
> --
> David


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation controls and UpdatePanel J055 ASP .Net Web Controls 3 08-14-2009 10:32 AM
Triggering an UpdatePanel with a trigger located outside of the UpdatePanel Nathan Sokalski ASP .Net 1 06-15-2009 06:23 PM
How get past invalid postback when using AJAX ScriptManager and UpdatePanel controls? Ronald S. Cook ASP .Net 0 01-23-2008 07:33 PM
Custom controls and UpdatePanel Fabien Henriet ASP .Net Building Controls 0 01-12-2008 01:26 PM
refresh an updatePanel in an other updatePanel fran_j_diaz@yahoo.fr ASP .Net 3 08-08-2007 06:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57