A
Altman
I currently have a page that has many dropdowns where each one is
dependent on the previous one's selection. Right now I am using
postbacks on each drop down list to fill the next. An example of what
I am doing would be like having dropdown1 have a list of states. When
the user selects the state it does a postback and fills dropdown2 with
the major cities in that state. This obviously is not a nice
interface. I know Atlas (MS Ajax framework currently in beta) can do
this with callbacks and clean it up. But I have another idea and being
I don't have alot of web background I was wondering if this was a good
idea or if there is unforseen problems that would be caused. I don't
want to spend alot of time getting this to work and then find out it
was a stupid idea.
My idea is to create a control that has a textbox (readonly) a hidden
field and a button (or picture link). When the user clicks on the
button or link, I would add an IFRAME through javascript that would
link to a page that has a asp.net datagrid. I could then provide a
search capability and sorting. The user would click on the item, and
it will fill the textbox, and the hidden field with the ID.
Is there any problems with using the iframe that I am not aware of? Is
this a good idea?
dependent on the previous one's selection. Right now I am using
postbacks on each drop down list to fill the next. An example of what
I am doing would be like having dropdown1 have a list of states. When
the user selects the state it does a postback and fills dropdown2 with
the major cities in that state. This obviously is not a nice
interface. I know Atlas (MS Ajax framework currently in beta) can do
this with callbacks and clean it up. But I have another idea and being
I don't have alot of web background I was wondering if this was a good
idea or if there is unforseen problems that would be caused. I don't
want to spend alot of time getting this to work and then find out it
was a stupid idea.
My idea is to create a control that has a textbox (readonly) a hidden
field and a button (or picture link). When the user clicks on the
button or link, I would add an IFRAME through javascript that would
link to a page that has a asp.net datagrid. I could then provide a
search capability and sorting. The user would click on the item, and
it will fill the textbox, and the hidden field with the ID.
Is there any problems with using the iframe that I am not aware of? Is
this a good idea?