or
| public string EnglishHeader |
| { |
| get |
| { |
| return "My english header"; |
| } |
| } |
| <telerik:GridBoundColumn DataField="OrderNumber" HeaderText="<%= EnglishHeader %>" /> |
I am using 2009 version of Telerik dll. We have minimum height provision for the
RadDockZone , and we can set it by MinHeight property.
In my application, I want whenever I am resizing any Dock control its height should be set to minimum "100px".
For Example:
In I am expanding any Dock control, then I am removing its height property so that it will be exanded to the contents height. This works fine when content is large.
But Conside the case where dock contains only 1 line. In the case height is set the auto i.e. very less pixel.
I tried access height in DockInit event its is giving null as we are removing height while expanding.
Do we have any provision of setting height to some minimum valye?
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if (!IsPostBack) |
| { |
| // SET GRID VIEW |
| setGridEvoColumns(RadGridEvoStats); |
| } |
| } |
| public void setGridEvoColumns(RadGrid Grid,ArrayList years, DataTable Source) |
| { |
| GridBoundColumn boundColumn; |
| GridTemplateColumn gtc; |
| StatsColumn sc; |
| StatsColumnHeader sch; |
| boundColumn = new GridBoundColumn(); |
| Grid.MasterTableView.Columns.Add(boundColumn); |
| boundColumn.HeaderText = "Country"; |
| boundColumn.DataField = "Country"; |
| boundColumn.UniqueName = "Country"; |
| string sufix = ""; |
| foreach (string year in years) |
| { |
| sufix = "_" + year; |
| gtc = new GridTemplateColumn(); |
| sc = new StatsColumn(); |
| sch = new StatsColumnHeader(); |
| Grid.MasterTableView.Columns.Add(gtc); |
| gtc.HeaderTemplate = sch; |
| gtc.ItemTemplate = sc; |
| } |
| } |

| ...... <NestedViewTemplate > |
| <Test:TaskControl ID="TaskControlMain" runat="server" /> |
| </NestedViewTemplate> ........ |
| <DIV> |
| <Test:flowAssignee ID="Assignee" runat="server" /> <DIV> |
| <DIV> |
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function checkAssignee() |
| { |
| alert("2323") |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <div> |
| <telerik:RadTextBox ID="Relationship" runat="server" onblur="checkAssignee" Width="200" /> |
| </div> |
