Posted on: 5/2/2006 2:22:18 AM | Views : 733

<div class=smallfont> </div> <div>I have a image button which when clicked opens another aspx page.I have a dropdownlist(databound) with suppliers names. Whenever imagebutton is clicked I want to pass the suppliername selected by the user in a querystring so that when the secondpage loads this suppliername appears in the textbox . The following is what i have so far: <asp:ImageButton ID="FindStockCode" runat="server" ImageUrl="Images/Find.bmp" OnClientClick="javascript:OpenWin('BrowseForStockCode.aspx?Suppli er=document.form1.getElemenentById('Supplier').Sel ectedValue','Stockcodes',10,100);" /></td> OpenWin function: function OpenWin(url, name, height, width) { var retVal = showModalDialog(url, 'textbox1',' dialogWidth:550px;dialogHeight:450px;center:1;'); <% if ispostback then try Ctyp ...

Go to the complete details ...