2
Answers

problems about invoke method ?

I've viewed this link http://msdn.microsoft.com/en-us/library/zyzhdc6b.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1 .It talks about Invode method.And I haven't got clear about some points of this.As refered in the article : "The Invoke method searches up the control's parent chain until it finds a control or form that has a window handle if the current control's underlying window handle does not exist yet. If no appropriate handle can be found, the Invoke method will throw an exception. Exceptions that are raised during the call will be propagated back to the caller."

I don't understand some definitions such as "the control's parent chain", "a window handle", "if the current control's underlying window handle", so I hope someone gives me explainations about these ones !

Answers (2)
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
I have a specific problem as follows. See i have one button and i have written a function onclick of this button in my code behind form. ok. Which will be executed when that button is clicked. But that code is server side. Now I want to check if any of the checkbox in my datagrid is checked or not on click of this button? how to do this? Please help? Regards. kash
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
Is there a specific question here? You can still have javascript error checking with asp.net validation controls by the way.