I want to call a JavaScript function to collapse/expand.
I am using this code in asp:repeater ItemTemplate on span
onclick="javascript:funCollExp(this,'<%= P1.ClientID %>');"
How do I pass Control.ClientID?
It replaces P1.ClientID as a string on the page.
You just need to do like this
full code for you make use of itemdatabound event like this
markup
codebehind