or
| <telerik:RadAjaxPanel ID="ajaxpnlSearch" runat="server"> |
| <div class="form-row"> |
| <div class="float-left" style="width: 100%;"> |
| <asp:Button Text="Search" class="search" runat="server" ID="btnSearch" OnClick="btnSearch_Click" /> |
| </div> |
| <div class="clear no-text"> |
| </div> |
| </div> |
| <div class="clear no-text"> |
| </div> |
| <telerik:RadGrid ID="grdSearchResults" runat="server" Width="100%" AllowPaging="True" |
| AllowSorting="True" DataSourceID="odsOpportunities" GridLines="None"> |
| <MasterTableView AutoGenerateColumns="False" DataSourceID="odsOpportunities" DataKeyNames="OppId" |
| EnableViewState="true"> |
| <Columns> |
| <telerik:GridBoundColumn DataField="OppId" HeaderText="OppId" SortExpression="OppId" |
| UniqueName="OppId" DataType="System.Int64"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="BusinessName" HeaderText="BusinessName" ReadOnly="True" |
| SortExpression="BusinessName" UniqueName="BusinessName"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName" |
| UniqueName="ContactName" ReadOnly="True"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="OppExpireDate" DataType="System.DateTime" HeaderText="OppExpireDate" |
| SortExpression="OppExpireDate" UniqueName="OppExpireDate"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" HeaderText="CreatedDate" |
| SortExpression="CreatedDate" UniqueName="CreatedDate"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="CreatedBy" DataType="System.Int32" HeaderText="CreatedBy" |
| SortExpression="CreatedBy" UniqueName="CreatedBy"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings> |
| <Selecting AllowRowSelect="True" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| <asp:ObjectDataSource ID="odsOpportunities" runat="server" OldValuesParameterFormatString="original_{0}" |
| SelectMethod="Search" TypeName="Hub.BLL.Opportunity.Opportunity"> |
| <SelectParameters> |
| <asp:ControlParameter ControlID="txtOppId" Name="inOppId" PropertyName="Text" Type="Int32" /> |
| <asp:ControlParameter ControlID="cmbPartner" Name="inPartnerId" PropertyName="SelectedValue" |
| Type="Int32" /> |
| <asp:ControlParameter ControlID="cmbOppStatus" Name="inStatus" PropertyName="SelectedValue" |
| Type="Int32" /> |
| <asp:ControlParameter ControlID="cmbOppType" Name="inOppType" PropertyName="SelectedValue" |
| Type="Int32" /> |
| <asp:ControlParameter ControlID="dpWOOStartDate" Name="inStartDate" PropertyName="SelectedDate" |
| Type="DateTime" /> |
| <asp:ControlParameter ControlID="dpWOOEndDate" Name="inEndDate" PropertyName="SelectedDate" |
| Type="DateTime" /> |
| <asp:ControlParameter ControlID="cmbChannel" Name="inChannel" PropertyName="SelectedValue" |
| Type="Int32" /> |
| <asp:ControlParameter ControlID="cmbCampaign" Name="inCampaign" PropertyName="SelectedValue" |
| Type="Int32" /> |
| <asp:ControlParameter ControlID="cbNew" Name="inNew" PropertyName="Checked" Type="Boolean" /> |
| </SelectParameters> |
| </asp:ObjectDataSource> |
| <br /> |
| </telerik:RadAjaxPanel> |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| } |
| protected void btnSearch_Click(object sender, EventArgs e) |
| { |
| grdSearchResults.DataBind(); |
| } |
<telerik:RadPanelBar runat="server" ID="SearchOptionsPanel" Width="172px" Skin="CMASkin" EnableEmbeddedSkins="false" OnClientItemClicked="PanelBarItemClicked"> <Items> <telerik:RadPanelItem Text="Search Options" Expanded="true" Value="MeasureOptions"> <Items> <telerik:RadPanelItem Text=""> <ItemTemplate> <uc1:DischargeListCriteriaControl ID="DischargeListCriteriaCtrl" runat="server" /> </ItemTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>
public DischargeListCriteriaControl DischargeListCriteriaControl { get { return this.DischargeListCriteriaCtrl; } }
function resizeSplitter(paneControlsHeight) { var splitter = $find("<%= splitterMain.ClientID %>"); if (splitter) { var paneControls = splitter.getPaneByIndex(0); var paneReportView = splitter.getPaneByIndex(1); if (paneControls && paneReportView) { paneControls.set_height(paneControlsHeight); paneControls.set_maxHeight(paneControlsHeight); var height = paneReportView.getContentElement().scrollHeight; paneReportView.set_height(height); var splitBar = splitter.getSplitBarByIndex(0); splitter.set_height(paneControlsHeight + splitBar.getHeight() + height); } }}<telerik:RadSplitter ID="splitterMain" runat="server" Orientation="Horizontal" Width="973"><telerik:RadPane runat="server" id="paneControls" Width="100%" Height="250" MaxHeight="250" Scrolling="None" > <!-- All sorts of controls go here that allow the user to change the scope and display of their report data. Includes RadDatePickers, RadComboBoxes, RadTreeViews, asp:DropDownLists, etc. --></telerik:RadPane><telerik:RadSplitBar runat="server" id="splitBarMain1" CollapseMode="Forward" /><telerik:RadPane runat="server" id="paneReportView" Width="100%" Height="100" Scrolling="None" > <div id="divReportView" style="width:970px; border:none;margin-top:7px; background-color:#EEEEEE; overflow:hidden;" runat="server"> <analytics:AllReportsViewControl ID="allReportsViewControl" runat="server" ></analytics:AllReportsViewControl> </div></telerik:RadPane></telerik:RadSplitter>private void ResizeSplitterOnClient(Report report){ if (report != null) { // Just determine which of two heights the top pane will get. int paneControlsHeight = 450; // ReportFilterControls.GeographyControls and ReportFilterControls.CommodityTree should be mutually exclusive, as they occupy the same real estate. if (report.FindFilterControl((int)ReportFilterControls.CommodityTree) != null) { paneControlsHeight = 250; } // And tell the client to call its resizeSplitter function. RadAjaxManager.GetCurrent(this).ResponseScripts.Add(string.Format("setTimeout('resizeSplitter({0});',100);", paneControlsHeight)); }}<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="900px" Height="400px" Skin="Metro" Transitions="true" > <ChartTitle Text=""> <Appearance Visible="false"> <TextStyle Margin="0" Padding="0" FontSize="1" /> </Appearance> </ChartTitle> <PlotArea> <XAxis MajorTickType="Outside" MinorTickType="None"> <TitleAppearance Visible="false"> </TitleAppearance> <LabelsAppearance RotationAngle="45"> </LabelsAppearance> <MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines> <MinorGridLines Color="#F7F7F7" Width="1" Visible="false"></MinorGridLines> </XAxis> <YAxis> <TitleAppearance Text="Price" Visible="false"> </TitleAppearance> <MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines> <MinorGridLines Color="#F7F7F7" Width="1"></MinorGridLines> </YAxis> <Series> <rad:LineSeries MissingValues="Gap" ColorField="Color" DataFieldY="Price"> <LineAppearance Width="1" /> <LabelsAppearance Visible="false"></LabelsAppearance> <TooltipsAppearance ClientTemplate="#=dataItem.ToolTip#" /> <SeriesItems> </SeriesItems> </rad:LineSeries> </Series> </PlotArea> </telerik:RadHtmlChart>GridButtonColumn
i want to highlight the word which is present in grid. on GridButton Click