Thursday, February 19, 2009

Simple Popup in ASP.NET for lookup dataentry

Simple Popup in ASP.NET for lookup dataentry

Showing Popup form for data entry is most common in GUI. Many methods are available to achieve this, and the more common is using AJAX Popup Control.

However, without AJAX it can be achieved. The key functions are:
1. Me.Button1.Attributes.Add("onclick", "javascript:return OpenPopup(TextBox1)")
2. window.open("Popup.aspx?name=" + val.value,"List","scrollbars=no,resizable=no,width=400,height=280");;
3. window.opener.document.getElementById("TextBox1").value










Sorry, Blog doesn't accept posting ASPX code and still i don't know how to post actual code...??


Happy Coding
natrajv, new delhi-96

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home