or
Hi,
I wrote a small script to set the height and width of splitter on window resize. I am getting an script error saying that object doesn't support this property or method. Please help me to set the desired height and width for the splitter. Below is the script.
| <script type="text/javascript"> |
| window.onresize=resized; |
| function resized() |
| { |
| var splitter = document.getElementById("ctl00_ReportContent_Splitter1").id; |
| splitter.set_height(document.getElementById("ctl00_ReportContent_ReportRow").clientHeight); |
| splitter.set_width(document.getElementById("ctl00_ReportContent_ReportRow").clientWidth); |
| } |
| </script> |
I even tried spliiter.resize(). This also gave JS error. I referred the splitter's ClientSide API from http://www.telerik.com/help/aspnet-ajax/splitter_clientsideradsplitter.html.
Thanks,
Nataraj
| <telerik:RadToolBar ID="RadToolBar1" AutoPostBack="true" Runat="server" |
| onbuttonclick="RadToolBar1_ButtonClick"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| <Items> |
| <telerik:RadToolBarButton runat="server" NavigateUrl="~/default.aspx" |
| Target="_parent" Text="Requirements"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" |
| NavigateUrl="http://cjis4/Reports/Pages/Report.aspx?ItemPath=%2fCIJS%2fRequirements" |
| Target="_blank" Text="Report"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" NavigateUrl="~/Audit.aspx" |
| Target="_parent" Text="Audit"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" NavigateUrl="~/Deleted.aspx" |
| Target="_parent" Text="Deleted"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" NavigateUrl="~/change.aspx" |
| Target="_parent" Text="Change Password"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Log Out" CommandName="LogOut"> |
| </telerik:RadToolBarButton> |
| </Items> |
| </telerik:RadToolBar> |
| <script type="text/javascript"> |
| function clientbuttonclick(sender, args) { |
| var button = args.get_item(); |
| if (button.get_commandName() == "LogOut") { |
| args.set_cancel(!confirm('Log Out?')); |
| } |
| } |
| </script> |
How to prevent OnClientAppointmentClick event happening as part of OnClientAppointmentResizeEnd event? When I handle the OnClientAppointmentResizeEnd I do not want the OnClientAppointmentClick to fire.