sender._uploadedFiles[0].fileInfo.ContentLength
function
ElementRowDblClick(sender, eventArgs) {
var
grid = sender;
var
MasterTable = grid.get_masterTableView();
var
row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
debugger;
$find(
"<%= rgData.MasterTableView.ClientID %>"
).editItem(row);
}
<
ClientSettings
AllowExpandCollapse
=
"true"
>
<
ClientEvents
OnRowDblClick
=
"ElementRowDblClick"
/>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
telerik:RadWindowManager ID="radWindowManager" Style="z-index: 8001;"
runat="server" Skin="Vista" OnClientClose="OnClientClose" EnableViewState="false" ShowContentDuringLoad="false" >
<Windows>
<telerik:RadWindow ID="radWINModalPostLogin" runat="server" ReloadOnShow="True" DestroyOnClose="true" Behaviors="None"
Left="" VisibleTitlebar="False" VisibleOnPageLoad="false" Style="display: none;" Top="" Modal="True" KeepInScreenBounds="True" >
</telerik:RadWindow>
<telerik:RadWindow ID="radWINDialogPostLogin" VisibleStatusbar="false" runat="server" VisibleOnPageLoad="false"
Left="" VisibleTitlebar="True" Style="display: none;" Top="" Modal="False" Behaviors="Close" >
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<
XXX:DynamicRadGrid
ID
=
"RadGrid1"
AllowPaging
=
"True"
AutoGenerateColumns
=
"false"
runat
=
"server"
DataSourceID
=
"GridDataSource"
OnItemDataBound
=
"RadGrid1_ItemDataBound"
OnItemCommand
=
"RadGrid1_ItemCommand"
>
<
PagerStyle
CssClass
=
"clPanelPaging"
BackColor
=
"White"
ShowPagerText
=
"true"
Mode
=
"NumericPages"
/>
<
ExportSettings
ExportOnlyData
=
"true"
IgnorePaging
=
"true"
OpenInNewWindow
=
"true"
/>
<
MasterTableView
EditMode
=
"InPlace"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
></
CommandItemSettings
>
</
MasterTableView
>
</
XXX:DynamicRadGrid
>
<
asp:DataServiceLinqDataSource
ID
=
"GridDataSource"
runat
=
"server"
EnableDelete
=
"true"
EnableUpdate
=
"true"
AutoPage
="false"
>
</
asp:DataServiceLinqDataSource
>
... i binded to in codebehind?
I Have started to get up and running with my small test-projekt for evaluating Telerik ...
I have managed to bind a datattable through NeedDatasource. Like this:
'Set datasource
ProductGrid.DataSource = New Products.Table(Client.ConnectionString)
ProductTable.Save()
$(
"#dialog1").dialog({modal:true, });
Thanks
Hello ,
i have a radtagcloud item , i want use it like shopping - basket.
user select a row from RadGrid in Client , and i want to add "ID" value on grid into RadTagCloud via Java Script. How can i do that ?
here is the code below :
function
OnRowSelected(sender, eventArgs) {
// add into radtagcloud
var colIndex = 0;
var rowIndex = eventArgs._itemIndexHierarchical;
if (rowIndex > -1) {
var value = sender._selection._masterTable.children[rowIndex].cells[colIndex].innerText;
if (value != null) {
// add this item into cloud.
??
}
}
}
}
thanks
<
asp:Repeater
ID
=
"repeaterApproveDept"
Runat
=
"server"
>
<
ItemTemplate
>
<
TR
>
<
TD
class
=
"APR_ARIAL_10PT"
width
=
"100"
>
<%# FormatName((System.Data.DataRowView)Container.DataItem)%>
</
TD
>
<
td
valign
=
"middle"
>
<
cc1:myCCFDropDownList
Enabled
=
"false"
id
=
"Myccfdropdownlist2"
runat
=
"server"
Width
=
"100"
SetValue='<%# DataBinder.Eval(Container.DataItem, "RecommendedRating")%>' AutoPostBack="False" apAssessmentID='<%# DataBinder.Eval(Container.DataItem, "apAssessmentID")%>' siStaffID='<%# DataBinder.Eval(Container.DataItem, "siStaffID")%>' DeptAssignID='<%# DataBinder.Eval(Container.DataItem, "DeptAssignID")%>' IsLeadership='<%# DataBinder.Eval(Container.DataItem, "IsLeadership")%>' BogReviewerStatus='<%# DataBinder.Eval(Container.DataItem, "BogReviewerStatus")%>' DivStatus='<%# DataBinder.Eval(Container.DataItem, "DivStatus")%>'>
<
asp:ListItem
Value
=
""
>Not Selected</
asp:ListItem
>
<
asp:ListItem
Value
=
"E"
>Exceeds</
asp:ListItem
>
<
asp:ListItem
Value
=
"A"
>Achieves</
asp:ListItem
>
<
asp:ListItem
Value
=
"I"
>Needs Improvement</
asp:ListItem
>
<
asp:ListItem
Value
=
"NR"
>NR</
asp:ListItem
>
<
asp:ListItem
Value
=
"RET"
>RET</
asp:ListItem
>
<
asp:ListItem
Value
=
"TNTR"
>TNTR</
asp:ListItem
>
<
asp:ListItem
Value
=
"WR"
>WR</
asp:ListItem
>
</
cc1:myCCFDropDownList
>
</
td
>
<
TD
width
=
"85%"
valign
=
"middle"
>
<
asp:textbox
cssclass
=
"APR_ARIAL_10PT"
id
=
"TextBoxComments"
TextMode
=
"MultiLine"
runat
=
"server"
Rows
=
5
Columns
=
140
Text='<%# DataBinder.Eval(Container.DataItem, "Comments")%>'>
</
asp:textbox
>
</
TD
>
<
td
align
=
"center"
>
<
asp:CheckBox
ID
=
"CheckBoxCompleted"
Runat
=
"server"
Checked='<%# DataBinder.Eval(Container.DataItem, "IsCompleted").ToString()=="1"%>' onclick="return false;">
</
asp:CheckBox
>
</
td
>
</
TR
>
<
tr
>
<
td
colspan
=
"4"
><
hr
>
</
td
>
</
tr
>
</
ItemTemplate
>
</
asp:Repeater
>