<
telerik:RadDockLayout runat="server" ID="RadDockLayout1" Skin="Web20" EnableEmbeddedSkins="false">
<telerik:raddockzone runat="server" id="RadDockZone1" orientation="Horizontal" Width="98%" Height="98%" minheight="95%" MinWidth="95%" HighlightedCssClass="DockHighlight">
<
telerik:raddock id="RadDock3" Skin="Outlook" title="mydock" runat="server" height="95%" width="30%" dockhandle="TitleBar" Resizable="true" DefaultCommands="ExpandCollapse, PinUnpin, Close">
<contenttemplate>
<ucControls:Control1 id="control1" runat="server" />
</contenttemplate>
</telerik:raddock>
</telerik:raddockzone>
</telerik:RadDockLayout>
Protected Sub gv_Search_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles gv_Search.ItemCommand
'Get the Row index of the click and load the DataKeys (Columns)
Dim index As Int32 = Convert.ToInt32(e.Item.ItemIndex)
Select Case e.CommandName
Case "edit"
Dim SIDX1H As String = _user.Containers(0).CustomView.SIDX1.ToString ..........
<
EditFormSettings EditFormType="Template">
<EditColumn ButtonType="LinkButton" CancelText="Cancel" InsertText="Insert Order" UniqueName="col_Edit" UpdateText="Update">
<ItemStyle BackColor="Black" />
</EditColumn>
<FormTemplate>
<div class="divGVEdit" style="padding-left: 10px;">
<div style="padding-left: 10px; text-align: left">
<table id="tblReg" style="border-collapse: collapse;" cellspacing="2" cellpadding="1">
<tr>
<td align="left">
<itemtemplate>
<asp:Label ID="lbl1" runat="server" Text='<%# DataBinder.Eval(Container,"SIDX1H") %>' />
</itemtemplate>...........
Private Sub LoadEditor(ByVal File As String)
Dim sr As System.IO.StreamReader
Dim fi As New System.IO.FileInfo(File)
Dim strContents As String = ""
If System.IO.File.Exists(File) Then
sr = System.IO.File.OpenText(File)
strContents += sr.ReadToEnd()
Editor.Content = strContents
sr.Close()
Else
End If
End Sub

RadGrid1.MasterTableView.DataSource = myDataSet.Tables(
"a").DefaultView
RadGrid1.Columns(0).Visible =
False
After that, I tried to debug it during runtime and found out that the grid having no column even though i have set its DataSource.
Anyway to solve this out?
Thanks in advance and apprciate for the answer.
Regards,
Lim
protected void FormViewSkillDetails_DataBound(object sender, EventArgs e)
{
if (FormViewSkillDetails.CurrentMode == FormViewMode.Insert)
{
FormViewSkillDetails.Focus(); //place the cursor on the 1st available field of the form view.
//DropDownList ddl = (DropDownList)FormViewSkillDetails.FindControl("DropDownListSkillTypeInsertDisplay");
RadComboBox ddl = (RadComboBox)FormViewSkillDetails.FindControl("RadComboBoxSkillTypeInsertDisplay");
Panel p = (Panel)FormViewSkillDetails.FindControl("PanelSkillOwnHeadingInsertItem");
RequiredFieldValidator rfv = (RequiredFieldValidator)FormViewSkillDetails.FindControl("RequiredFieldValidatorClientSideSkillOwnHeadingInsert");
CustomValidator cvss = (CustomValidator)FormViewSkillDetails.FindControl("CustomValidatorServerSideSkillOwnHeadingInsertItemBlank");
ddl.Attributes.Add("onchange", "JavaScript:selectInputInsertChange('" + ddl.ClientID + "', '" + p.ClientID + "', '" + rfv.ClientID + "', '" + cvss.ClientID + "');");
}
}
Any suggestions?