Hi,
I want to insert/update appointements in a customize template.
I have created an inline template and add somme new attributes like this :
With the rad scheduler i use methods to insert/update datas :
In the code behind i want to recup datas from the customize template to insert them in my database i do this :
And i can't find a way to get the value of my TxtBox here...
Do you know how could i get this information???
Thanks for helping.
I want to insert/update appointements in a customize template.
I have created an inline template and add somme new attributes like this :
| <InlineInsertTemplate> |
| <div id="InlineInsertTemplate"> |
| <table> |
| [... Other code with date and event's description ...] |
| <tr id="quid"> |
| <td> |
| <asp:Label ID="lbl_quid_advanced_insertion" runat="server" Text="Civ, Nom, Prénom : "></asp:Label> |
| </td> |
| <td style="width:auto;"> |
| <asp:DropDownList ID="ddl_civilite" runat="server"> |
| <asp:ListItem>Mlle</asp:ListItem> |
| <asp:ListItem>Madame</asp:ListItem> |
| <asp:ListItem>Monsieur</asp:ListItem> |
| </asp:DropDownList> |
| </td> |
| <td> |
| <asp:TextBox ID="TxtNomComplet" runat="server"></asp:TextBox> |
| </td> |
| </tr> |
| <tr id="identifiant"> |
| <td> |
| <asp:Label ID="lbl_identifiant_advanced_insertion" runat="server" Text="Identifiant (ex : Carte de fidélité) : "></asp:Label> |
| </td> |
| <td> |
| <asp:TextBox ID="txt_identifiant_advanced_insertion" runat="server"></asp:TextBox> |
| </td> |
| </tr> |
| <tr id="tel1"> |
| <td> |
| <asp:Label ID="lbl_tel1_advanced_insertion" runat="server" Text="Tel 1 : "></asp:Label> |
| </td> |
| <td> |
| <asp:TextBox ID="txt_tel1_advanced_insertion" runat="server"></asp:TextBox> |
| </td> |
| </tr> |
| <tr id="tel2"> |
| <td> |
| <asp:Label ID="lbl_tel2_advanced_insertion" runat="server" Text="Tel 2 : "></asp:Label> |
| </td> |
| <td> |
| <asp:TextBox ID="txt_tel2_advanced_insertion" runat="server"></asp:TextBox> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </InlineInsertTemplate> |
With the rad scheduler i use methods to insert/update datas :
| OnAppointmentInsert="RadScheduler1_AppointmentInsert" |
| OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" |
In the code behind i want to recup datas from the customize template to insert them in my database i do this :
| protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e) |
| { |
| Event monevenement = new Event(); |
| Event.InsertEvent(1, "testinsertnom", DateTime.Now, DateTime.Now, "testinsertmotif", TxtNomComplet ... others variables); |
| } |
And i can't find a way to get the value of my TxtBox here...
Do you know how could i get this information???
Thanks for helping.