Hi All,
I'm having issues with the this Col.
I can't get the selectvalue to fire up.
Please can you assist.
<telerik:GridDropDownColumn DataField="AstSeriesID" ListTextField ="Name" ListValueField="Id" DataSourceID="AssetSeries" HeaderText ="Asset Series"
UniqueName="AssetSeries" DropDownControlType ="RadComboBox" EnableEmptyListItem="True" EmptyListItemValue=" " EmptyListItemText="<Add New Seies>">
</telerik:GridDropDownColumn>
Kind Regards,
Liz
Hi
My auto complete box gets populated with tokens programmatically by other actions on my page, I would like the user to be able to delete these tokens but not to be able to type in free text - is this possible?
Good Morning,
I use a RadPanelBar to hide or show the filter of a grid .
I use the same code in two webform identically (in both pages the PanelBar and the grid are within
a RadPageView,It could be an important detail) .
Image Bug 001 : Initial scenario panel bar filters initial uncompressed (Page correct)
Image Bug 002 : panel expanded bar after pressing the button "+" (Page correct)
In the second page, the filter part already expanded but it is not visible the entire structure of
panel bar but only its content . ( Image Bug 003 )
If I click on any part near the filter panel scomapre ( Image Bug 004 ) .
Does anyone know help me ?
I tried to replace the element ContentTemplate RadPanelItem with an ItemTemplate
but reading the documentation is it correct use a ContentTemplate (in fact
the first page works ).
This is the code of first page (OK)
<
telerik:RadPageView
ID
=
"rpwCompany"
runat
=
"server"
>
<
div
class
=
"divFilters"
>
<
telerik:RadPanelBar
runat
=
"server"
ID
=
"pnlBarFilterCompany"
Width
=
"100%"
ExpandMode
=
"MultipleExpandedItems"
Font-Bold
=
"true"
>
<
Items
>
<
telerik:RadPanelItem
Expanded
=
"false"
>
<
ContentTemplate
>
<
div
class
=
"filterBox"
>
<
div
class
=
"filterItemContainer"
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterCompanyCode"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadTextBox
ID
=
"txtFilterCompanyCode"
runat
=
"server"
MaxLength
=
"16"
Width
=
"100px"
/>
</
div
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterCompanyName"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadTextBox
ID
=
"txtFilterCompanyName"
runat
=
"server"
MaxLength
=
"16"
Width
=
"180px"
/>
</
div
>
</
div
>
<
div
class
=
"filterButton"
>
<
telerik:RadButton
ID
=
"btnSearchCompany"
runat
=
"server"
Width
=
"140px"
Height
=
"65px"
Font-Bold
=
"true"
Font-Size
=
"16px"
ForeColor
=
"#0167B1"
OnClick
=
"btnSearchCompany_Click"
>
<
Icon
PrimaryIconUrl
=
"~/Images/24x24/search.png"
PrimaryIconHeight
=
"24px"
PrimaryIconWidth
=
"24px"
/>
</
telerik:RadButton
>
<
telerik:RadButton
ID
=
"btnResetFilterCompany"
runat
=
"server"
Width
=
"140px"
Height
=
"35px"
Font-Bold
=
"true"
Font-Size
=
"16px"
ForeColor
=
"Red"
OnClick
=
"btnResetFilterCompany_Click"
Skin
=
"Sunset"
>
</
telerik:RadButton
>
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>
</
div
>
<telerik:RadGrid ID="gvListCompany" runat="server" AllowPaging="True" ...............
This is the code of second page (Error)
<
telerik:RadPageView
ID
=
"rpwValidity"
runat
=
"server"
>
<
div
class
=
"divFilters"
>
<
telerik:RadPanelBar
runat
=
"server"
ID
=
"pnlBarFilterValidity"
Width
=
"100%"
ExpandMode
=
"MultipleExpandedItems"
Font-Bold
=
"true"
>
<
Items
>
<
telerik:RadPanelItem
Expanded
=
"false"
>
<
HeaderTemplate
></
HeaderTemplate
>
<
ContentTemplate
>
<
div
class
=
"filterBox"
>
<
div
class
=
"filterItemContainer"
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterValidityCode"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadTextBox
ID
=
"txtValidityCodeFilter"
runat
=
"server"
MaxLength
=
"16"
Width
=
"100px"
/>
</
div
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterValidityName"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadTextBox
ID
=
"txtValidityNameFilter"
runat
=
"server"
MaxLength
=
"16"
Width
=
"180px"
/>
</
div
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterOPTExpression"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadTextBox
ID
=
"txtOPTExpressionFilter"
runat
=
"server"
MaxLength
=
"16"
Width
=
"180px"
/>
</
div
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterStartProductionDateFrom"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadDatePicker
ID
=
"rdpStartProductionDateFromFilter"
runat
=
"server"
Width
=
"180px"
AutoPostBack
=
"true"
OnSelectedDateChanged
=
"rdpStartProductionDateFromFilter_SelectedDateChanged"
/>
</
div
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterStartProductionDateTo"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadDatePicker
ID
=
"rdpStartProductionDateToFilter"
runat
=
"server"
Width
=
"180px"
AutoPostBack
=
"true"
OnSelectedDateChanged
=
"rdpStartProductionDateToFilter_SelectedDateChanged"
/>
</
div
>
<
div
class
=
"filterItem"
>
<
asp:Label
ID
=
"lblTagFilterLanguage"
runat
=
"server"
SkinID
=
"TagFilter"
CssClass
=
"filterLabel"
/>
<
telerik:RadComboBox
ID
=
"ddlLanguageFilter"
runat
=
"server"
Width
=
"120px"
/>
</
div
>
</
div
>
<
div
class
=
"filterButton"
>
<
telerik:RadButton
ID
=
"btnSearchValidity"
runat
=
"server"
Width
=
"140px"
Height
=
"65px"
Font-Bold
=
"true"
Font-Size
=
"16px"
ForeColor
=
"#0167B1"
OnClick
=
"btnSearchValidity_Click"
>
<
Icon
PrimaryIconUrl
=
"~/Images/24x24/search.png"
PrimaryIconHeight
=
"24px"
PrimaryIconWidth
=
"24px"
/>
</
telerik:RadButton
>
<
telerik:RadButton
ID
=
"btnResetFilterValidity"
runat
=
"server"
Width
=
"140px"
Height
=
"35px"
Font-Bold
=
"true"
Font-Size
=
"16px"
ForeColor
=
"Red"
OnClick
=
"btnResetFilterValidity_Click"
Skin
=
"Sunset"
>
</
telerik:RadButton
>
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>
</
div
>
<telerik:RadGrid ID="gvListValidity" runat="server" AllowPaging="True" ......
I have many dropdowns in my webform application and they all behave correctly except on one page. On the page in question the dropdown behaves differently
Any ideas why this may be happening?
Currently we are using Telerik Radeditor for our web application but the end users are having issues in copying & pasting content from word document to the radeditor. Also the html getting generated from pasting the word content is having some issues like some unwanted characters are generated leading to formatting isuue.
Please suggest some word like editor that will be helpful in this regard.
Hi All
I have a RadCombobox, and the very first item on the list is added in the code behind.
With ddlApptClinic
.Items.Clear()
.Items.Insert(0, New RadComboBoxItem("Any Clinic", -1))
.Items.Insert(0, New RadComboBoxItem("", 0))
I have now added a template item, and the above are missing. How do I add items when I have an item Template
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "ClinicCode")%><br />
<%# DataBinder.Eval(Container.DataItem, "ClinicDescription")%>
</ItemTemplate>
Andy
Ho can I highlight the row when the checkbox is selected?
I added the following, but it doen't work after a filter or sort because the rowIdx is correct only when all rows are displayed.
Any idea
CODE BEHIND:
----------------------
int rowIdx = 0;
protected void grdLegalEntities_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
GridDataItem item = (GridDataItem)e.Item;
CheckBox chk = (CheckBox)item["clmyesno"].Controls[0];
chk.Enabled = true;
chk.Attributes.Add("onclick", "SelectCurrentRow(" + rowIdx + ");");
rowIdx++;
}
}
JAVASCRIPT:
---------------------
function SelectCurrentRow(rowIdx)
{
var grid = $find('<%=grdLegalEntities.ClientID %>');
grid.get_masterTableView().get_dataItems()[rowIdx].set_selected("true");
}
hi,
i am using your telerik datagrid, every thing works fine but i need to pass the filter values to the sql datasource (or a simple objectdatasource).
Can you help me?
thanks!
<
asp:SqlDataSource
ID
=
"SqlDataSource1"
ConnectionString
=
"***"
ProviderName
=
"System.Data.OracleClient"
SelectCommand
=
"select * from MAINITEMS"
runat
=
"server"
>
</
asp:SqlDataSource
>
<
telerik:RadGrid
runat
=
"server"
ID
=
"RadGrid1"
Width
=
"99%"
Height
=
"600px"
DataSourceID
=
"SqlDataSource1"
AllowFilteringByColumn
=
"True"
AllowSorting
=
"True"
ShowFooter
=
"False"
ShowHeader
=
"True"
OnPreRender
=
"RadGrid1_OnPreRender"
AllowAutomaticDeletes
=
"False"
AllowAutomaticUpdates
=
"False"
AllowAutomaticInserts
=
"False"
AutoGenerateColumns
=
"True"
AllowPaging
=
"True"
PageSize
=
"30"
ShowGroupPanel
=
"True"
>
<
GroupingSettings
CaseSensitive
=
"false"
ShowUnGroupButton
=
"true"
></
GroupingSettings
>
<%--configurazione per spostare le colonne--%>
<
ClientSettings
AllowColumnsReorder
=
"true"
ReorderColumnsOnClient
=
"true"
AllowKeyboardNavigation
=
"true"
AllowDragToGroup
=
"True"
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"true"
></
Scrolling
>
</
ClientSettings
>
<
MasterTableView
CommandItemDisplay
=
"None"
DataKeyNames
=
"ID"
AllowFilteringByColumn
=
"True"
>
</
MasterTableView
>
</
telerik:RadGrid
>