Click here to Skip to main content
15,912,665 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Datalist with icon Pin
rushiraj.jhala26-Apr-07 19:30
rushiraj.jhala26-Apr-07 19:30 
GeneralRe: Datalist with icon Pin
Sathesh Sakthivel26-Apr-07 19:32
Sathesh Sakthivel26-Apr-07 19:32 
GeneralRe: Datalist with icon Pin
rushiraj.jhala26-Apr-07 21:34
rushiraj.jhala26-Apr-07 21:34 
QuestionExit the application Pin
hahii26-Apr-07 12:05
hahii26-Apr-07 12:05 
AnswerRe: Exit the application Pin
Colin Angus Mackay26-Apr-07 14:39
Colin Angus Mackay26-Apr-07 14:39 
QuestionAbout Web application Pin
hahii26-Apr-07 11:45
hahii26-Apr-07 11:45 
AnswerRe: About Web application Pin
Colin Angus Mackay26-Apr-07 14:40
Colin Angus Mackay26-Apr-07 14:40 
QuestionWait Cursor for long running process Pin
Alaric_26-Apr-07 10:39
professionalAlaric_26-Apr-07 10:39 
Hi Guys,

...We're working with a hierarchical Infragistics UltraWebGrid and when one of the parent rows is selected, each of the children underneath it is to be selected as well. I have the code to perform this all hammered out, but now I have to deal with the issue of the fact that this is sometimes a long-running process. Infragistics provides their own wait-cursor for several of the grid's functions, but not for this. What I'm trying to do now is something to the effect of:
in the ASP code behind:
<br />
DisplayGrid.DisplayLayout.ClientSideEvents.AfterSelectChangeHandler = "SelectBranch('ctl00xContentPlaceHolder1xRemovedEquipmentxuwgDisplay');";<br />


in javascript
<br />
function SelectBranch(gridId)<br />
{<br />
   document.body.style.cursor = 'wait';<br />
   foo(gridId); //this function marks the grid rows.<br />
   document.body.style.cursor = 'default';<br />
}<br />

What is happening is that it is executing 'foo' as it is supposed to, but never resets the cursor to the default cursor
Does anybody know how to get this logical flow to work? Or is this incorrect? What if foo recursively calls 'SelectBranch()'? Does that have any implications?

Welcome my son...Welcome..to the Machine

Questioncookie Pin
hahii26-Apr-07 9:32
hahii26-Apr-07 9:32 
AnswerRe: cookie Pin
netJP12L26-Apr-07 12:01
netJP12L26-Apr-07 12:01 
AnswerRe: cookie Pin
Guffa26-Apr-07 13:52
Guffa26-Apr-07 13:52 
QuestionRememberMe checkbox in Login Control Pin
aransiola26-Apr-07 9:17
aransiola26-Apr-07 9:17 
AnswerRe: RememberMe checkbox in Login Control Pin
Venk25927-Apr-07 2:05
Venk25927-Apr-07 2:05 
QuestionSqlserver connecting problem Pin
alav26-Apr-07 5:22
alav26-Apr-07 5:22 
AnswerRe: Sqlserver connecting problem Pin
kubben26-Apr-07 5:45
kubben26-Apr-07 5:45 
Questionproblem with gridview onclick event Pin
tronix0126-Apr-07 5:21
tronix0126-Apr-07 5:21 
AnswerRe: problem with gridview onclick event Pin
varshavmane26-Apr-07 19:04
varshavmane26-Apr-07 19:04 
GeneralRe: problem with gridview onclick event Pin
tronix0126-Apr-07 21:14
tronix0126-Apr-07 21:14 
GeneralRe: problem with gridview onclick event Pin
varshavmane26-Apr-07 23:06
varshavmane26-Apr-07 23:06 
Questionglobal variables Pin
Tenk26-Apr-07 5:12
Tenk26-Apr-07 5:12 
AnswerRe: global variables Pin
kubben26-Apr-07 5:46
kubben26-Apr-07 5:46 
AnswerRe: Session Varibles Pin
Ibuprofen26-Apr-07 10:48
Ibuprofen26-Apr-07 10:48 
GeneralRe: Session Varibles Pin
Tenk27-Apr-07 23:50
Tenk27-Apr-07 23:50 
GeneralRe: Session Varibles Pin
Ibuprofen28-Apr-07 6:26
Ibuprofen28-Apr-07 6:26 
QuestionA connection with the server could not be established. Pin
MissionSuccess26-Apr-07 3:44
MissionSuccess26-Apr-07 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.