Click here to Skip to main content
15,891,136 members

Comments by NaveenChidara (Top 4 by date)

NaveenChidara 14-May-14 10:59am View    
hi Tadit. I would rather say 'Accept advice/idea' than 'Accept Solution' which would make more sense here.
Thanks.
NaveenChidara 8-May-14 12:52pm View    
Thanks for your reply Tadit. I was able to solve this using class name for the element like this.
$('#<%=ucProduct.FindControl("m_grid").ClientID%> tr').each(function() {

liveFlag = $(this).find('.SubProductLive').html();
});

and use the liveflag for my funtionality.
Thanks once again.
NaveenChidara 7-May-14 14:28pm View    
here is my actual code:
var index = $('#<%=ucProduct.FindControl("m_grid").ClientID%> thead tr').index('.SubProductLive');

where 'ucProduct' is my usercontrol and 'm_grid' as datagrid in my usercontrol.
Here i need the column index (having a class name as 'SubProductLive') and i tried above but i get index as -1. Please help
NaveenChidara 21-Mar-14 14:41pm View    
Excellently answered just in a line of code