cancel
Showing results for 
Search instead for 
Did you mean: 

problem with DROPDOWNS

Former Member
0 Kudos

hi,

there is one problem.

i write the code for dynamically filling the contents for dropdowns.

i write the code in wdDoInit(), i.e. the first method to be called when a page loads.

When the pdf appears...

the dropdowns are not filled already...

when i click on the arrow to expand the drop down.

it takes some time for the drop down to get populated.

after the first instance the dropdowns behave normally(they quickly expand when clicked)

So when i have to give the pdf to someone.

i manually click on all the dropdowns once so that they get populated,

before i save a copy.

if i dont, the pdf gets saved with no contents.

regards,

-amol gupta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Suggestion -

You may move the scripts, if any, in the click events or so of the DDL to the form ready event.

So that it gets populated with the values without the useraction.

Hope this helps.

- anto.

amolgupta
Active Contributor
0 Kudos

hi,

i have not used any scripts myself.

can you suggest me any changes in the default configuration

and how to go about that.

whatever code is there,

is in method wdDoInit()

that is the first method that is called before the view is shown.

it is used to initialize values for the view.(wdDoInit())

regards.

Answers (0)