cancel
Showing results for 
Search instead for 
Did you mean: 

Combobox problem in .Net PDK

Former Member
0 Kudos

Hi,

I am working in .Net PDK 1.0 patch 3. I am facing this weird problem with the combobox. I use a dropdown to list the cities and a combobox for the ports. When the user selects the city, the combobox must be populated with the ports in the city. Additionally, the user can enter a new port too. First I select the city and the combobox is populated with list of ports. I click on the down arrow of the combo to view the ports. When the list is viewed I click on the dropdown. Now a postback happens and the page goes blank. I am not even able to view the page by clicking back. I had to click on the refresh and load the page again. Could anyone tell me what the problem is?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I found out that this problem arises when I attach a postback operation to the combobox(On select event).So on removing this event, I have not yet encountered this problem.

Thanks

Swetha

Former Member
0 Kudos

Hi,

Please let me know whether the problem is clear and is there any solution for the same.

Thanks

Swetha

Former Member
0 Kudos

Hi,

I am using Portal SP14, .Net PDK Version 1.0 Patch 3 with Hotfix-1

Let me explain the problem again..

I have a SAP dropdown control that populates cities. I have a SAP combobox control to populate ports. On page load all the cities are populated in the dropdown, while the combobox is empty on page load. When the user selects a city from the dropdown, a postback operation occurs and the server populates the ports in that city in the combobox. Then I click the down arrow of the combo. I am able to see all the ports in the city. Then WITHOUT selecting an entry in combobox, I again click the city dropdown (when I am able to view the list of ports in combo). This makes the application to get struck.

Thanks

Swetha

Former Member
0 Kudos

Hi Swetha,

Can u please specify which version of the portal u run?

Thanks, Reshef

Former Member
0 Kudos

Hi Swetha,

Just to clarify, u have two combo boxes on the same portal component - cities and ports. when someone selects a city in the first combobox a postback happens and than on the server side u populate the second combo with all the relevant ports, on the second step when the user tries to pick a port from the second combo and click on the drop down arrow (the small arrow on the right) a postback immediately happens and the application is stuck.

did i describe the situation accurately?