JQGrid with asp.net mvc2.0

Posted by Amrendra_Cs under ASP.NET MVC on 7/6/2014 | Points: 10 | Views : 1437 | Status : [Member] | Replies : 3
I am using JQGrid, and getting problem with the Dependent dropdown in case of inline editing, my requirment is as follows..I have two columns in jqgrid Country and State, I have two country in first column let USA and INDIA, on selection of this I have to populate second dropdown from database having state table(as two table one is for state of USA and another is State Of USA), my problem is when I am doing inline editing in second column for USA data is coming right but for INDIA, its showing the State Of USA as default, and i have to select USA first and den INDIA to gets its state in second dropdown. Plz someone help for this as from last one week i am facing this issue, i have gone thru Oleg example but he have done it on local data and i have to get it from database.




Responses

Posted by: Vuyiswamb on: 7/7/2014 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Can you please share your code

Thank you for posting at Dotnetfunda
[Administrator]

Amrendra_Cs, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amrendra_Cs on: 7/7/2014 [Member] Starter | Points: 25

Up
0
Down
hello Vuyiswamb i cant share the code as that is in svn...sorry for that, but if u help me in this problem then i shall be very thankfull for this, as i am new to development and spent whole week on it but not able to get solution of it, my requirement is as I have two columns ReportType and Report, ReportType contains two data Portfolio and Site, and in second column i have to populate data from Site or Portfolio table based on selection in first column.I am using entityframework with asp.net mvc, plz help me to solve that issue.I ll be thankfull for this.

Amrendra_Cs, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/8/2014 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
i understand your problem , you have cascading drop-downs but the other drop-down is not showing the correct data. that is why i am saying to see the code, would be better , don't give me the whole source code, but me a spinet that binds the drop-downs from your controller and one that is on the html in your view

Thank you for posting at Dotnetfunda
[Administrator]

Amrendra_Cs, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response