| <telerik:RadComboBox runat="server" ID="PermitRadComboBox" Height="190px" Width="250px" |
| EmptyMessage="Type a code or name" MarkFirstMatch="true" EnableLoadOnDemand="true" |
| HighlightTemplatedItems="true" OnClientItemsRequested="UpdateItemCountField" |
| OnDataBound="PermitRadComboBox_DataBound" OnItemDataBound="PermitRadComboBox_ItemDataBound" |
| OnItemsRequested="PermitRadComboBox_ItemsRequested" DropDownWidth="450px" AutoPostBack="True" |
| CausesValidation="False" OnSelectedIndexChanged="PermitRadComboBox_SelectedIndexChanged"> |
| <HeaderTemplate> |
| <ul> |
| <li class="col1">Number</li> |
| <li class="col2">Permittee</li> |
| </ul> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <ul> |
| <li class="col1"> |
| <%# DataBinder.Eval(Container.DataItem, "permit_number") %></li> |
| <li class="col2"> |
| <%# DataBinder.Eval(Container.DataItem, "permittee") %></li> |
| </ul> |
| </ItemTemplate> |
| <FooterTemplate> |
| A total of |
| <asp:Literal runat="server" ID="RadComboItemsCount" /> |
| items |
| </FooterTemplate> |
| </telerik:RadComboBox> |
| <script type="text/javascript"> |
| var isDirty = false; |
| var msg = 'This page has unsaved changes.\n\nClick OK to abandon the changes and leave the page.\n\nClick Cancel to stay on the page so you can save your changes.'; |
| $(document).ready(function () |
| { |
| $(':input').change(function () |
| { |
| if (!isDirty) |
| { |
| isDirty = true; |
| } |
| }); |
| window.onbeforeunload = function () |
| { |
| if (isDirty) return msg; |
| }; |
| }); |
| </script> |
<telerik:RadTreeView ID="DocTreeView" runat="server" CssClass="cssTreeView" Height="100%"Width="285" OnClientNodeClicked ="onclickTreeview" onNodeClick="DocTreeView_NodeClick"> </telerik:RadTreeView>function onclickTreeview(sender, args) { code........ if (!AllowImageOpen) { alert('This image is now displayed'); // cancel the event here } }} var detaiItem = (this.NamingContainer as TreeListDetailTemplateItem); if (detailItem.DataItem != null) { //HACK: Cast to my business class, use the key value to find the appropriate treelistDataItem var itemId = (detailItem.DataItem as CheckListItem).CheckListItemID; treeListDataItem = RadTreeList1.Items.Where(i => (int) i.GetDataKeyValue("CheckListItemID") == itemId).SingleOrDefault(); var displayIndex = treeListDataItem.DisplayIndex ..... }protected void RadTreeList1_ItemCreated(object sender, TreeListItemCreatedEventArgs e){ TreeListDataItem treeListDataItem = null; if (e.Item is TreeListDataItem ) { treeListDataItem = (TreeListDataItem)e.Item; treeListDataItem.Attributes["oncontextmenu"] = "ShowContextMenu(" + treeListDataItem.DisplayIndex + ", event);"; } else if (e.Item is TreeListDetailTemplateItem) { // We need the TreeListDataDataItem so we can use it's Display Index var detailItem = (e.Item as TreeListDetailTemplateItem); if (detailItem.DataItem != null) { var itemId = (detailItem.DataItem as CheckListItem).CheckListItemID; treeListDataItem = RadTreeList1.Items.Where(i => (int) i.GetDataKeyValue("CheckListItemID") == itemId).SingleOrDefault(); detailItem.Attributes["oncontextmenu"] = "ShowContextMenu(" + treeListDataItem.DisplayIndex + ", event);"; } } }Hi
In my sharepoint 2010 application, need to select a folder thru folder dialog window/popup. How to create it.
Is it possible with any telerik/asp.net controls (or) Is any other way to get dialog window with selecting a folder and upload all the files from folder.
Note: I know RadUpload control upload one file at a time. I need to select folder, no matter what how many files exists in the folder.
regards
Jay

Hi,
I am working on Project which has a Radgrid, project was running successfully and the out come is alright. But my problem is filtering and paging is not working.
<telerik:RadGrid ID="RadGrid1" Skin="WebBlue" runat="server" AllowFilteringByColumn="true" AutoGenerateColumns="true" ShowStatusBar="True" GridLines="None" AllowPaging="true" PageSize="20" AllowSorting="True" onitemdatabound="RadGrid1_ItemDataBound" EnableLinqExpressions ="false">
<PagerStyle Mode="NextPrevAndNumeric" />
<GroupingSettings CaseSensitive="false" />
<MasterTableView AutoGenerateColumns="false" EditMode="InPlace" AllowFilteringByColumn="True"
ShowFooter="True" TableLayout="Auto" AllowSorting="true" AllowPaging="true" PageSize="20">
<Columns>
<telerik:GridBoundColumn FilterControlWidth="50px" DataField=" total_float " HeaderText="Total Float" SortExpression=" total_float " UniqueName=" total_float ">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
This is my code and i placed only one row for sample.
Also i placed this in my code(VB) behind file.
Can any one help me, Thanks in advance.

RadComboBoxItem Item6 = new RadComboBoxItem(Resources.Ticket.Action_Knowledge_Base);Item6.Value = "1";Item6.ImageUrl = "../Content/images/contextmenu/knowledgebase.png";ddl_Actions.Items.Insert(8, Item6);RadComboBoxItem Item7 = new RadComboBoxItem(Resources.Ticket.Action_CustomAction);Item7.Value = "9";Item7.ImageUrl = "../Content/images/contextmenu/caction.png";ddl_Actions.Items.Insert(9, Item7);RadComboBoxItem Item8 = new RadComboBoxItem(Resources.Ticket.Ticket_RemoveFromFolder);Item8.Value = "12";Item8.ImageUrl = "../Content/images/contextmenu/remove-from-folder.png";ddl_Actions.Items.Insert(10, Item8);RadComboBoxItem Item10 = new RadComboBoxItem(Resources.Ticket.Ticket_Create_Change_Request);Item10.Value = "10";Item10.ImageUrl = "../Content/images/contextmenu/changerequest_conf.png";ddl_Actions.Items.Insert(11, Item10);RadComboBoxItem Item11 = new RadComboBoxItem(Resources.TicketSubscription.Subscribe);Item11.Value = "11";Item11.ImageUrl = "../Content/images/contextmenu/subscribe.png";ddl_Actions.Items.Insert(12, Item11);using (var db = new TBSHelpDeskDataContext(Globals.strCon)){ var md = (from a in db.CustomActions select new { a.CustomAction_ID, a.Name }).ToList(); ddl_Actions.DataSource = md; ddl_Actions.DataValueField = "CustomAction_ID"; ddl_Actions.DataTextField = "Name"; ddl_Actions.DataBind();}

<ItemTemplate> <telerik:RadNumericTextBox ID="lblNominationInstruction" runat="server" MaxLength="15" Width="100px" Visible="true" MinValue="0" NumberFormat-DecimalDigits="4" NumberFormat-DecimalSeparator="." NumberFormat-GroupSeparator="," NumberFormat-GroupSizes="3" NumberFormat-KeepNotRoundedValue="True" DisabledStyle-BorderStyle="None" Enabled="false" DisabledStyle-BackColor="Transparent" DisabledStyle-ForeColor="Black" Style="text-align: right" Text='<%# DataBinder.Eval(Container.DataItem, "EntryQuantity")%>'> </telerik:RadNumericTextBox> <asp:TextBox ID="txtNominationInstruction" MaxLength="15" runat="server" Visible="false" Width="100px" Style="text-align: right"></asp:TextBox></ItemTemplate>
