column.CurrentFilterValue = 60
If (
Not Page.IsPostBack) Then
RadGrid1.MasterTableView.FilterExpression =
"([Price] between 60 AND 70) "
Dim column As GridColumn = RadGrid1.MasterTableView.GetColumnSafe("Price")
column.CurrentFilterFunction =
GridKnownFunction.GreaterThanOrEqualTo
column.CurrentFilterValue = 60
column.AndCurrentFilterFunction =
GridKnownFunction.LessThanOrEqualTo
column.AndCurrentFilterValue = 70
'column.AndCurrentFilterFunction = GridKnownFunction.Between
'column.CurrentFilterFunction= 60,70
RadGrid1.MasterTableView.Rebind()
End If
<telerik:RadTabStrip ID="rtsVertical" runat="server" MultiPageID="rmpCourseEdit"
SelectedIndex="1" SkinID="OutlookVTAB" Style="float: left">
<Tabs>
<telerik:RadTab Text="pgvBasic" PageViewID="pgvBasic" runat="server" Selected="True" /
<telerik:RadTab Text="pgvComposite" PageViewID="pgvComposite" runat="server" />
<telerik:RadTab Text="pgvTexts" PageViewID="pgvTexts" runat="server" />
<telerik:RadTab Text="pgvPub" PageViewID="pgvPub" runat="server" />
<telerik:RadTab Text="pgvSpec" PageViewID="pgvSpecialist" runat="server" />
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="rmpCourseEdit" runat="server" SelectedIndex="0" RenderSelectedPageOnly="false" CssClass="MultiPageV">
... </>
Follows the CSS and Skins:
<telerik:RadTabStrip runat="server" SkinID="OutlookHTAB"
Skin="Outlook"
EnableEmbeddedSkins="False"
Orientation="HorizontalTop"
/>
-------------------------
Can you help me with this guys?
tks,
protected void RadGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column is GridExpandColumn)
{
(e.Column as GridExpandColumn).ButtonType = GridExpandColumnType.ImageButton;
(e.Column as GridExpandColumn).ExpandImageUrl = "~/Images/grd_SinglePlus.gif";
(e.Column as GridExpandColumn).CollapseImageUrl = "~/Images/grd_SingleMinus.gif";
}
}
protected void Export_to_PDF_Click(object sender, System.EventArgs e)
{
RadGrid1.ExportSettings.ExportOnlyData = false;
RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.MasterTableView.ExportToPdf();
}
<
tr>
<td >
<p class="style" >
Please enter job posting number:
</p>
</td>
<td >
<telerik:RadNumericTextBox ID="JobPostingNo" runat="server" TabIndex="9" Font-Bold="true" MaxLength="4" Type="Number" MinValue="1" MaxValue="9999" CssClass="textbox" Width="48px" Enabled="false">
<NumberFormat GroupSeparator="" DecimalDigits="0" />
<DisabledStyle Font-Bold="true" BackColor="#EFEFEF" />
</telerik:RadNumericTextBox>
</td>
<td>
<asp:Image ID="JobPNErrImage" runat="server" Width="14px" Height="14px" ImageUrl="~/Image/error-icon.jpg" Visible="false" />
</td>
</tr>
<tr>
<td>
<p class="style">
Have you met all of the criteria outlined in the posting?
</p>
</td>
<td>
<telerik:RadComboBox ID="ddlPost" runat="server" TabIndex="10" AutoPostBack="false" Font-Size="Small" Width="53px">
<Items>
<telerik:RadComboBoxItem Text="Select" Value="" Selected="true" />
<telerik:RadComboBoxItem Text="Yes" Value="Y" />
<telerik:RadComboBoxItem Text="No" Value="N" />
</Items>
</telerik:RadComboBox>
</td>
RadPanelBar
attestPanel = (RadPanelBar)formPanel.FindItemByValue("principalForm").FindControl("attestationPanel");
RadNumericTextBox jobPostNo = (RadNumericTextBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("JobPostingNo");
RadComboBox ddlAprvPost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlAprv");
if (ddlAprvPost.SelectedValue == "Y")
{
jobPostNo.Enabled =
true;
jobPostNo.Focus();
}
else
{
if (jobPostNo.Text.Length > 0)
{
jobPostNo.Text =
string.Empty;
}
jobPostNo.Enabled =
false;
}
My question is: when jobPostNo control is disabled how to shift focus to the next control right after this control.
Thanks so much.
I would be grateful for an example of how to wire-up some client-side javascript to the click event on a GridHyperlinkColumn. I have this markup:
<MasterTableView>
<Columns>
<telerik:GridBoundColumn DataField="id" Visible="false" DataType="System.Int32"></telerik:GridBoundColumn>
<telerik:GridHyperlinkColumn DataTextField="companyname" DataNavigateUrlFields="companyURL" datatype="System.String">
</telerik:GridHyperlinkColumn>
</Columns>
</MasterTableView>
and I want to send the value of the DataNavigateUrlFields to a client-side javascript function when the hyperlink is clicked:
someClientSideFunction( value of the DataNavigateUrlFields of the clicked item );
Thanks