Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

I have a ASPX form ,which is basically a data entry form. User has to enter details about a news item.

One field of the form requires the user to select a company name.

I cannot use a Dropdownlist for this field because I want to display more than one field (company name , Country,City).

 

What I thought , was to have a button next to the Company field which when clicked opens a Popup window that displays all the companies (with Country and City) in a datagrid. When User selects the Company name , it pass back the Company name,Country and City back to the parent form and close the pop-up form.

I know how to open the pop-up form.

But how do I return the three values and close the form when user selects something in the datagrid?

 

Thanks

When you gotta go,you gotta go !!!!!!!
Posted
Why can't you display everything in your dropdown list? As long as the associated data is in the same database table record you can concatenate the data together and use the new text string to populate the dropdown list.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...