or
Private Sub Page_Init(sender As Object, e As System.EventArgs) Handles Me.InitDim table As New DataTable()table.Load(get data from database)For rowCounter As Integer = 0 To table.Rows.Count - 1For columnCounter As Integer = 0 To table.Columns.Count Step -1Dim tc As New GridTemplateColumntc.HeaderText = "qty_1"tc.UniqueName = "qty1" & columnCounter.ToStringtc.ItemTemplate = New MyTemplate(tc.UniqueName)grdSchedule.MasterTableView.Columns.Add(tc)nextnextEnd SubPrivate Class MyTemplate Implements ITemplate Protected textBox As TextBox Private colname As String Public Sub New(ByVal cName As String) MyBase.New() colname = cName End Sub Public Sub InstantiateIn(ByVal container As System.Web.UI.Control) Implements ITemplate.InstantiateIn textBox = New TextBox textBox.ID = "abc" container.Controls.Add(textBox) End Sub End Class
<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title></title></head><body > <form id="form1" runat="server"> <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager> <telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager> <telerik:RadButton ID="RadButton2" runat="server" Text="This button is OK" ></telerik:RadButton> <br/> <br/> <telerik:RadDockZone runat="server" ID="RadDockZone2" > <telerik:RadDock ID="uxLogonPanel" runat="server" Title="Logon" style="overflow:hidden;" EnableAnimation="false" AutoPostBack="false" Resizable="false" DefaultCommands="None" EnableDrag="False" Index="-1" Pinned="True" Tag="" Width="296" > <ContentTemplate> <telerik:RadButton ID="RadButton1" runat="server" Text="Inside dock" ></telerik:RadButton> <table id="uxLogonTable" Runat="server"> <tr> <td > <telerik:RadButton ID="uxLogonButton" runat="server" Text="Inside table in dock" ></telerik:RadButton> </td> </tr> </table> </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone> </form></body></html><telerik:GridTemplateColumn HeaderText="Password" UniqueName="pass" DataField="pass" SortExpression="Pass"> <ItemTemplate> <asp:Label ID="lblpass" runat="server" Text='<%# Eval("pass") %>' width="100px"></asp:Label> </ItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="txtpass" Width="300px" runat="server" Text='<%# Bind("pass") %>' > </telerik:RadTextBox> </EditItemTemplate> </telerik:GridTemplateColumn><telerik:RadGrid ID="grdCanaisComunicacao" runat="server" AllowSorting="true" AutoGenerateColumns="false" Width="80%" OnNeedDataSource="grdCanaisComunicacao_NeedDataSource" OnBatchEditCommand="grdCanaisComunicacao_BatchEditCommand"> <MasterTableView DataKeyNames="CanalComunicacaoID" EditMode="Batch" BatchEditingSettings-OpenEditingEvent="DblClick" CommandItemDisplay="Top"> <Columns> <telerik:GridBoundColumn DataField="Descricao" UniqueName="colDescricao" HeaderText="Descrição" HeaderStyle-Width="30%"> </telerik:GridBoundColumn> <telerik:GridTemplateColumn DataField="CanalComunicacaoTipoID" UniqueName="colTipo" HeaderText="Tipo" HeaderStyle-Width="30%"> <ItemTemplate> <asp:Label runat="server" ID="lblTipo" Text='<%# Eval("TipoDescricao") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <telerik:RadDropDownList runat="server" ID="ddlTipoCanal" DataValueField="CanalComunicacaoTipoID" DataTextField="Descricao" DataSourceID="dsCanalComunicacaoTipo"> </telerik:RadDropDownList> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridCheckBoxColumn DataField="IsPrincipal" HeaderText="Canal Principal" SortExpression="IsPrincipal" UniqueName="colIsPrincipal" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="20%"> </telerik:GridCheckBoxColumn> <telerik:GridButtonColumn ConfirmText="Excluir este canal de comunicação?" ConfirmDialogType="RadWindow" HeaderStyle-Width="20%" ConfirmTitle="Delete" HeaderText="Delete" ButtonType="ImageButton" ItemStyle-Width="16px" ItemStyle-Height="16px" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn"> </telerik:GridButtonColumn> </Columns> </MasterTableView> </telerik:RadGrid>Fix the missing AWS security service..
1. Take the same approach as in your everlive provider
-- snip from source
public string ApiKey { get; set; }
2. Add the same approach to your amazon provider..
public string AccessKey { get; set; }
public string SecretKey { get; set; }
3. See separate thread about missing dynamic key support.
You can keep the old style webconfig file, but it should be deprecated, i.e only used if both of the above are not available..
This is stanadard AWS security..