<telerik:RadTextBox ID="UserEmailInput" runat="server" CausesValidation="True" ValidationGroup="UserInput" ToolTip="EnterEmail"> </telerik:RadTextBox><asp:RegularExpressionValidator ID="emailValidator" runat="server" Display="Dynamic" ErrorMessage="<br/> Please, enter valid e-mail address." ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$" ControlToValidate="UserEmailInput"> </asp:RegularExpressionValidator> <asp:RequiredFieldValidator ID="Requiredfieldvalidator1" runat="server" Display="Dynamic" ControlToValidate="UserEmailInput" ErrorMessage="<br/>Please, enter an e-mail!"></asp:RequiredFieldValidator> <br /> <br /> <telerik:RadButton ID="UserReport" runat="server" Text="Run Report" OnClick="UserReport_Click"> </telerik:RadButton> </td>function pageLoad(sender, eventArgs) { if (!eventArgs.get_isPartialLoad()) { $find('<%= RadAjaxManager.GetCurrent(this).ClientID %>').ajaxRequest("InitialPageLoad"); }}protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e){ //To produce postback if (e.Argument.ToString() == "InitialPageLoad") { SetupWidgets(); dLoading.Visible = false; }}private void SetupWidgets(){ List<DockState> currentStates = CurrentDockStates.OrderBy(cs => cs.Index).ToList(); for (int i = 0; i < currentStates.Count; i++) { if (currentStates[i].Closed == false) { CustomRadDock dock = CustomCreateRadDockFromState(currentStates[i]); rdlPageDesign.Controls.Add(dock); CustomLoadWidget(dock); } }}<telerik:RadSplitter ID="rsDocumentsView" runat="server" Height="300" width="99%">
If I set it as a value rather than a percent, it sort of works, but we need dynamic sizing. I have also tried the various resize options and that has failed to work as well. The output shows as...
<div id="ctl00_ContentPlaceHolder1_RadDock58a5fa95adcefa45bea8805a81cfcd8ee6f9_C_ctrl58a5fa95adcefa45bea8805a81cfcd8ee6f9_rsDocumentsView" style="height: 300px; width: 118px;"><div style=""><table id="RAD_SPLITTER_ctl00_ContentPlaceHolder1_RadDock58a5fa95adcefa45bea8805a81cfcd8ee6f9_C_ctrl58a5fa95adcefa45bea8805a81cfcd8ee6f9_rsDocumentsView" class="RadSplitter RadSplitter_Default" cellpadding="0" cellspacing="0" style="width:1px;height:1px;border-left-width:1px;border-top-width:1px;">
so it comes as 118px. No matter what the browser width is, it is allways 118px.
I have also ensured that all the wrapping containers have all their widths set as well, to no avail.
I think my bosses think I am swinging the lead on this.
If you need any more information, please ask. I have provided as much as I can think of.
Thanks.
David.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Fri, 16 Mar 2012 03:16:19 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: An unexpected error has occurred.
Line: 5
Char: 62099
Code: 0
URI: .../ScriptResource.axd?d=CGr-4NV9Tv83ciQmOOBO3ylQ4pRULm-dxZRbCR8MwczR3VML9_aw_YtRV-jVVLHCAjycuAa1TPFZ4BtytITj51JOWEZK3aDwlu7pE7o9U6ewF-RHJRrbKqbFBnFmMygJ2zXreznkVW20_MbxQwPn3yOsHE81&t=5c2f384e
How do you fix it?
Thanks/VinhPham


Hello,
At the moment I am using this LINQ query in C# to check all items but I am wanting to do the same in javascript.
void cblMagistrateCourts_Load(object sender, EventArgs e){ RadComboBox c = (RadComboBox)sender; IEnumerable<RadComboBoxItem> uncheckedItems = from uncheckedItem in c.Items.ToList() where uncheckedItem.Checked == false select uncheckedItem; foreach (RadComboBoxItem i in uncheckedItems) { i.Checked = true; }}
I tried the following 3 thigns in javascript and in IE F12 tools I tried to find & 'check' the 'Check All' to but that did not seemed to be checking all items (Not sure)
not sure the 2nd attempt was in the right direction. I am getting the correct id of radCombobox using sender.get_id();
function radCblCheckAll(sender, eventArgs) { //var combo = sender.get_id(); //var chkAll = combo + '_Header_SelectAll'; //alert(chkAll.toString()); //chkAll.checked = true; //alert($telerik.$('.rcbCheckAllItemsCheckBox').checked); //$telerik.$('.rcbCheckAllItemsCheckBox').change(function () { // if (sender.get_text() == "All items checked") { // sender.checked = true; // } //}); var combo = sender.get_id(); var item = combo.findItemByText('Check All'); item.select();}<telerik:RadGrid ID="RadGrid1" runat="server" Width="100%" ShowStatusBar="true" AutoGenerateColumns="true" PageSize="10" AllowSorting="True" AllowMultiRowSelection="False" AllowPaging="True" OnNeedDataSource="RadGrid1_NeedDataSource" Skin="MyCustomSkin" EnableEmbeddedSkins="false" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="RadGrid1_ItemCreated"> <PagerStyle Mode="NumericPages"></PagerStyle> <MasterTableView AutoGenerateColumns="false"> <Columns> <telerik:GridTemplateColumn HeaderText="Indian Affairs Benefits" ItemStyle-Width="90px" UniqueName="IndianAffairsBenefits"> <ItemTemplate> <telerik:RadComboBox Skin="Inox" ID="ddOnelChild" runat="server" EnableEmbeddedSkins="False" MarkFirstMatch="True" Width="120px" Visible="false"> </telerik:RadComboBox> <telerik:RadComboBox Visible="false" Skin="Inox" ID="ddlMeAndSelectedChildren" runat="server" EnableEmbeddedSkins="False" MarkFirstMatch="True" Width="120px"> <ItemTemplate> <asp:CheckBox ID="chkbx" Checked="true" runat="server" /> <asp:Label runat="server" ID="lblItem" AssociatedControlID="chkbx"> <%# Eval("Namess") %> </asp:Label> </ItemTemplate> <CollapseAnimation Type="OutQuint" Duration="200" /> </telerik:RadComboBox> </ItemTemplate> </telerik:GridTemplateColumn>