Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > AJAX updatable control

Reply
Thread Tools

AJAX updatable control

 
 
chylu
Guest
Posts: n/a
 
      01-18-2008
Hi

I'm developing a control that will start a background thread
(Backgroundworker) and will continously update it's progres.
Obviously i use UpdatePanel, and have there a label, where the progress
value shows and a button to start the action.

The problem is, that i need to click the button twice before the action
starts. The behavior is as follows:
Site is loaded
I click the button - nothing is happening
I click the button again - bip, it runs.

After many tries, a used following solution:

Control:
ScriptManager
UpdatePanel
Label
Button
/UpdatePanel

The button is explicitly connected to BusinessLogic and starts the action.

Page:
ScriptManager
UpdatePanel
MyAboveControl
Timer - to refresh the control
/UpdatePanel

Any sugestions will be appreciated. I've spent 2 days on it and still no
light in the tunnel...
The most important - it MUST be done as a web control.


 
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
setting a column value in code for an updatable ViewGrid Ray Porter ASP .Net 2 09-01-2010 05:17 PM
Getting Values from an Updatable data grid =?Utf-8?B?S2lyYW4gS3VtYXIgUGluamFsYQ==?= ASP .Net 2 11-01-2005 09:26 PM
Use of updatable query questions =?Utf-8?B?Smlt?= ASP .Net 3 10-04-2005 02:53 AM
class for "updatable enum" Patrick Guio C++ 0 11-08-2004 10:49 PM
Operation must use an updatable query - user problem Mr. x ASP .Net 1 11-06-2003 02:52 PM



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