Click here to Skip to main content
16,012,223 members

Comments by NKHari (Top 4 by date)

NKHari 4-Jun-14 3:06am View    
$('#chkRolePrivilege' + i).attr('checked', true); This line inside the for loop is the problem...
it's checked attribute is not working but all other attributes of it are working fine
NKHari 8-May-14 5:05am View    
you can return identity number from the database using stored procedure and pass that identity value of your added data to the display page using query string and display the result according to the identity value
NKHari 25-Apr-14 4:39am View    
Thanks for the response but i have a list of drop down so while I give a value or object like that you referred i will get only the same selected value for all the drop down.
My doubt is all about how to get corresponding selected values by passing the object as selectedValue from the controller or by using model (item.Data.CategoryID) in the view page ,which will provide the drop down list in the foreachloop corresponding selected value.
NKHari 25-Apr-14 2:50am View    
i am having 5 model items so it will list 5 dropdown for category with different categoryId , and I have to get the selected value for the 5 dropdown list as the corresponding categoryId ie,(item.Data.CategoryId)

Please help me ...