code_junkie

Databind Function to Controls Visible Property Does Not Work

Nov 13th, 2011
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. protected void Page_Load(object sender, EventArgs e)
  2. {
  3. this.DataBind();
  4. }
  5. public bool CanApprove()
  6. {
  7. return false;
  8. }
  9.  
  10. protected void Page_Load(object sender, EventArgs e)
  11. {
  12. this.DataBind();
  13. }
  14. public bool CanApprove()
  15. {
  16. return false;
  17. }
  18.  
  19. protected void Page_Load(object sender, EventArgs e)
  20. {
  21. this.DataBind();
  22. }
  23. public bool CanApprove()
  24. {
  25. return false;
  26. }
  27.  
  28. <asp:Label runat="server" ID="lblLocaton" Text='<%# String.Format("{0}, {1}", Eval("City"), Eval("Region.Code")) %>' Visible="<%# ShowLocation() %>" />
  29.  
  30. MfnPresenter.Website.Presenters.IInstituitonListView.ShowLocation
  31.  
  32.  
  33. Get
  34.  
  35. End Get
  36. Set(ByVal value As Boolean)
  37.  
  38. 'Used by visibility binding expression on lblLocation control inside dlFinancialInsitution
  39.  
  40. End Set
  41. End Property
Add Comment
Please, Sign In to add comment