Hi guys,
I'm having a bit of a problem with the new Rad Editor(Ajax) control. It shows a white background in the content area before setting the content. This white background stays in the editor until it finishes loading.
I'm wondering whether there is a way to get rid of it. This never used to happen in the Rad Editor Classic.
Also If there are more rad controls in the page it stays in the editor for even longer until editor gets loaded (its ugly when editor is the last control to load up).
Thanks in advance,
lasa
| <asp:FormView ID="FormView1" runat="server"> |
| <ItemTemplate> |
| <asp:DropDownList ID="DropDownList1" runat="server"> |
| </asp:DropDownList> |
| <asp:DropDownList ID="DropDownList2" runat="server"> |
| </asp:DropDownList> |
| </ItemTemplate> |
| </asp:FormView> |
| <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
| </telerik:RadAjaxManagerProxy> |
There is an odd display issue with the RadGrid that I am seeing.
It seems that if you have a mix of fixed width columns and dynamic width columns, that the headings and items no longer line up when the Grid scrollbar appears.
Bascically, it appears that as you have columns (left to right), that are fixed, all is good and they line up, but all columns following a dynamic column no longer line up and the rest of the columns follow suit. Also, there appears to be a blank section towards the end of the grid that looks sized to match up with the scroll bar, but it doesn't. Instead there is un skinned heading above the scrollbar. I have an image, but wasn't sure how to get that to you.
In my sample below, all columns after the Description column fail to line up with their headings.
| <telerik:RadGrid ID="rgAttributes" runat="server" Skin="Vista" Width="100%" AutoGenerateColumns="false"> | |
| <ClientSettings> | |
| <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ScrollHeight="100px"> | |
| </Scrolling> | |
| </ClientSettings> | |
| <MasterTableView TableLayout="Fixed"> | |
| <Columns> | |
| <telerik:GridCheckBoxColumn DataField="IsRequired" HeaderText="Req" UniqueName="IsRequired"> | |
| <HeaderStyle Width="30px"/> | |
| <ItemStyle Wrap="false" Width="30px"/> | |
| <FooterStyle Width="30px"/> | |
| </telerik:GridCheckBoxColumn> | |
| <telerik:GridBoundColumn DataField="Description" HeaderText="Description" UniqueName="Description"> | |
| <HeaderStyle Width="100%" /> | |
| <ItemStyle Wrap="false" Width="100%" /> | |
| <FooterStyle Width="100%" /> | |
| </telerik:GridBoundColumn> | |
| <telerik:GridBoundColumn DataField="Display" HeaderText="Display" UniqueName="Display"> | |
| <HeaderStyle Width="100px"/> | |
| <ItemStyle Wrap="false" Width="100px"/> | |
| <FooterStyle Width="100px"/> </telerik:GridBoundColumn> | |
| <telerik:GridBoundColumn DataField="Value" HeaderText="Value" UniqueName="Value"> | |
| <HeaderStyle Width="100px"/> | |
| <ItemStyle Wrap="false" Width="100px"/> | |
| <FooterStyle Width="100px"/> </telerik:GridBoundColumn> | |
| </Columns> | |
| </MasterTableView> | |
| </telerik:RadGrid> |
Thanks!
Michael

| var tsControl = <%= claimTabs.ClientID %>; |
| tsControltsControl.ValidationGroup = tsControl.SelectedIndex.toString(); |
Hi,
I have a grid which has an edit form template and on the template is a linkbutton which opens a RadWindow as a customer lookup. I can easily return the customer name and address picked by the user from this lookup window to the calling form using ClientCallbackFunction and I want to use the returned data to perform a client-side update a couple of label controls in the calling grid's editform. The trouble is, I cannot find the label controls.
I have tried using the following principle:
<script ...>
function callBack(args)
{
var labelToUpdate = $find("%<=lblCustomerName.clientID%>")
}
</script>
but of course I get a compile-time error stating the lblCustomerName does not exists. (lblCustomerName is a label in the editform template.)
How can I find the label control in the grid's editform so I can change the label's value from the ClientCallbackFunction?
The page is Ajax-ified using a RadAjaxManager.
Thanks,
Jonathan

| <telerik:RadComboBox ID="userRadComboBox" runat="server" EnableLoadOnDemand="True" |
| ShowMoreResultsBox="True" Skin="Outlook" OnItemsRequested="userRadComboBox_ItemsRequested" |
| Width="250px"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </telerik:RadComboBox> |
| protected void userRadComboBox_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e) |
| { |
| RadComboBox userRadComboBox = o as RadComboBox; |
| userRadComboBox.Items.Clear(); |
| string text = e.Text; |
| try |
| { |
| // Bind User names |
| RPFirehouseUserCollection coll = new RPFirehouseUserCollection(); |
| coll.Query.FhuStaffId.Trim(); |
| coll.Query.Where(coll.Query.FhuStaffId != String.Empty); |
| coll.Query.Where(coll.Query.FhuStaffId.Like(text + "%")); |
| coll.Query.OrderBy(coll.Query.FhuStaffId.Ascending); |
| if (coll.Query.Load()) |
| { |
| int itemsPerRequest = 20; |
| int itemOffset = e.NumberOfItems; |
| int endOffset = itemOffset + itemsPerRequest; |
| if (endOffset > coll.Count) |
| { |
| endOffset = coll.Count; |
| } |
| for (int i = itemOffset; i < endOffset; i++) |
| { |
| RPFirehouseUser user = coll[i]; |
| /// Changed from FhuName to FhuUserId 5/6/08 JCK |
| userRadComboBox.Items.Add(new RadComboBoxItem(user.FhuStaffId + " " + user.FhuName, user.FhuId.ToString())); |
| } |
| if (coll.Count > 0) |
| { |
| e.Message = String.Format("Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>", endOffset.ToString(), coll.Count.ToString()); |
| } |
| else |
| { |
| e.Message = "No matches"; |
| } |
| } |
| } |
| catch (Exception ex) |
| { |
| e.Message = "No matches"; |
| } |
| } |