You need to sign in to do that
Don't have an account?
sekhar maramreddy
how to write lookup field through vf page & apex class
how to write lookup field through vf page & apex class
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Please find the working example below.
Let's take an Example:
Suppose you have an Employee Custom Object. In that let's say you have First Name Custom field.
Now you want the lookup icon to be displayed for the above field in your Visualforce page.
In your Controller do the following, Now, In your Visualforce page do the following. Where firstName is the method name in the Controller.
By doing this a lookup icon will be rendered on ur Visualforce page.
Hope this helps.
Please mark this as solved if the information helps so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra