Sunday, December 17, 2006

Re: [EZLINK] ASP.NET doubt

Hi Bala,

Try the following, the page won't refresh then.Not sure if you're using VB.NET or C#, anyway you should be able to convert it.

Sub Page_Load
if Not Page.IsPostBack then

"Your Coding here"

end if
End Sub

For more detailed explanation, try this link;

http://aspnet101.com/aspnet101/tutorials.aspx?id=3


this is a common problem encountered by most beginners.

Regards,
Joseph

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


[Non-text portions of this message have been removed]


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/