Hello,
I'm trying to open a modal RadWindow from within one, but it just doesn't behave like one would expect it to. The following example used to work in "old" RadControls. I assumed this would be fixed when "Prometheus" was out of beta, but I guess this one slipped through.
Perhaps, I'm not doing this the right way?
Default.aspx:
| <script> |
| function OpenWin() |
| { |
| var oWnd = window.top.radopen("WebForm1.aspx", null); |
| } |
| </script> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="true"></telerik:RadWindowManager> |
| <asp:Button ID="ButtonWindowOpen" runat="server" Text="Open Window" OnClientClick="OpenWin(); return false;" /> |
| </form> |
| <script> |
| function OpenWin() |
| { |
| var oWnd = window.top.radopen("WebForm1.aspx", null); |
| } |
| </script> |
| <form id="form1" runat="server"> |
| <asp:Button ID="ButtonWindowOpen" runat="server" Text="Open Window" OnClientClick="OpenWin(); return false;" /> |
| </form> |
if (e.Item is GridGroupHeaderItem)
{
GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item;
item.DataCell.VerticalAlign = VerticalAlign.Bottom;
item.VerticalAlign = VerticalAlign.Bottom;
}
In column created event:
if (e.Column is GridGroupSplitterColumn)
{
GridGroupSplitterColumn gr = (GridGroupSplitterColumn)e.Column;
gr.HeaderStyle.VerticalAlign = VerticalAlign.Bottom;
gr.HeaderStyle.Wrap = true;
gr.ItemStyle.VerticalAlign = VerticalAlign.Bottom;
gr.ItemStyle.Wrap = true;
}
None of the above approaches solved the problem. If I change the height of the splitter, it works, but I cant seem to do anything with the text.
I cannot attach an image, but I would if I could to illustrate this problem.
Any help would be appreciated.
Thanks,
Tal