or
Search field | Operator | Search Value |
ComboBox 1 (contains all the fields from the Table) | ComboBox (AND, OR, NOT, EQUAL TO) | Text Box 1 |
ComboBox 2 (contains all the fields from the Table) | ComboBox (AND, OR, NOT, EQUAL TO) | Text Box 2 |
ComboBox 3 (contains all the fields from the Table) | ComboBox (AND, OR, NOT, EQUAL TO) | Text Box 3 |
public
class
User
{
public
System.Guid UserId {
get
;
set
; }
public
string
UserName {
get
;
set
; }
public
virtual
ICollection<Role> Roles {
get
;
set
; }
}
public
class
Role
{
public
System.Guid RoleId {
get
;
set
; }
public
string
RoleName {
get
;
set
; }
public
virtual
ICollection<User> Users {
get
;
set
; }
}
<
telerik:RadGrid
ID
=
"grdResult"
runat
=
"server"
Width
=
"100%"
AutoGenerateColumns
=
"false"
AllowPaging
=
"true"
PageSize
=
"25"
ShowHeader
=
"true"
>
<
MasterTableView
AutoGenerateColumns
=
"False"
>
<
Columns
>
</
Columns
>
<
NoRecordsTemplate
>
<
div
> Search did not match with any of the existing data.</
div
>
</
NoRecordsTemplate
>
</
MasterTableView
>
</
telerik:RadGrid
>
GridBoundColumn col =
new
GridBoundColumn();
col =
new
GridBoundColumn();
col.HeaderText = SystemConstants.ExtenalName_Col1;
col.DataField = SystemConstants.InternalName_Col1;
grdResult.MasterTableView.Columns.Add(col);
col =
new
GridBoundColumn();
col.HeaderText = SystemConstants.ExtenalName_Col2;
col.DataField = SystemConstants.InternalName_Col2;
grdResult.Columns.Add(col);
col =
new
GridBoundColumn();
col.HeaderText = SystemConstants.ExtenalName_Col3;
col.DataField = SystemConstants.InternalName_Col3;
grdResult.MasterTableView.Columns.Add(col);
col =
new
GridBoundColumn();
col.HeaderText = SystemConstants.ExtenalName_Col4;
col.DataField = SystemConstants.InternalName_Col4;
grdResult.MasterTableView.Columns.Add(col);
col =
new
GridBoundColumn();
col.HeaderText = SystemConstants.ExtenalName_Col5;
col.DataField = SystemConstants.InternalName_Col5;
grdResult.MasterTableView.Columns.Add(col);
col.HeaderText =
"View"
;
//this will be hyperlink column
grdResult.Columns.Add(col);
Hi,
I have a RadPanelBar, which includes several panelitems. I put a radtreeview under each of the item. then add the first-level treenodes to them programmatically, and the node Expandmode has been set to "ServerSideCallBack" so that the second level node can be expanded on demand.
The program works ok but the only issue is the Scrollbar does not appear automartcally when I expanded the treenode and the content exceed the height. But if I set the Expand="True" and "Selected="true" at the panelitem then the scrollbar appear. But logically only one can be expanded and selected, how to fix this?
I am using the latest build (2012.3.1205.35) and tried on IE 9/Google Chrome, same result
<
telerik:RadPanelBar
ID
=
"panelBarMain"
runat
=
"server"
Width
=
"100%"
Height
=
"100%"
ExpandMode
=
"FullExpandedItem"
Skin
=
"Office2007"
><
BR
><
Items
><
BR
><
telerik:RadPanelItem
Value
=
"Trackings"
Text
=
"Trackings"
Visible
=
"false"
><
BR
><
ContentTemplate
><
BR
><
telerik:RadTreeView
ID
=
"treeTracking"
runat
=
"server"
><
BR
><
Nodes
><
BR
></
Nodes
><
BR
></
telerik:RadTreeView
><
BR
></
ContentTemplate
><
BR
></
telerik:RadPanelItem
><
BR
><
telerik:RadPanelItem
Value
=
"Tenders"
Text
=
"Tenders"
Visible
=
"false"
Expanded
=
"true"
Selected
=
"true"
><
BR
><
ContentTemplate
><
BR
><
telerik:RadTreeView
ID
=
"treeTenders"
runat
=
"server"
><
BR
></
telerik:RadTreeView
><
BR
></
ContentTemplate
><
BR
></
Items
><
BR
></
telerik:RadPanelBar
>