Click here to Skip to main content
15,901,666 members
Home / Discussions / Web Development
   

Web Development

 
QuestionASP.NET MASTER/DETAIL PASS KEY FOR UPDATE? Pin
hifiger200419-Apr-07 22:15
hifiger200419-Apr-07 22:15 
QuestionIntranet DNS [ urgent please help ] Pin
vimal_yet19-Apr-07 21:41
vimal_yet19-Apr-07 21:41 
QuestionReg:Flash Pin
princy_cute19-Apr-07 19:56
princy_cute19-Apr-07 19:56 
AnswerRe: Reg:Flash Pin
steffw19-Apr-07 22:15
steffw19-Apr-07 22:15 
GeneralRe: Reg:Flash Pin
princy_cute22-Apr-07 20:20
princy_cute22-Apr-07 20:20 
AnswerRe: Reg:Flash Pin
hiral_shah19-Apr-07 22:52
hiral_shah19-Apr-07 22:52 
GeneralRe: Reg:Flash Pin
princy_cute22-Apr-07 20:19
princy_cute22-Apr-07 20:19 
QuestionRowIndex from a GridView when a user Clicks a Button Pin
michaelastewartmas19-Apr-07 18:39
michaelastewartmas19-Apr-07 18:39 
AnswerRe: RowIndex from a GridView when a user Clicks a Button Pin
Panchal Hardik14-May-07 2:39
Panchal Hardik14-May-07 2:39 
Questionfind webdav mail thread? Pin
ArunkumarSundaravelu18-Apr-07 23:19
ArunkumarSundaravelu18-Apr-07 23:19 
QuestionPopup page not loading Pin
cmbsurfer18-Apr-07 23:10
cmbsurfer18-Apr-07 23:10 
AnswerRe: Popup page not loading Pin
Paddy Boyd18-Apr-07 23:50
Paddy Boyd18-Apr-07 23:50 
GeneralRe: Popup page not loading Pin
cmbsurfer19-Apr-07 1:50
cmbsurfer19-Apr-07 1:50 
GeneralRe: Popup page not loading Pin
Bradml19-Apr-07 2:03
Bradml19-Apr-07 2:03 
AnswerRe: Popup page not loading Pin
RichardGrimmer23-Apr-07 5:52
RichardGrimmer23-Apr-07 5:52 
QuestionAJAX Problem adding OnClick JavaScript Even To Row... Pin
michaelastewartmas18-Apr-07 11:59
michaelastewartmas18-Apr-07 11:59 
AnswerRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
Steve Echols18-Apr-07 17:53
Steve Echols18-Apr-07 17:53 
GeneralRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
michaelastewartmas19-Apr-07 10:47
michaelastewartmas19-Apr-07 10:47 
AnswerRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
RichardGrimmer20-Apr-07 5:27
RichardGrimmer20-Apr-07 5:27 
michaelastewartmas wrote:
RowAction('gv_BaseUOMLookUp', this, 'OnClick');


This is where your problem lies...

The OnClick MEMBER of the DOM tr element, is a function pointer. What you're doing with the line above, is setting the value to the RETURN of RowAction...think if instead of RowAction, you'd written AddTwoNumbers(1, 2)...you'd expect the return value to be 3, and because of the assignment operator, the onclick member's value will of course be 3 Smile | :)

To do what you want, either a)remove the parameters from the assignment - essentially then uses a memory address, or b) code something akin to the following:

<br />
row.OnClick = new function () {.........}<br />


Hope that helps...

"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox

GeneralRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
michaelastewartmas20-Apr-07 14:03
michaelastewartmas20-Apr-07 14:03 
QuestionEmbedding Binary Data Pin
Hedonism17-Apr-07 23:36
Hedonism17-Apr-07 23:36 
QuestionHow much shall I charge for this project? Pin
Spirytus17-Apr-07 22:48
Spirytus17-Apr-07 22:48 
AnswerRe: How much shall I charge for this project? Pin
Bradml17-Apr-07 23:08
Bradml17-Apr-07 23:08 
GeneralRe: How much shall I charge for this project? Pin
Spirytus17-Apr-07 23:53
Spirytus17-Apr-07 23:53 
AnswerRe: How much shall I charge for this project? Pin
Paddy Boyd18-Apr-07 0:21
Paddy Boyd18-Apr-07 0:21 

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.