or
Protected Sub myRadGrid_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles myRadGrid.ItemCreated
If TypeOf e.Item Is GridCommandItem Then
Dim citem As GridCommandItem = DirectCast(e.Item, GridCommandItem)
Dim Cb As CheckBox = DirectCast(citem.FindControl("cbhist"), CheckBox)
If Cb.Checked = True Then
HFHist.Value = 1
AddHandler Cb.CheckedChanged, AddressOf cb_CheckedChanged
Else
HFHist.Value = Nothing
AddHandler Cb.CheckedChanged, AddressOf cb_CheckedChanged
End If
End If
End Sub
Private Sub cb_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs)
myRadGrid.Rebind()
End Sub
Protected Sub myRadGrid_NeedDataSource(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles myRadGrid.NeedDataSource
Dim sqlwhere As String
If Int32.Parse(HFHist.Value) = 1 Then
sqlwhere = ""
Else
sqlwhere = "where bitJ6 IS NULL or bitJ6 = 0"
End If
sql = "Select f.intFlagId, f.intPersonnelid, mn.strFullname + ' ' + mn.strRank Flag, m.strFullname + ' ' + m.strRank FlagBy, CONVERT(varchar(10), dtFlagged, 101) dtFlagged, bitUnit, bitJ2, bitJ6, strNotes " _
& "from iMAC_J2Flag f INNER JOIN MnNgPersonnel.dbo.tblMNNatPersonnel mn on mn.intPersonnelId = f.intPersonnelId INNER JOIN MnNgPersonnel.dbo.tblMNNatPersonnel m on m.intPersonnelId = f.intFlagBy " _
& "" & sqlwhere & ""
Response.Write(sql)
Response.End()
myRadGrid.DataSource = getData(sql)
End Sub
Normally we have English letter keyboards with other languages support. And we can switch between languages by pressing Alt-Shift or Ctrl-Shift, or by selecting the input language from the language bar, and then we can start typing in the selected language.
Currently I am developing a web page where the user should fill some fields in two languages (i.e., filling name in English letters and then filling name in Arabic letters). Normally in this case, the user should fill the name in English and then switch the keyboard language from the keyboard or the language bar.
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context
of a databound control" on all of my combos since I upgraded to Q1 2010 version, is there any reason for that?
<
telerik:RadFileExplorer
runat
=
"server"
ID
=
"FileExplorer1"
Configuration-MaxUploadFileSize
=
"100000000"
OnItemCommand
=
"FileExplorer1_ItemCommand"
VisibleControls
=
"Toolbar,ContextMenus,TreeView,Grid"
Width
=
"520px"
Height
=
"520px"
EnableCreateNewFolder
=
"true"
EnableOpenFile
=
"true"
>
</
telerik:RadFileExplorer
>