Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to display content page value to master page dynamically...i have a gridview page in that i calculated how may rows in gridview page now i want to display the label value to master page
Posted
Comments
What have you tried and where is the problem?
raj1990m 8-Jan-14 23:35pm    
i posted another query with code...try to solve it
Done !!! Check that out. :)
And what about this question? Is this solved?
raj1990m 9-Jan-14 0:27am    
ya its working thanks...in same page am doin another concept...if its not works...i will post to u it
Okay. Thanks. :)

1 solution

C#
Label lbl= this.Master.FindControl("yourcontrolname") as Label;

Should work. Give it a try. Hope it helps.
 
Share this answer
 
v2
Comments
raj1990m 9-Jan-14 4:59am    
i have a gridview in shopping cart page.when user selected the product.i want to calculate how many rows in gridview on master page dynamically? solve this query

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900