Vertical layout in GridPanel

Page 2 of 2 FirstFirst 12
  1. #11
    SetSource is used when PropertyGrid is rendered on the client side already (during DirectEvent)
  2. #12
    I call PropertyGrid.SetSource on the server side and it works good.

    How can I render html link into the ProperyGrid?
    I know I have to use Renderer Fn, but how can I do it? Because I call PropertyGrid.Source.Add(...) on the server side!


            protected void Page_Init(object sender, EventArgs e)
            {
               Tuple<decimal, decimal, decimal, decimal, decimal, decimal> financeInfo = GetFinance();
               string contract = string.Format("<a href='{0}'>{1}</a>", "bla", "blabla");
                
              Tuple<decimal, decimal, decimal, decimal, decimal, decimal> financeInfo = GetFinance(); 
     
               PropertyGrid1.AddRange( 
                    new PropertyGridParameterCollection 
                      { 
                         new PropertyGridParameter("contract", contract), 
                          new PropertyGridParameter("title2", financeInfo.Item2.ToString()), 
                          new PropertyGridParameter("title3", financeInfo.Item3.ToString()), 
                          new PropertyGridParameter("title4", financeInfo.Item4.ToString()), 
                          new PropertyGridParameter("title5", financeInfo.Item5.ToString()), 
                          new PropertyGridParameter("title6", financeInfo.Item6.ToString()) 
                    } 
         );
    }
    The constract are shown as a text but not as a link.
    Last edited by AlexMaslakov; Aug 12, 2011 at 10:41 AM.
  3. #13
    Please use .Renderer of PropertyGridParameter, see:
    http://forums.ext.net/showthread.php...ll=1#post58874
  4. #14
    Daniil, how does it help me to render the Contract field as a link?
  5. #15
    It demonstrates how to use Renderer of PropertyGridParameter.

    How to get a link, please see:
    http://forums.ext.net/showthread.php...ull=1#post9801
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: Jul 18, 2011, 8:40 AM
  2. [CLOSED] Two column layout with vertical scroll bar
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 26, 2011, 10:28 PM
  3. [CLOSED] Vertical Button With Text, Or Vertical Tabs
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 21, 2011, 9:43 PM
  4. Replies: 3
    Last Post: Sep 13, 2010, 4:13 PM
  5. Replies: 4
    Last Post: Dec 30, 2009, 1:31 AM

Posting Permissions