Any ideas why my splitter is resizing automatically?
if Collapsed="false" on rpSearch below, then the splitter opens with 50% size shared between each pane. Perfect!
if Collapsed="true" is set, then when I expand it, I expect it to expand to 50% automatically but it expands to some arbitary amount. how can I make it expand to 50%?
regards
ewart
| .fmMaxHeight |
| { |
| padding: 0px 0px 0px 0px; |
| /*margin: 0px 0px 0px 0px;*/ |
| margin: 0 auto; |
| border-collapse: separate; |
| height: 100%; |
| overflow: hidden; |
| } |
| <telerik:RadSplitter ID="rsLeft" runat="server" Width="100%" Height="100%" Skin="Web20" > |
| <telerik:RadPane ID="rpMenu" runat="server" Width="200" Height="100%"> |
| stuff |
| </telerik:RadPane> |
| <telerik:RadSplitBar ID="sbCollapseLeft" runat="server" CollapseMode="Forward" EnableResize="false"></telerik:RadSplitBar> |
| <telerik:RadPane ID="rpContent" runat="server" Scrolling="None"> |
| <telerik:RadSplitter ID="rsTop" runat="server" Orientation="Horizontal" CssClass="fmMaxHeight" Skin="Web20"> |
| <telerik:RadPane ID="rpSearch" runat="server" ContentUrl="Browse.aspx" CssClass="fmMaxHeight" Height="50%" Collapsed="true" |
| Scrolling="Y"> |
| </telerik:RadPane> |
| <telerik:RadSplitBar ID="sbCollapseTop" runat="server" CollapseMode="Forward"></telerik:RadSplitBar> |
| <telerik:RadPane ID="rpThings" runat="server" CssClass="fmMaxHeight" Height="50%" > |
| things |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
Protected
Sub RadColorPicker1_ColorChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Dim Convertidor As New System.Drawing.ColorConverter
Dim ColorPick As Telerik.Web.UI.RadColorPicker = DetailsView1.FindControl("RadColorPicker1")
Dim txtSchedColor As TextBox = DetailsView1.FindControl("TextBox9")
txtSchedColor.Text = Convertidor.ConvertToString(ColorPick.SelectedColor)
End Sub
I reference this sub in the source with OnColorChange
What am I doing wrong?
Thanks
List
<DateTime> selectedDateList = new List<DateTime>();
/*Retrieving from RadCalender Selected Dates and saving to Database*/
for (int i = 0; i <RadCalendar1.SelectedDates.Count; i++)
{
selectedDateList[i].Date= RadCalendar1.SelectedDates[i].Date; // Getting error at this statement saying "Index was out of range. Must be non-negative and less than the size of the collection."
Saveto DataBase(selectedDateList);
}
/*Retrieving Data from Sql and loading into RadCalender*/
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
RadCalendar1.SelectedDates[i].Date =
Convert.ToDateTime(ds.Tables[0].Rows[i]["START_DATE"]); // Getting error at this statement saying "Index was out of range. Must be non-negative and less than the size of the collection."
}
Can anybody check and send me the solution please ASAP.
Dim
sScript As String = "<script for='window' event='onload' type=""text/javascript"">"
sScript +=
" var oWnd = window.radopen(""WFTaskTrack.aspx"", ""RadWindow1"");"
sScript +=
" oWnd.Minimize(); "
'sScript += " var w = oWnd.ClassicWindow; "
'sScript += " w.minimize();" 'moveTo(parseInt(oWnd.Left), parseInt(oWnd.Top));"
sScript +=
"</Script>"
Page.ClientScript.RegisterClientScriptBlock(
Me.GetType, "", sScript)
The design time setting are as follows
<radW:RadWindowManager ID="RadWindowManager1" Width="850px" Height="205px" runat="server">
<windows>
<radW:RadWindow NavigateUrl="WFTaskTrack.aspx" Top="20px" Left="100px" Runat="server" Id="Radwindow1">
</radW:RadWindow>
</windows>
</radW:RadWindowManager>
I keep changing the "Top" and "Left" properties to different values and then run the application. But the Radwindow always appears on the same position. which is the initial setting position.
Thanks
Madhu
Thanks in advance
Bhavani A
im using the radwindowmanager to show a dialog and when the dialog shows up, it sits behind a flash object on the calling page. in the dialog, there is a radtabstrip and this shows above the flash fine. i added the following with no luck:
<
telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista" Width="600px" Height="400px" CssClass="modal" Modal="true">
-- in my style sheet
.modal
{
z-index:7000;
}