Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am rendering gridview at runtime using TraceWebpart class which contains _TraceResultsContainer = (TraceResultsContainer)this.Page.LoadControl(@"/UserControls/TraceResultsContainer.ascx"); under onload() function.

During runtime based on the type two trace webparts are created which contains Gridview control(Id will be same bt in the different webpart).

Problem is if am changing pagination in one grid then second webpart's gridview height width are changing.

When i checked view source i found that the style="height:100;width:150" is missing for the second webpart's grid. So the same thing happening if i change pagination in the second webpart grid.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.