Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CO@maple lemme check it out within few minutes . its really troublesome. although this shouldnt have happnd ... cause the flow of the dropdowns goes like this : 1. Select Project Type id 2. Project Type ID is send to the Webservice : 3. Webservice populates the ddprojectnames via ajax. 4. the dropdown shows all the names having projectTypeId = '1' 5. I try to select ProjectID 6. Now i Click The button Which Assigns the ProjectID to scdetails.ProjectID = ddProjectName.SelectedItem.Value
      singulars
    2. COPerhaps you should try to crawl before you walk. It is clear that the ViewState is not updating correctly on the server side after the postback. To create the simplest scenario you should populate the ddProjectName dropdownlist from a server side event invoking a postback within an update panel. You should be able to move the business logic within the javascript ajax call to a server side event and then see if that makes any difference in populating your ViewState. If so then the problem is located in your javascript ajax call somewhere.
      singulars
    3. CO@maple yes with due respect i agree to that . i hav already succeeded in doing tht what actually u meant by doing it from the server side event.. i guess u know d reason why we dont use ajax update panel.. because of its heavy viewstate. even i am aware of that possibility due to client side interactions the viewstate isnt getting populated from the jquery ajax call . that is why i am trying to find out why the above incident is happening . cause i am clueless why its not happening cause from serer side events its perfectly fine to the logic i have described and the scenario i implemented :)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload