1
Answer

Setting values to a custom control in a form from an other windows form

Photo of ciprian S

ciprian S

17y
2k
1

Hi,

I have in my application 2 forms. One in which I have to create some custom controls(the custom control is created from a label,textbox and an button) . the values for the custom controls have to come from the other form (new custom control )  when I press a button. How can I create this contols dinamicaly on the first form from the second or how can I transmmit the values from one form to another if the second form has to be closed when I pressed the button?

 

Thanks.

Answers (1)

0
Photo of Bikesh Srivastava
NA 19.8k 835.2k 8y
check object is undefined and then use substr.
0
You are passing an undefined value with jquery. You can simply test every value taken with the jquery selector (use console.log for that) and find the undefined one.