Issue to CK Editor

Peter_1985 2,736 Reputation points
2023-10-12T08:25:56.84+00:00

Hi,

Further to the following thread, how to ensure I can save each "new" comment well as a table record?

https://learn.microsoft.com/en-us/answers/questions/1383027/ckeditor-related-issue

Developer technologies ASP.NET Other
0 comments No comments
{count} votes

Accepted answer
  1. QiYou-MSFT 4,326 Reputation points Microsoft External Staff
    2023-10-17T06:46:42.8733333+00:00

    Hi @Peter_1985

    <%@ Page Title="相关资料" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Chat0._Default" ValidateRequest="false" %>
    <style>
    table, th, td {
      border:1px solid black;
    }
    </style>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    
        <title>相关资料</title>
        <!--link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /-->
        <link rel="shortcut icon" type="image/x-icon" href="house_one.png" />
        <!--link rel="shortcut icon" type="image/png" href="house_one.png" /-->
        <link rel="stylesheet" type="text/css" href="StyleSheet1.css" />
        <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
        <link rel="stylesheet" href="https://jqueryui.com/resources/demos/style.css" />
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
        <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
        <script type="text/javascript" src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
        <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=474OwxLkambWRwf8oWjOOECwD5j0ntj5"></script>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.css" />
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js"></script>
        <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="JavaScript1.js">
        </script>
        <script language="C#" runat="server">
            private void clickMe(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(1); upd_pict_rec_id(2);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup();", true);
            }
            private void clickNo(object sender, EventArgs e)
            {
    
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup();", true);
            }
            private void clickMe2(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(2); upd_pict_rec_id(3);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup2();", true);
            }
            private void clickNo2(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup2();", true);
            }
            private void clickMe3(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(3); upd_pict_rec_id(4);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup3();", true);
            }
            private void clickNo3(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup3();", true);
            }
            private void clickMe4(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(4); upd_pict_rec_id(5);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup4();", true);
            }
            private void clickNo4(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup4();", true);
            }
            private void clickMe5(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(5); upd_pict_rec_id(6);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup5();", true);
            }
            private void clickNo5(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup5();", true);
            }
            private void clickMe6(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(6); 
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup6();", true);
            }
            private void clickNo6(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup6();", true);
            }
        </script>
        <script type="text/javascript">
            jQuery(document).ready(function () {
                // 百度地图API功能
                var map = new BMap.Map("allmap");    // 创建Map实例
                map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);  // 初始化地图,设置中心点坐标和地图级别
                map.setCurrentCity("深圳");          // 设置地图显示的城市 此项是必须设置的
                map.enableScrollWheelZoom(true);     //开启鼠标滚轮缩放
            });
        </script>
    
    </head>
    <body style="background-color: #C5C4CC;">
        <form id="form1" runat="server" autocomplete="off">
            <div>
                <table width="100%" align="right">
                    <!--tr>
                 <td align="right" style="background-color:#0A2757;height:1px;font-size:1px;">&nbsp;</td>
            </tr-->
                </table>
            </div>
            <br />
            <br />
            <div class="right up" />
            <asp:Label ID="Label1"
                Text="登记资料"
                Width="500px"
                Font-Names="標楷體"
                Font-Size="16pt"
                Font-Bold="true"
                ForeColor="Black"
                runat="server" />
            <br />
            <br />
            <br />
            <asp:Label ID="Label4"
                Text="谈话内容"
                Width="150px"
                Font-Names="標楷體"
                Font-Size="14pt"
                Font-Bold="true"
                ForeColor="Black"
                runat="server" />
            <script type="text/javascript" src="https://cdn.ckeditor.com/ckeditor5/40.0.0/classic/ckeditor.js"></script>
    
            <div id="dvDesc">
                <asp:Repeater ID="rptDesc" runat="server">
                    <ItemTemplate>
                        <table class="tblDesc" cellpadding="2" cellspacing="0" border="1">
                            <tr>
                                <td>
                                    <b>
                                        <u>
                                            <span class="cDesc"><%# Eval("cDesc") %></span>
                                        </u>
                                    </b>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <div>
               <ul id="CommentList" style="  list-style-position: inside;
    padding-left: 0;">
                 <li >评论 1:<br /><textarea id="Comment1" name="MyEA" runat="server" placeholder="Enter your Comment here ..."
            style="width: 250px;height: 100px;"></textarea></li>
                   <input type="button" name="Button1" value="新评论" id="addMore" class="forbutton" style="width: 140px;">
              </ul>
                <table id="table1" style="width:100%">
                    <tr>
                    <th>comment</th>
                    </tr>
                    
                </table>
          </div>
          <script>
              ClassicEditor
                  .create(document.querySelector('#Comment1'))
                  .catch(error => {
                      console.error(error);
                  });
          </script>
            <script type="text/javascript">
                var i = 1;
                $(document).ready(function () {
                    //$('textarea[id*="currentComment"]').each(function () {
                    //$('textarea[id*="Comment"]').each(function () {
                    $("#addMore").click(function (e) {
                        i++;
                        $("#CommentList").append("<div id='div"+i+"'><textarea id='editor"+i+"' name='MyEA'  placeholder='Enter your Comment here ...' style = 'width: 250px;height: 100px;' ></textarea ></div> ");
                        ClassicEditor
                            .create(document.querySelector('#editor' + i))
                            .then(newEditor => {
                                editor = newEditor;
                            })
                            .catch(error => {
                                console.error(error);
                            });
    
                        var MyDiv = document.querySelector("#div" + i);
                        var bt = document.createElement("input");
                        bt.type = "button";
                        bt.value = 'submit';
                        bt.onclick = function () {                          
                            var str = editor.getData();
                            $("#table1").append("<tr><td>" + str + "</td></tr>");
                        };
                        MyDiv.appendChild(bt);
                        
     
                    });
                   
    
                });
            </script>
            <br />
            <br />
            <div id="allmap" style="width: 1150px; height: 320px; border: 2px double red; display: block"></div>
            <asp:Label runat="server" ID="lb_msg" Font-Size="Large" ForeColor="#E01B84" />
            <br />
            <br />
            <asp:Button ID="btnSave" type="button" runat="server" Width="140px" Text="储存" CssClass="forbutton" OnClick="btnSave_Click" />
            <asp:Button ID="btnCancel" type="button" runat="server" Width="140px" Text="取消" CssClass="forbutton" OnClick="btnCancel_Click" Visible="false" />
            <asp:Button ID="bt_temp" runat="server" Text="Call Button Click" Style="display: none" OnClick="pict_click6" />
            <br />
            <br />
        </form>
        <asp:Label ID="lb_msg2"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict1"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict2"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict3"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict4"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict5"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict6"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <button id="btnFind" style="visibility: hidden;">Find my location</button>
        <asp:Label ID="lb_var1"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_var2"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_var3"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_user_id"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_c_id"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_readonly"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_house_id"
            Width="165px"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
    </body>
    </html>
    
    
    

    Case2

    If it doesn't match your expectations, please elaborate further on your needs. I will continue to help you solve the problem.

    Best regards,
    Qi You


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. QiYou-MSFT 4,326 Reputation points Microsoft External Staff
    2023-10-13T03:11:36.5866667+00:00

    Hi @Peter_1985

    I made two new changes:

    1.Based on your previous code, you are using**<ul>... <li>...</li>...</ul>** Unordered list. So I modified it based on your previous design.

    2.You want the new text box to appear below the button. I also made a modification.

    It should be noted that the newly added control does not add the property "runat=server", it will report an error.

    Code:

    <%@ Page Title="相关资料" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Chat0._Default" ValidateRequest="false" %>
    
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>相关资料</title>
        <!--link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /-->
        <link rel="shortcut icon" type="image/x-icon" href="house_one.png" />
        <!--link rel="shortcut icon" type="image/png" href="house_one.png" /-->
        <link rel="stylesheet" type="text/css" href="StyleSheet1.css" />
        <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
        <link rel="stylesheet" href="https://jqueryui.com/resources/demos/style.css" />
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
        <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
        <script type="text/javascript" src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
        <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=474OwxLkambWRwf8oWjOOECwD5j0ntj5"></script>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.css" />
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js"></script>
        <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="JavaScript1.js">
        </script>
        <script language="C#" runat="server">
            private void clickMe(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(1); upd_pict_rec_id(2);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup();", true);
            }
            private void clickNo(object sender, EventArgs e)
            {
    
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup();", true);
            }
            private void clickMe2(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(2); upd_pict_rec_id(3);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup2();", true);
            }
            private void clickNo2(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup2();", true);
            }
            private void clickMe3(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(3); upd_pict_rec_id(4);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup3();", true);
            }
            private void clickNo3(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup3();", true);
            }
            private void clickMe4(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(4); upd_pict_rec_id(5);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup4();", true);
            }
            private void clickNo4(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup4();", true);
            }
            private void clickMe5(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(5); upd_pict_rec_id(6);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup5();", true);
            }
            private void clickNo5(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup5();", true);
            }
            private void clickMe6(object sender, EventArgs e)
            {
                //p1_Click(); remove_rec(6); 
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup6();", true);
            }
            private void clickNo6(object sender, EventArgs e)
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ClosePopup", "closePopup6();", true);
            }
        </script>
        <script type="text/javascript">
            jQuery(document).ready(function () {
                // 百度地图API功能
                var map = new BMap.Map("allmap");    // 创建Map实例
                map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);  // 初始化地图,设置中心点坐标和地图级别
                map.setCurrentCity("深圳");          // 设置地图显示的城市 此项是必须设置的
                map.enableScrollWheelZoom(true);     //开启鼠标滚轮缩放
            });
        </script>
    
    </head>
    <body style="background-color: #C5C4CC;">
        <form id="form1" runat="server" autocomplete="off">
            <div>
                <table width="100%" align="right">
                    <!--tr>
                 <td align="right" style="background-color:#0A2757;height:1px;font-size:1px;">&nbsp;</td>
            </tr-->
                </table>
            </div>
            <br />
            <br />
            <div class="right up" />
            <asp:Label ID="Label1"
                Text="登记资料"
                Width="500px"
                Font-Names="標楷體"
                Font-Size="16pt"
                Font-Bold="true"
                ForeColor="Black"
                runat="server" />
            <br />
            <br />
            <br />
            <asp:Label ID="Label4"
                Text="谈话内容"
                Width="150px"
                Font-Names="標楷體"
                Font-Size="14pt"
                Font-Bold="true"
                ForeColor="Black"
                runat="server" />
            <script type="text/javascript" src="https://cdn.ckeditor.com/ckeditor5/40.0.0/classic/ckeditor.js"></script>
    
            <div id="dvDesc">
                <asp:Repeater ID="rptDesc" runat="server">
                    <ItemTemplate>
                        <table class="tblDesc" cellpadding="2" cellspacing="0" border="1">
                            <tr>
                                <td>
                                    <b>
                                        <u>
                                            <span class="cDesc"><%# Eval("cDesc") %></span>
                                        </u>
                                    </b>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <div>
               <ul id="CommentList" style="  list-style-position: inside;
    padding-left: 0;">
                 <li >评论 1:<br /><textarea id="Comment1" name="MyEA" runat="server" placeholder="Enter your Comment here ..."
            style="width: 250px;height: 100px;"></textarea></li>
                   <input type="button" name="Button1" value="新评论" id="addMore" class="forbutton" style="width: 140px;">
              </ul>
          </div>
          <script>
              ClassicEditor
                  .create(document.querySelector('#Comment1'))
                  .catch(error => {
                      console.error(error);
                  });
          </script>
            
            <script type="text/javascript">
               
    
                var i = 1;
                $(document).ready(function () {
                    //$('textarea[id*="currentComment"]').each(function () {
                    //$('textarea[id*="Comment"]').each(function () {
                   
                    $("#addMore").click(function (e) {
                        i++;
                        $("#CommentList").append("<textarea id='editor"+i+"' name='MyEA'  placeholder='Enter your Comment here ...' style = 'width: 250px;height: 100px;' ></textarea > ");
                        ClassicEditor
                            .create(document.querySelector('#editor'+i))
                            .catch(error => {
                                console.error(error);
                            });
    
                    });
                });
    
                function CKEditorChange(name) {
                    CKEDITOR.replace(name);
                }
            </script>
            <br />
            <br />
            <div id="allmap" style="width: 1150px; height: 320px; border: 2px double red; display: block"></div>
            <asp:Label runat="server" ID="lb_msg" Font-Size="Large" ForeColor="#E01B84" />
            <br />
            <br />
            <asp:Button ID="btnSave" type="button" runat="server" Width="140px" Text="储存" CssClass="forbutton" OnClick="btnSave_Click" />
            <asp:Button ID="btnCancel" type="button" runat="server" Width="140px" Text="取消" CssClass="forbutton" OnClick="btnCancel_Click" Visible="false" />
            <asp:Button ID="bt_temp" runat="server" Text="Call Button Click" Style="display: none" OnClick="pict_click6" />
            <br />
            <br />
        </form>
        <asp:Label ID="lb_msg2"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict1"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict2"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict3"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict4"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict5"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_pict6"
            CssClass="dia"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <button id="btnFind" style="visibility: hidden;">Find my location</button>
        <asp:Label ID="lb_var1"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_var2"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_var3"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_user_id"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_c_id"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_readonly"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
        <asp:Label ID="lb_house_id"
            Width="165px"
            Visible="false"
            Font-Names="標楷體"
            Font-Size="11pt"
            Font-Bold="true"
            ForeColor="Black"
            runat="server" />
    </body>
    </html>
    
    

    Case4

    Best regards,
    Qi You


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.