| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 851 人关注过本帖
标题:希望大家帮帮我 由衷的感谢
只看楼主 加入收藏
qq932728009
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2014-3-25
结帖率:50%
收藏
已结贴  问题点数:8 回复次数:1 
希望大家帮帮我 由衷的感谢
</EditItemTemplate>
                                                                        <ItemTemplate>
                                                                         <table id="Table5" border="0" cellpadding="0" cellspacing="0">
                                                                                                    <tr>
                                                                                                        <td style="height: 6px">
                                                                                                        </td>
                                                                                                        <td style="height: 6px">
                                                                                                            <asp:TextBox ID="txt_jsqxmc" runat="server"  style="left: 0px; top: 1px" ></asp:TextBox></td>
                                                                                                        <td style="height: 6px; width: 16px;">
                                                                                                            <img alt="请选择" onclick="Picker.show('../SELECT/SelectQBM.aspx?js=js',GridView2_ctl02_txt_jsqxmc,GridView2_ctl02_txt_jsqx,'230','530','390');"
                                                                                                                src="../img/edit.gif" />
                                                                                                        </td>
                                                                                                        <td style="height: 6px; width: 6px;">
                                                                                                            <asp:TextBox ID="txt_jsqx" runat="server" BorderStyle="None" Width="0px" Height="0px"></asp:TextBox></td>
                                                                                                    </tr>
                                                                                                </table>                                 
                                                                        </ItemTemplate>
这个是放在gridview中的。在浏览的时候textbox 的ID会发生变化,从而选中的结果不会显示在文本框中,变成了GridView2_ctl02_txt_jsqx 怎样才能让ct102动态变化依次类推ct103..104.  希望大神给想想办法 。。都憋了好几天了 。。。。
<input name="GridView2$ctl04$txt_jsqx" type="text" id="GridView2_ctl04_txt_jsqx" style="border-style:None;height:0px;width:0px;" /></td>
                                                                                                    </tr>
                                                                                                </table>                                 
                                                                        </td><td align="center" style="width:50px;">
                                                                            <a id="GridView2_ctl04_LinkButton2" class="a3" href="javascript:__doPostBack('GridView2$ctl04$LinkButton2','')"><div>保存</div></a>
                                                                        </td>
            </tr><tr class="dan">
                <td align="left" style="width:150px;">评标商务组组长</td><td align="left" style="width:180px;">
                                                                         <table id="Table5" border="0" cellpadding="0" cellspacing="0">
                                                                                                    <tr>
                                                                                                        <td style="height: 6px">
                                                                                                        </td>
                                                                                                        <td style="height: 6px">
                                                                                                            <input name="GridView2$ctl05$txt_jsqxmc" type="text" id="GridView2_ctl05_txt_jsqxmc" style="left: 0px; top: 1px" /></td>
                                                                                                        <td style="height: 6px; width: 16px;">
                                                                                                            <img alt="请选择" onclick="Picker.show('../SELECT/SelectQBM.aspx?js=js',jsqxmc,jsqx,'230','530','390');"
                                                                                                                src="../img/edit.gif" />
                                                                                                        </td>
                                                                                                        <td style="height: 6px; width: 6px;">
                                                                                                            <input name="GridView2$ctl05$txt_jsqx" type="text" id="GridView2_ctl05_txt_jsqx" style="border-style:None;height:0px;width:0px;" /></td>
这个是后台源文件 。

搜索更多相关主题的帖子: border style 
2014-03-28 15:28
yms123
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:209
帖 子:12488
专家分:19042
注 册:2004-7-17
收藏
得分:8 
Picker.show('../SELECT/SelectQBM.aspx?js=js',<%=txt_jsqxmc.ClientID%>,<%=txt_jsqxmc.ClientID%>,'230','530','390');"
既然ID是动态的动态获得即可
2014-04-04 12:02
快速回复:希望大家帮帮我 由衷的感谢
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.043432 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved