or
| Match type1 -("My Number") Hi .. i am using radtree view in my web page. I am adding the nodes manually. I have to bind the No of records for corresponding match. I will be getting the d ata from stored procedure for corresponding Match type 1 to Match type 7. Can i add rad treenode text side by my database Numbers. Match type1 -("My Number") Match type1 -("My Number") Match type2 -("My Number") Match type3 -("My Number") Match type4 -("My Number") Match type5 -("My Number") Match type6 -("My Number") Match type7 -("My Number"). Here i am adding Match Type1 as template field. When user clicks on that link it navigates to another page. How can i do this. Please give some suggetions. How can i do ? <td width="50%" > |
| <rad:RadTreeView ID="RadTreeView1" runat="server" DragAndDropBetweenNodes="true" Skin="Vista"> |
| <Nodes> |
| <rad:RadTreeNode runat="server" Text="Matching Types" Expanded="true"> |
| <Nodes> |
| <rad:RadTreeNode runat="server" Text="Match Type1" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." > |
| </rad:RadTreeNode> |
| <rad:RadTreeNode runat="server" Text="Match Type2" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." /> |
| <rad:RadTreeNode runat="server" Text="Match Type3" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." /> |
| <rad:RadTreeNode runat="server" Text="Match Type4" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." /> |
| <rad:RadTreeNode runat="server" Text="Match Type5" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." /> |
| <rad:RadTreeNode runat="server" Text="Match Type6" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." /> |
| <rad:RadTreeNode runat="server" Text="Match Type7" NavigateUrl="../Modules/Search Results.aspx" |
| ToolTip="click here to see results of this search for the match type fot this decedent." /> |
| </Nodes> |
| </rad:RadTreeNode> |
| </Nodes> |
| </rad:RadTreeView> |
| </td> |
| <ItemTemplate> |
| <div class="rcbItem"> |
| <%#Eval("RefereeFirstName") & " " & Eval("RefereeMidName") & " " & Eval("RefereeLastName")%> |
| </div> |
| </ItemTemplate> |
| <asp:Label SkinID="mailLabel" ID="lblMailRcp" runat="server" Font-Bold="true" Text="<%$Resources:TextResources, ID_MAIL_TO%>" /> </td><td width="650"><telerik:RadTextBox OnTextChanged="anyText_TextChanged" ID="txtMailTo" Font-Size="10" runat="server" ReadOnly="true" Width="100%" AutoPostBack="true"></telerik:RadTextBox> |
| <telerik:RadEditor ID="EditorMailBody" runat="server" EditModes="Design" OnTextChanged="anyText_TextChanged" AutoPostBack="true" |
| Enabled="True" EnableResize="True" Language="de-DE" |
| ToolsFile="~/App_GlobalResources/NoTools.xml" Visible="True" |
| Width="100%" Height="275" SkinID="EmailEditor" |
| ><Content /></telerik:RadEditor> |
| protected void anyText_TextChanged(object sender, EventArgs e) |
| { |
| if (sender is RadTextBox) |
| { |
| RadTextBox selBox = (RadTextBox)sender; |
| switch (selBox.ID) |
| { |
| case "txtMailTo": |
| _currentEmail.Recipient = selBox.Text; |
| break; |
| case "txtMailSubject": |
| _currentEmail.Subject = selBox.Text; |
| break; |
| case "lblMailSender": |
| _currentEmail.Sender = selBox.Text; |
| break; |
| } |
| } |
| else if (sender is RadEditor) |
| { |
| RadEditor selBox = (RadEditor)sender; |
| switch (selBox.ID) |
| { |
| case "EditorMailBody": |
| _currentEmail.Body = selBox.Text; |
| break; |
| } |
| } |
| _currentEmail.UpdateEmail(); |
| <telerik:RadGrid runat="server" AllowPaging="True" ID="grdAddedFlyerItems" OnNeedDataSource="grdAddedFlyerItems_NeedDataSource" |
| Width="375px" OnRowDrop="grdAddedFlyerItems_RowDrop" AllowMultiRowSelection="true" |
| PageSize="7" AutoGenerateColumns="false"> |
| <MasterTableView DataKeyNames="ItemID" Width="100%" EditMode="InPlace"> |
| <EditFormSettings> |
| <EditColumn UniqueName="EditCommandColumn1" ButtonType="imageButton" CancelText="Cancel this action" |
| UpdateText="Save changes" EditText="Edit record" CancelImageUrl="~/App_Themes/Default/Buttons/notapprovedicon.gif" |
| UpdateImageUrl="~/App_Themes/Default/Buttons/saveicon.gif"> |
| </EditColumn> |
| </EditFormSettings> |
| <Columns> |
| <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" |
| EditImageUrl="~/App_Themes/Default/Buttons/editicon.gif"> |
| <ItemStyle CssClass="nowrap" /> |
| <HeaderStyle Width="10px" /> |
| </telerik:GridEditCommandColumn> |
| <telerik:GridButtonColumn ButtonType="ImageButton" ConfirmText="Remove this item from added items?" |
| CommandName="RemoveItem" Text="Remove Item" UniqueName="DeleteColumn" ImageUrl="~/App_Themes/Default/Buttons/recyclebin_small.gif"> |
| <HeaderStyle Width="10px" /> |
| </telerik:GridButtonColumn> |
| <telerik:GridBoundColumn DataField="ItemCompany" HeaderText="Prefix" SortExpression="ItemCompany" |
| UniqueName="ItemCompany" ReadOnly="true"> |
| <HeaderStyle Width="35px" /> |
| <ItemStyle CssClass="nowrap" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="Item Nbr" SortExpression="ItemNumber" DataField="ItemNumber" |
| UniqueName="ItemNumber" ReadOnly="true"> |
| <HeaderStyle Width="65px" /> |
| <ItemStyle CssClass="nowrap" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Description" HeaderText="Description" SortExpression="Description" |
| UniqueName="Description" ReadOnly="true"> |
| </telerik:GridBoundColumn> |
| <telerik:GridNumericColumn DataField="Price" HeaderText="Price" DataFormatString="{0:C}" |
| SortExpression="Price" UniqueName="Price" /> |
| </Columns> |
| <NoRecordsTemplate> |
| <div style="height: 30px; cursor: pointer;"> |
| No items to view</div> |
| </NoRecordsTemplate> |
| <PagerStyle Mode="NumericPages" PageButtonCount="4" /> |
| </MasterTableView> |
| <ClientSettings AllowRowsDragDrop="True"> |
| <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" /> |
| <ClientEvents OnRowDropping="onRowDropping" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| Response.Clear() |
| Response.Charset = "" |
| ''set the response mime type for excel |
| Response.ContentType = "application/vnd.ms-excel" |
| HttpContext.Current.Response.AddHeader("content-disposition", "attachment;filename=1.xls") |
| Dim sw As New StringWriter |
| Server.Execute(Session("ReportFile"), sw) |
| Response.Write(sw.ToString.Replace("<div", "<span").Replace("</div", "</span").Replace("<input id=""ctl00_PageContent", "<span id=""ctl00_PageContent")) |
| Response.End() |
| <telerik:RadGrid ID="dgMonth" runat="server" ShowGroupPanel="False" RecordType="Deposit" AutoGenerateColumns="True" EnableEmbeddedskins="false" |
| RecordCountString="Total Record Count: {0}" Width="700px" RecordCountCssClass="" InsertMode="1" InsertInDialogWindow="0" EnableAJAXLoadingTemplate="True" |
| DataActiveField="Active" BorderWidth="1px" ShowFooter="True" GridLines="None" PagerStyleVisible="False" FooterStyle-BackColor="AliceBlue" > |
| <PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" Visible="False" /> |
| <ClientSettings AllowDragToGroup="True"></ClientSettings> |
| <MasterTableView CommandItemDisplay="Top" ShowHeader="True" Width="100%" DataKeyNames="MonthlyDate" ShowFooter="true" EditMode="InPlace"> |
| <EditFormSettings> |
| <PopUpSettings ScrollBars="None"></PopUpSettings> |
| </EditFormSettings> |
| <CommandItemTemplate> |
| <asp:LinkButton ID="lnkInsert" runat="server" Visible="false" CommandName="InitInsert" CausesValidation="false"> <img style="border:0px" alt="" src="../images/AddRecord.gif" />Add New Interim Deposit</asp:LinkButton> |
| </CommandItemTemplate> |
| <CommandItemSettings AddNewRecordImageUrl="AddRecord.gif" RefreshImageUrl="Refresh.gif"> |
| </CommandItemSettings> |
| <FooterStyle BackColor="White" ForeColor="Black" Font-Size="12pt" |
| Font-Bold="False" HorizontalAlign="Right" /> |
| </MasterTableView> |
| <HeaderContextMenu EnableEmbeddedSkins="False" EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </HeaderContextMenu> |
| <FilterMenu EnableEmbeddedSkins="False" EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </FilterMenu> |
| </telerik:RadGrid> |
Hi ,
Is there any option to set custom sort image url?
I tried with SortAscImgUrl and SortDscImg url.
But i am getting the image with white Backgroud .Attached the Screen shot.
Is there any option to set custom url or any reffrence link
Thanks
senthil