<asp:Panel ID="PNL" runat="server" style="display:none; width:900px; background-color:White; border-width:2px; border-color:Black; border-style:solid; padding:20px; "> <%-- Form to finalize appointment--%> <table id="Table1" runat="server"> <tr> <td> Select Patient </td> <td style="width: 166px"> <asp:DropDownList ID="ddlPatientID" runat="server" AutoPostBack="true" onselectedindexchanged="ddlPatientID_SelectedIndexChanged" ForeColor="Black" height="22px" Width="162px" style="border:1px inset black" > </asp:DropDownList> </td> </tr> <tr> <td> Name</td> <td style="width: 166px"> <asp:TextBox ID="txtViewPatientName" runat="server" ForeColor="Black" ReadOnly="True" CssClass="textbox"></asp:TextBox> </td>
<Columns > <asp:TemplateField HeaderText="Create Appointment"> <ItemTemplate> <asp:LinkButton ID="createAppointment" runat="server" OnClick="createAppointment_Click" OnClientClick='<%# "frmFindAppointment.aspx?Fullname=" + HttpUtility.UrlEncode(Eval("Fullname").ToString())+"&RecordNumber="+ HttpUtility.UrlEncode(Eval("RecordNumber").ToString())+"&Date="+ HttpUtility.UrlEncode(Eval("Date").ToString())+"&SlotID="+ HttpUtility.UrlEncode(Eval("SlotID").ToString())+"&Timeslot="+ HttpUtility.UrlEncode(Eval("Timeslot").ToString()) %>' Text="Create Appointment" /> <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender2" runat="server" TargetControlID="createAppointment" DisplayModalPopupID="ModalPopupExtender1" /> <ajaxToolkit:ModalPopupExtender BackgroundCssClass="modalBackground" ID="ModalPopupExtender1" runat="server" TargetControlID="createAppointment" PopupControlID="PNL" OkControlID="ButtonOk" EnableViewState="false" /> </ItemTemplate> </asp:TemplateField> </Columns>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)