<script type="text/javascript"> <!-- #include file="../jscripts/script368.js" --> function newSearchWindow() { var cugval=""; cugval = window.showModalDialog('Testsearch.aspx','Testsearch','dialogWidth:900px;dialogHeight:600px;center:yes;status:no;'); if (cugval != "") { alert(cugval); document.forms[0].elements["<%=cugcode.ClientID%>"].value = cugval; alert( document.forms[0].elements["<%=cugcode.ClientID%>"].value); document.forms[0].submit(); } } </script> <form> <input type="text" id="cugcode" class="text" size="20" name="cugcode" runat="server" önchange="submit()" /> </form>
<script type="text/javascript"> function selectCUG(val) { window.returnValue = val; window.close(); } document.body.onload = window.returnValue=""; </script> <form> <asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-CssClass="gridcol1"> <itemtemplate> <%# "<a href="#" önclick="javascript:selectCUG(" cugcode=").ToString() + ">" + DataBinder.Eval(Container.DataItem, "CUGCODE").ToString() + "</a>" %> </itemtemplate> </form>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)