| function OnDropDownClosed(sender, eventArgs) |
| { |
| var treeView = $find('<%# RadComboBox1.Items[0].FindControl("RadTreeView1").ClientID %>'); |
| var nodes = treeView.get_checkedNodes(); |
| var str = ''; |
| for (var i=0; i<nodes.length;i++) |
| { |
| str += ', ' + nodes[i].get_text(); |
| } |
| sender.set_text(str); |
| } |
If Not ScriptManager1.IsInAsyncPostBack Then and it doesn't load my data when i click on the column to sort. please help me thank you very much.
sorry wrong place to post
There is a problem With the RadSplitter for ASP.NET AJAX in RadControls for ASP.NET AJAX Q3 2008 in Internet Explorer (6 and 7) when the VisibleDuringInit property is set to "false" - the content of the RadPanes remains hidden even after the RadSplitter has finished its initialization. The problem does not exist in FireFox, Safari, Opera, and Chrome.
Fix for the problem:
Assign a handler for the OnClientLoaded event of the RadSplitter:
| <telerik:RadSplitter ID="RadSplitter1" runat="server" VisibleDuringInit="false" |
| OnClientLoaded="OnClientLoaded" |
and execute the following code in it:
| <script type="text/javascript"> |
| function OnClientLoaded(sender, args) |
| { |
| sender.get_element().style.visibility = 'inherit'; |
| } |
| </script> |
Please accept our sincere appologies for the problem. The omission is clearly on our end, and we are deeply sorry for the frustration caused. This thread provides a workaround, that we believe is fairly easy and in addition to this, should you need a fixed Telerik.Web.UI build, please contact us with a support message, and we will send you a custom build DLL as well.
Note: This topic is for information purposes only and is locked. If there are any additional issues related to this problem, please open a support ticket or use the forums.
<
telerik:RadGrid ID="GrdSecurity" AllowPaging="True" ShowFooter="false"
runat="server" AutoGenerateColumns="False" AllowSorting="True" PageSize="3" Width="925px"
GridLines="Both" CellPadding="0" Skin="Default" AllowMultiRowSelection="true">
<MasterTableView ShowFooter="false">
<RowIndicatorColumn Visible="true" UniqueName="RowIndicator">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<Columns>
<telerik:GridBoundColumn UniqueName="ContactCompanyId" SortExpression="ContactCompanyId"
HeaderText="" DataField="contactCompanyId" Visible="false" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName ="FirstName" SortExpression="FirstName"
HeaderText="UserName" DataField ="firstName" >
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Owner">
<ItemTemplate>
<asp:RadioButton ID="rbOwner" runat="server" EnableViewState="true" GroupName="userRights"/>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Viewer">
<ItemTemplate>
<asp:RadioButton ID="rbViewr" runat="server" EnableViewState="true" GroupName="userRights" AutoPostBack="false" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="None">
<ItemTemplate>
<asp:RadioButton ID="rbNone" runat="server" EnableViewState="true" GroupName="userRights" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
here I want to fill my grid with data (coming from database as a result List ) .In a single row of grid only one radio button must be checked according to rightId column. How can I write my code on ASPX.cs page in C# .please provide solution as soon as possible
