or
<telerik:RadComboBox runat="server" ID="cboState" Width="300px" AllowCustomText="false" MarkFirstMatch="true" />function OnSpliterClientLoaded(sender, args) { SizeGridToFit() } function OnSplitterClientResized(sender, Args) { SizeGridToFit(); } function SizeGridToFit() { var tabStrip = $find("<%= MyTabStrip.ClientID %>"); switch (tabStrip.get_selectedTab().get_value()) { case "Travel": grid = $find("<%= MyUserControl1.MyGrid.ClientID %>"); break;
case "Other":
grid = $find("<%= MyUserControl2.MyGrid.ClientID %>");
break;
} if (grid) { var mpPane = $find("<%= MultiPagePane1.ClientId %>") grid.get_element().style.height = mpPane.get_height() - 12 + 'px'; var ieVersion = getInternetExplorerVersion() if (ieVersion >= 0 && ieVersion < 8.0) { //necessary to get horizontal scrollbars to work in IE 7. grid.get_element().style.width = mpPane.get_width() - 12 + 'px'; } grid.repaint(); } } function getInternetExplorerVersion() // Returns the version of Internet Explorer or a -1 // (indicating the use of another browser). { var rv = -1; // Return value assumes failure. if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat(RegExp.$1); } return rv; } <
Scrolling AllowScroll="True" UseStaticHeaders="true" FrozenColumnsCount="3" SaveScrollPosition="true" />
note: the RadGrid moves 200px to right when we use the above settings for thr RadGrid otherwise it start with 0px.
Inner Exceptions:
Cannot perform CAS Asserts in Security Transparent methods
in radgrid edit click.
Need help ASAP