<%@ Page Title="" Language="C#" MasterPageFile="~/mstr2.Master" AutoEventWireup="true" CodeBehind="AdminEditPost.aspx.cs" Inherits="CarGallery.AdminEditPost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <div align="center" style="color:White;background-color:#507CD1;font-weight:bold; height: 45px;vertical-align:middle;font-size:16px"><br />Edit Post</div>


    <!--> inja qesmatie ke vaqti ro Edite ye post to Modiriate Post click mikonim varedesh mishim </!-->
    <table style="width:99.5%;font-size:16px;margin-top:10px">
        <tr>
            <td width="130px" height="30px">Title :</td>
            <td><asp:TextBox ID="txtTitle" MaxLength="50" TextMode="SingleLine" style="width:100%" Height="20px" runat="server"></asp:TextBox></td>
        </tr>

        <tr>
            <td style="vertical-align:top">Description : &nbsp;&nbsp</td>
            <td><asp:TextBox ID="txtDescription" TextMode="MultiLine" style="width:100%" Height="200px" runat="server"></asp:TextBox></td>
        </tr>

        <tr>
            <td  height="30px">Slide : </td>
            <td>
                    <asp:radioButton runat="server" GroupName="pnl" ID="rbtnSlideTrue" Text=" Yes" />
                    &nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp
                    <asp:radioButton runat="server" GroupName="pnl" ID="rbtnSlideFalse" Text=" No" Checked="true" />
            </td>
        </tr>

        <tr>
            <td  height="30px">allow comments : </td>
            <td>
                    <asp:radioButton runat="server" GroupName="pnl2" ID="rbtnCommentsTrue" Text=" Yes"  Checked="true" />
                    &nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp
                    <asp:radioButton runat="server" GroupName="pnl2" ID="rbtnCommentsFalse" Text=" No"/>
            </td>
        </tr>

        <tr>
            <td></td>
            <td>
                <asp:Button ID="btnSave" runat="server" height="30px" Width="200px" Text="Save" OnClick="btnSave_Click"/>
                <asp:Button ID="btnCancel" runat="server" height="30px" Width="200px" Text="Cancel" OnClick="btnCancel_Click"/>
            </td>
        </tr>
        </table>
</asp:Content>
