| Protected Sub costtyperad_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) |
| End Sub |
| Private Sub RadGrid_offre_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid_offre.DataBound |
| Dim grid As RadGrid = TryCast(sender, RadGrid) |
| Dim gridItems As Integer = grid.MasterTableView.Items.Count |
| If gridItems < 6 Then |
| grid.Height = 250 |
| Else |
| grid.Height = 250 + (gridItems * 30) |
| End If |
| If grid.Height.Value > 650 Then |
| grid.Height = 650 |
| End If |
| End Sub |
<radW:RadWindowManager ID="RadWindowManager1" InitialBehavior=Minimize Width="500px" Height="400px" runat="server">
</radW:RadWindowManager>
If Not IsPostBack Then
Dim sScript As String = "<script for='window' event='onload' type=""text/javascript"">"
sScript += " var oWnd = window.radopen(""WFTaskTrack.aspx"", ""RadWindow1"");"
'sScript += " oWnd.Center();"
sScript += "</Script>"
Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "", sScript)
End If
RadAjaxManager.FocusControl(myControl);, via javascript and using the radAjaxPanel.
But none of this solutions worked for me.
I just wanted to ask if somebody of you has some advice for me to resolve my problem?!
Thank you very much
Raphael
In my application tree view is placed inside splitter controls, i am adding the node, at this time reload the tree view, now it possible to retain information like width and height of tree view exactly before reloading?