Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: Drawing on the Desktop Pin
bneacetp26-Jul-07 17:43
bneacetp26-Jul-07 17:43 
Questionerror DataSet Fill Pin
TAREQ F ABUZUHRI15-Jul-06 4:42
TAREQ F ABUZUHRI15-Jul-06 4:42 
AnswerRe: error DataSet Fill Pin
Colin Angus Mackay15-Jul-06 5:27
Colin Angus Mackay15-Jul-06 5:27 
QuestionAuto submit using webbrowser component Pin
Dave_Roach15-Jul-06 1:02
Dave_Roach15-Jul-06 1:02 
AnswerRe: Auto submit using webbrowser component Pin
User 171649215-Jul-06 2:47
professionalUser 171649215-Jul-06 2:47 
GeneralRe: Auto submit using webbrowser component Pin
Dave_Roach15-Jul-06 13:47
Dave_Roach15-Jul-06 13:47 
AnswerRe: Auto submit using webbrowser component Pin
led mike15-Jul-06 11:47
led mike15-Jul-06 11:47 
GeneralRe: Auto submit using webbrowser component Pin
Dave_Roach15-Jul-06 13:44
Dave_Roach15-Jul-06 13:44 
Thanks for your reply, I appreciate any help I can get Smile | :)

I have a function in the code that I have been using to automatically select buttons. It looks lile this.

public bool ClickButtonOnDocument(HTMLDocument myDoc,string buttonLabel)
{

HTMLInputElement btnSearch ;
btnSearch = (HTMLInputElement) myDoc.all.item(buttonLabel, 0);

if(btnSearch == null)
return false;
else
{
btnSearch.click();
return true;
}

}

The button in question is not really a "button" in the source code, it is labelled "submit".
There is a "button" called "Cancel" that I can call with the above method. However, the "submit" button does not seem to be available in myDoc.all.item. So, I am at a bit of a loss. I assumed it should be available but since it's not labelled "button" perhaps it's not being found.

I am a little confused as to why it would not appear as an element.

Scratching my head... Dave

GeneralRe: Auto submit using webbrowser component Pin
led mike15-Jul-06 15:57
led mike15-Jul-06 15:57 
QuestionResize quastion (Spliter) Pin
ytubis15-Jul-06 0:14
ytubis15-Jul-06 0:14 
AnswerRe: Resize quastion (Spliter) Pin
Andrew Lygin15-Jul-06 1:23
Andrew Lygin15-Jul-06 1:23 
Questiongetting inserted twice in SQL Table Pin
airandclouds14-Jul-06 23:54
airandclouds14-Jul-06 23:54 
AnswerRe: getting inserted twice in SQL Table [modified] Pin
Colin Angus Mackay15-Jul-06 5:35
Colin Angus Mackay15-Jul-06 5:35 
QuestionRead/Update flat files Pin
Krrish14-Jul-06 23:46
Krrish14-Jul-06 23:46 
AnswerRe: Read/Update flat files Pin
led mike15-Jul-06 16:18
led mike15-Jul-06 16:18 
GeneralRe: Read/Update flat files Pin
Krrish16-Jul-06 19:03
Krrish16-Jul-06 19:03 
GeneralRe: Read/Update flat files Pin
led mike16-Jul-06 19:47
led mike16-Jul-06 19:47 
GeneralRe: Read/Update flat files Pin
Krrish16-Jul-06 20:13
Krrish16-Jul-06 20:13 
QuestionIt must be >= 0 and < the PageCount Pin
vjain2314-Jul-06 19:23
vjain2314-Jul-06 19:23 
AnswerRe: It must be >= 0 and < the PageCount Pin
Colin Angus Mackay14-Jul-06 21:56
Colin Angus Mackay14-Jul-06 21:56 
AnswerRe: It must be >= 0 and < the PageCount Pin
Paul Conrad15-Jul-06 10:54
professionalPaul Conrad15-Jul-06 10:54 
QuestionRead location in .lnk (shortcut) file Pin
StyrofoamSUV14-Jul-06 18:56
StyrofoamSUV14-Jul-06 18:56 
AnswerRe: Read location in .lnk (shortcut) file Pin
kasik15-Jul-06 5:15
kasik15-Jul-06 5:15 
GeneralRe: Read location in .lnk (shortcut) file Pin
StyrofoamSUV15-Jul-06 6:46
StyrofoamSUV15-Jul-06 6:46 
QuestionHow can I display a .mht file on a webBrwoser control? Pin
AngryC14-Jul-06 15:49
AngryC14-Jul-06 15:49 

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.