Hi,
I have a RadComboBox with a Header and Item Templates. I have set the EnableLoadOnDemand to true and using the OnItemsRequested event to populate the ComboBox. In the event am getting the values in a DataSet and using it as the datasource and binding it to the ComboBox using DataBind() method. But the data is not getting displayed and in the UI it is just showing the message as "Loading...". Am not even getting any exceptions and the datasource is being assigned properly. Am I missing something else?. Please help me in this regard. Thanks.
Below are the aspx and the script CS code i have written. Please find the attached screenshot as well.
<script type="text/C#" language="CS" runat="server"> protected void RadComboBox_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) { try { SomeClass sclass = new SomeClass() DataSet ds = sclass.SomeMethod(); RadComboBox rcb = (RadComboBox)sender; rcb.DataSource = ds; rcb.DataTextField = "Column1"; rcb.DataValueField = "Column0"; rcb.DataBind(); } catch (Exception ex) { throw ex; } }</script>
<telerik:RadComboBox HighlightTemplatedItems="true" IsCaseSensitive="false" ID="ddlRadComboBox1" EnableLoadOnDemand="true" runat="server" TabIndex="9" OnItemsRequested="RadComboBox_ItemsRequested" style="width:30%;height:25px;" DropDownWidth="750"> <HeaderTemplate> <table style="width: 750px; font-family:Verdana; font-size:11px;" cellspacing="0" cellpadding="0"> <tr> <td style="width:35%;">Column 1</td> <td style="width:65%;">Column 2</td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 750px; font-family:Verdana; font-size:11px;" cellspacing="0" cellpadding="0"> <tr> <td style="width:35%;"><%# DataBinder.Eval(Container.DataItem, "Column1")%></td> <td style="width:65%;"><%# DataBinder.Eval(Container.DataItem, "Columns2")%></td> </tr> </table> </ItemTemplate> </telerik:RadComboBox>DataTextField
="ratecode;description" DataTextFormatString="{0} - {1}" DataValueField="rateid"
Hello,
In My Page, I have a dropdown, on selection of a item from this dropdown,a grid on this page gets loaded. this grid has Edit buttons. I will edit the data in this grid and then save. On Successful save, I want to display a pop up sasying that data update was successful. If unsuccesful, then I will say it was not.
I have a bool variable bStatus, this will be true on success, and false on failure. Depending on this, I want to display this pop up.How can I get a pop up window programatically?
Thanks and Regards,
Deepika Karanth

<asp:Panel ID="PnlFileDetails" runat="server" BorderStyle="Solid" BorderWidth="1px"
Width="100%"> <asp:Panel ID="PnlCurrentConntentDetails" runat="server" Width="100%"> <table style="width: 100%"> <tr> <td style="border: 1px solid"> <telerik:RadGrid ID="dgCurrentContentDetails" runat="server" AllowMultiRowSelection="True" Skin="SLB" CellSpacing="1" CellPadding="3" BorderStyle="Solid" BorderWidth="0px" Width="100%" Height="300px" AutoGenerateColumns="False" GridLines="None" AllowSorting="True" HeaderStyle-Height="30px" EnableEmbeddedSkins="False" OnItemDataBound="dgCurrentContentDetails_ItemDataBound"> <ClientSettings> <Scrolling AllowScroll="true" UseStaticHeaders="true" /> <Selecting AllowRowSelect="true" /> <ClientEvents OnRowSelecting="RowSelecting" OnRowSelected="RowSelected" OnRowDeselected="RowDeSelected" /> </ClientSettings> <HeaderStyle Font-Underline="False" Height="30px" /> <ItemStyle Wrap="true" /> <MasterTableView AllowNaturalSort="true" AllowCustomSorting="true" ShowHeadersWhenNoRecords="true" NoMasterRecordsText="No files found for the selected product."> <ExpandCollapseColumn SortAscImageUrl="~/Skins/SLB/Grid\SortAsc.gif" SortDescImageUrl="~/Skins/SLB/Grid\SortDesc.gif"> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn UniqueName="RuleID" DataField="RuleID" HeaderText="RuleID" Display="false"> <HeaderStyle HorizontalAlign="Center" /> <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> </telerik:GridBoundColumn> </Columns> </MasterTableView> </telerik:RadGrid> </td> </tr> </table> </asp:Panel> </asp:Panel>document.getElementById('ctl00_CntPlHolder_PnlFileDetails').disabled = false;
document.getElementById('ctl00_CntPlHolder_PnlCurrentConntentDetails').disabled = false;
document.getElementById(
'ctl00_CntPlHolder_dgCurrentContentDetails').enabled = true;
Thanks,
Sudha.

var row = masterTable.get_dataItems()[index];
var cell = masterTable.getCellByColumnUniqueName(row, "ClientSelectColumn");
var chk = cell.getElementsByTagName("input")[0];
if(chk.checked)
{
....
}
eventhough i select the Check box chk.checked is false.