or
| yAxis[0].TextBlock.Text = "Part 1"; |
| yAxis[0].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left; |
| yAxis[1].TextBlock.Text = "\tPart 1.1"; |
| yAxis[1].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left; |
| yAxis[2].TextBlock.Text = "\tPart 1.1"; |
| yAxis[2].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left; |
| <telerik:RadGrid ID="rgPersonasBloqueadas" runat="server" AllowPaging="True" AllowSorting="True" |
| GridLines="None" ShowGroupPanel="True" OnGroupsChanging="rgPersonasBloqueadas_GroupsChanging" |
| OnPageIndexChanged="rgPersonasBloqueadas_PageIndexChanged" |
| OnSortCommand="rgPersonasBloqueadas_SortCommand" |
| onitemcommand="rgPersonasBloqueadas_ItemCommand" |
| onitemdatabound="rgPersonasBloqueadas_ItemDataBound"> |
| <MasterTableView> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridTemplateColumn UniqueName="TemplateColumn"> |
| <ItemTemplate> |
| <asp:Button ID="btnMostrarCliente" runat="server" CausesValidation="false" CommandName="Select" CommandArgument='<%# obtenerCriterio(Eval("Identificacion"),Eval("CodigoAlmacen"))%>' Text="..."/> |
| <telerik:RadToolTip ID="rttMensaje" runat="server" Skin="Vista" ManualClose="true" ContentScrolling="Auto" RelativeTo="Element" Width="250px" Height="50px" Sticky="true" IsClientID="true"></telerik:RadToolTip> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings AllowDragToGroup="True"> |
| </ClientSettings> |
| <FilterMenu EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </FilterMenu> |
| </telerik:RadGrid> |
| protected void rgPersonasBloqueadas_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) |
| { |
| switch (e.CommandName) |
| { |
| case "Select": |
| GridDataItem item = e.Item as GridDataItem; |
| if (!clienteBloqueado(e.CommandArgument.ToString())) |
| { |
| actualizarCache(e.CommandArgument.ToString()); |
| cambiarColor(e); |
| RadWindow rnd = new RadWindow(); |
| rnd.ID = "rwInfoUsuario"; |
| rnd.Modal = true; |
| rnd.VisibleOnPageLoad = true; |
| rnd.Behaviors = WindowBehaviors.Close | WindowBehaviors.Move; |
| rnd.Width = Unit.Pixel(800); |
| rnd.Height = Unit.Pixel(600); |
| rnd.NavigateUrl = "~/Paginas/InfoUsuario.aspx?ID=" + e.CommandArgument.ToString(); |
| rwmVentana.Windows.Add(rnd); |
| } |
| else if (item["UsuarioEnUso"].Text != HttpContext.Current.User.Identity.Name) |
| { |
| ((RadToolTip)e.Item.FindControl("rttMensaje")).TargetControlID = ((Button)e.Item.FindControl("btnMostrarCliente")).ClientID; |
| ((RadToolTip)e.Item.FindControl("rttMensaje")).Text = "El usuario " + item["UsuarioEnUso"].Text + " se encuentra llamando actualmente a este cliente."; |
| ((RadToolTip)e.Item.FindControl("rttMensaje")).Show(); |
| ((Button)e.Item.FindControl("btnMostrarCliente")).Enabled = false; |
| } |
| break; |
| } |
| } |
OpenerElementID="Button1" Skin="Sunset" Width="400px" Animation="Fade" BackColor="#FFFF99">
somthing ...text
</telerik:RadWindow>
but when rad window is opened on my page, its content is blank.
i tested it with ie7 & ff 3.
need help,
tnx
| <Columns> |
| <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"> |
| <ItemStyle CssClass="MyImageButton" /> |
| </telerik:GridEditCommandColumn> |
| <telerik:GridTemplateColumn HeaderText="Namn" UniqueName="Name"> |
| <ItemTemplate><asp:Label runat="server" ID="Name" Text='<%# Eval("Name") %>'></asp:Label></ItemTemplate> |
| <EditItemTemplate> |
| <asp:TextBox ID="Name" runat="server" Text='<%# Bind("Name") %>'></asp:TextBox> |
| <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="Name" |
| ErrorMessage="obligatorisk" runat="server" Text="*" Display="Dynamic" /> |
| </EditItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridCheckBoxColumn UniqueName="IsEnabled" HeaderText="Aktiverad" DataField="IsEnabled" /> |
| </Columns> |
| protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e) |
| { |
| GridEditableItem editedItem = e.Item as GridEditableItem; |
| Client c = (Client)e.Item.DataItem; |
| c.Name = ((TextBox)editedItem.FindControl("Name")).Text.Trim(); |
| c.IsEnabled = ((GridBoolColumnEditor)editedItem.EditManager.GetColumnEditor("IsEnabled")).Value; |
| try |
| { |
| ClientBL.SaveOrUpdate(c); |
| } |
| catch |
| { |
| Msg.Show("Fel uppstod."); |
| } |
| } |