Hello
I Use GridButton Column For Delete An Row.I Want Show Row Info(For Example ProductID) In PopUp With Rad Window And Then Perform Delete Command.
And My Source Is:
My DeleteColumn Is "DeleteColumn".Any One Can Help Me To Show Row Info (ProductID) In Delete PopUp Confirmation?
Thanks
I Use GridButton Column For Delete An Row.I Want Show Row Info(For Example ProductID) In PopUp With Rad Window And Then Perform Delete Command.
And My Source Is:
<telerik:RadWindowManager ID="RadWindowManager" runat="server" Animation="Slide" Skin="Vista" VisibleStatusbar="false" ShowContentDuringLoad="false" ReloadOnShow="true" Title="Confirm" /> <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="Vertical" Skin="Sunset" Width="99%" AutoGenerateColumns="False" AllowFilteringByColumn="True" oneditcommand="RadGrid1_EditCommand" onupdatecommand="RadGrid1_UpdateCommand" ondeletecommand="RadGrid1_DeleteCommand" oninsertcommand="RadGrid1_InsertCommand" onneeddatasource="RadGrid1_NeedDataSource" AllowSorting="True" AllowPaging="True" onitemcreated="RadGrid1_ItemCreated" onprerender="RadGrid1_PreRender" onitemcommand="RadGrid1_ItemCommand" Font-Names="Rod" Font-Overline="False" onitemdatabound="RadGrid1_ItemDataBound"> <GroupingSettings CaseSensitive="false" /> <ClientSettings> <Selecting AllowRowSelect="True" /> </ClientSettings> <MasterTableView DataKeyNames="ProductID" DataSourceID="SqlDataSource1" CommandItemDisplay="Top" Font-Names="Tahoma" PageSize="20"> <RowIndicatorColumn> <HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> <Columns> <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="شماره سطر"> <ItemTemplate> <asp:Label ID="numberLabel" runat="server" /> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="ProductID" HeaderText="سریال محصول" ReadOnly="True" SortExpression="ProductID" UniqueName="ProductID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="MaxUse" DataType="System.Byte" HeaderText="حداکثر استفاده" SortExpression="MaxUse" UniqueName="MaxUse"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Used" DataType="System.Byte" HeaderText="تعداد استفاده" SortExpression="Used" UniqueName="Used"> </telerik:GridBoundColumn> <telerik:GridBoundColumn Visible="false" DataField="Status" DataType="System.Byte" HeaderText="وضعیت" SortExpression="Status" UniqueName="Status"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Description" DataType="System.Byte" HeaderText="توضیحات" SortExpression="Description" UniqueName="Description"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LastEditDate" DataType="System.Byte" HeaderText="آخرین ویرایش" SortExpression="LastEditDate" UniqueName="LastEditDate"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LastEditor" DataType="System.Byte" HeaderText="آخرین ویرایشگر" SortExpression="LastEditor" UniqueName="LastEditor"> </telerik:GridBoundColumn> <telerik:GridButtonColumn HeaderText="حذف محصول" ConfirmText="محصول مورد نظر حذف گردد؟" ImageUrl="~/images/delete.png" ButtonType="ImageButton" ItemStyle-Width="30px" CommandName="Delete" UniqueName="DeleteColumn" ConfirmDialogType="RadWindow" ConfirmTitle="تایید حذف محصول" ItemStyle-BorderStyle="None"> <ItemStyle BorderStyle="None" Width="30px"></ItemStyle> </telerik:GridButtonColumn> <telerik:GridButtonColumn HeaderText="ویرایش محصول" ImageUrl="~/images/Edit.png" ButtonType="ImageButton" ItemStyle-Width="30px" CommandName="Edit" UniqueName="EditColumn" ItemStyle-BorderStyle="None"> <ItemStyle BorderStyle="None" Width="30px"></ItemStyle> </telerik:GridButtonColumn> </Columns>My DeleteColumn Is "DeleteColumn".Any One Can Help Me To Show Row Info (ProductID) In Delete PopUp Confirmation?
Thanks