Saturday, December 16, 2006

Re: [EZLINK] ASP.NET doubt

Bala,

You can use AJAX without autopostback.

Onchange of the dropdownlist you can use the
XMLHTTPRequest object to get the value for country.
Then display it in a label/span.

Please refer to this link http://aspalliance.com/716

to get an idea of implementing AJAX.
Its not exactly what you are looking for, but will
help you.

Regards,
Veera

--- gourish sohoni <gourish_sohoni@yahoo.com> wrote:

> Hi Bala,
>
> One way to work around for this is u need to create
> a
> array in the code behind page with respective values
> and then use javascript to display text in on change
> of ddl.
>
> Thanks
> Gourish
> --- Bala <vidubala7579@yahoo.com.sg> wrote:
>
> > Any ASP.NET expert there!! How to stop the page
> from
> > refreshing when item in Dropdown is selected.
> > I have problem with dropdownlist. In aspx page has
> a
> > dropdown and a textbox.
> > The DDL holds the place name and txt holds the
> > country names.
> > as a particular place is selected from DDL,
> > corresponding country is displayed in the txt
> > correctly. i set autopostback to true.
> > Whenever i select the place from the DDL the page
> is
> > refreshed. How to stop the page from refreshing.
> >
> >
> > ---------------------------------
> >
> > Real people. Real questions. Real answers. Share
> > what you know.
> >
> > [Non-text portions of this message have been
> > removed]
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com

>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

http://mail.yahoo.com


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/ezlink/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/ezlink/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:ezlink-digest@yahoogroups.com
mailto:ezlink-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
ezlink-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/