That's what Sreejith's given you. window.open is used to create a popup
I have a feeling your definition of popup is what you need to explain to us.
--------------------------------------------------------------------------------
"Srimadhi" <Srimadhi@discussions.microsoft.com> wrote in message
news:8C54CA4F-2213-4AE3-898C-2EF264FAE871@microsoft.com...
> Hi Sreejith Ram,
>
> This code opens up a new page. I just want to be on the same form and
> pop-up
> a box for the dropdown list and textbox.
>
> "Sreejith Ram" wrote:
>
>> Step 1) Create an aspx page with drop down list , text box an buttons
>> (say
>> popup.aspx)
>> 2) From the c# of parent page add a client event handler to image
>> button
>> imgButton1.Attributes.Add("onclick","window.open('popup.aspx')");
>>
>> More reading :
>>
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp
>>
>>
http://aspnet.4guysfromrolla.com/articles/021104-1.aspx >>
>>
>>
>> does this help?
>>
>> "Srimadhi" wrote:
>>
>> > I need to display a pop-up box with a drop down list and a text box,
>> > with ok
>> > and cancel button when the user clicks on a image button. I am using
>> > webforms
>> > in ASP.NET with code-behind files in C#.
>> >