I have a User Control which has a grid, I want to get the grid’s client id from javascript, Is there any way?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could print out the clientid to the page into a javascript variable.
In your case if you want the id of the grid. Something like this:
This javascript variable will be available in the global context of the page once it has loaded.