Thank you Gahr for your clues, it works now !

I chose the second option, using webedit control (or webstringcontrol in your term) to handle the integer field.
I also found in developer's guide that only webedit and webdate control can have lookup button. Just wonder why do the 'lookup button' and 'lookup method' properties still exist in the others web control.

regards,

agus

________________________________

From: Gahr, Andreas [mailto:[EMAIL PROTECTED]
Sent: Wed 5/19/2004 9:49 PM
To: [EMAIL PROTECTED]
Subject: AW: [development-axapta] web lookup button



As far as i know, the WebIntControl has only an implementation for preload-lookup.

You could create a WebUserDefined-control which creates a html-textbox and a lookup-button equal to the one you'd like to have by overriding the layout method. You also have to override the setcontrolinfo Method to get the user input back into your form. Or you use a WebStringControll instead.

Andreas Gahr

-----Urspr�ngliche Nachricht-----
Von: Agus Riyadi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. Mai 2004 07:00
An: [EMAIL PROTECTED]
Betreff: [development-axapta] web lookup button


Dear All,


In a webinteger field within a web form, I have set its "lookup button" property to "always" and "lookup method" property to "custom", but I didn't see the lookup button as I hope.

I want to override the lookup method of that field. The field is not a foreign key, so by default it doesn't have lookup button.

Anyone have solved this problem before ? I have searched through technet and this milist but no result.

Thanks for any comments.

regards,

agus



[Non-text portions of this message have been removed]





Yahoo! Groups Links











Yahoo! Groups Links









[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to