or

<telerik:RadDropDownTree ID="rddtrForeas" runat="server" EnableFiltering="True"
DefaultMessage="Select sth"
DataTextField="Title"
DataFieldID="SomeId"
CheckBoxes="SingleCheck"
ExpandNodeOnSingleClick="true"
DataValueField="SomeId"
DefaultValue="-1"
DataFieldParentID="ParentId">
<ButtonSettings ShowCheckAll="False" ShowClear="true"></ButtonSettings>
<DropDownSettings Height="400" AutoWidth="Enabled" CssClass="mis-rddtree" OpenDropDownOnLoad="False" ></DropDownSettings><br>
<FilterSettings Filter="Contains" FilterTemplate="ByText" Highlight="Matches" EmptyMessage="Write here for filtering" ></FilterSettings>
</telerik:RadDropDownTree>
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
| <Windows> |
| <telerik:RadWindow ID="NewSamplePopup" |
| Behaviors="Move,Pin" |
| ReloadOnShow="true" |
| Modal="true" |
| runat="server" |
| Height="520" |
| Width="600" |
| NavigateUrl="./NewSamplePopup.aspx" |
| VisibleStatusbar="false" |
| Title="Getting Available Sample Types...Please Wait" |
| ShowContentDuringLoad="false"> |
| </telerik:RadWindow> |
| </telerik:RadWindowManager> |
| <body> |
| <telerik:RadCodeBlock runat="server"> |
| <script type="text/javascript"> |
| function GetRadWindow() { |
| var oWindow = null; |
| if (window.radWindow) |
| oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog |
| else if (window.frameElement.radWindow) |
| oWindow = window.frameElement.radWindow; //IE (and Moz as well) |
| return oWindow; |
| } |
| function RadWindowClose() { |
| GetRadWindow().Close(); |
| } |
| function CloseAndRebind(args) { |
| GetRadWindow().Close(); |
| GetRadWindow().BrowserWindow.refreshGrid(args); |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| protected void btnGetTests_Click(object sender, EventArgs e) |
| { |
| // code that throws an error... |
| } |
| protected void btnCancel_Click(object sender, EventArgs e) |
| { |
| // close the form - this works!!! |
| ScriptManager.RegisterStartupScript(this, this.GetType(), "close", "RadWindowClose();", true); |
| } |
| protected override void OnError(EventArgs e) |
| { |
| // At this point we have information about the error |
| HttpContext ctx = HttpContext.Current; |
| Exception exception = ctx.Server.GetLastError(); |
| ///////// |
| // Logic to handle error here |
| ///////// |
| ctx.Server.ClearError(); |
| // Gets called but doesn't work! |
| ScriptManager.RegisterStartupScript(this, this.GetType(), "close", "RadWindowClose();", true); |
| } |
Hi,
I am not able to bind the data with custom data attribute.
Is it possible to bind the data in telerik grid control?
I am trying like this..
<Columns>
<telerik:GridTemplateColumn Display="false"></telerik:GridTemplateColumn>
</Columns>
<Columns>
<telerik:GridTemplateColumn Display="false"><ItemTemplate>
<asp:Label runat="server" ID="lblRowStyle"</telerik:GridTemplateColumn>
</Columns>
Kindly do the needful...
for (var i = 0; i < masterView.get_dataItems().length; i++) {
var aCell= masterView.getCellByColumnUniqueName(masterView.get_dataItems()[i], "aCell")
if (aCell!= null) {
var cellValue = aCell.innerHTML;
if (Exists(filterListbox.get_checkedItems(), cellValue) == false) {
masterView.hideItem(i);
continue;
}
}
//now re-set paging so it still displays x items instead of x-(hidden item count)
}

Pls can Anyone Help me