Ask a Question related to ASP.NET General, Design and Development.
-
Leon Shaw #1
databinding
have two Dropdownlist and one which is containing States and one
containing Cities. I know how to do all the little databinding task in
visual studios interface as well as set the relationship (parent, child,
etc.). In the code behind file in page_load event I fill the data adapter
and databind the State dropdownlist. I also set the on_change event for the
Cities dropdownlist after a state is selected. However, When I run this page
in the browser the state dropdownlist populate with the States, but after
selecting a State the Cities dropdownlist DO NOTHING.
What I'm I doing wrong? Could some one please send me some code that handle
these action?
I'm working with stored procedures from sql2000. Should I just set up a
parameter procedure for the Cities dropdownlist (instead of Relationship in
vs.net) and pass in the selected State?
Leon Shaw Guest
-
DataBinding to SubProperties
I have built a custom control that has, as one of its properties, a collection of another custom control. So controlA has property of type... -
databinding after page_load
Hi, I'm working on a webpage which starts with a rather timeconsuming database transaction. (two different .mdb's from different MSAccess versions... -
DataGrid Custom Column Error when DataBinding "does not contain a definition for 'DataBinding'"
I am creating a custom column that inherits from DataColumnGrid. When I attempt Databind to a property of the custom column, I get the the error: ... -
Listbox DataBinding
I am trying to bind data from a database to a DropDownListBox on an ..aspx page. I want to display 2 fields in listbox (listbox's .DataTextField... -
Databinding Inquiry
What is the best way to databind two related dropdownlist control in visual studios.net using vb.net programming language and sql2000 stored... -
CT #2
Re: databinding
Is the on_change event posted back to the server?
--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSF
[url]http://www.apress.com/book/bookDisplay.html?bID=105[/url]
"Leon Shaw" <vnality@msn.com> wrote in message
news:%23UsUsjyRDHA.2196@TK2MSFTNGP11.phx.gbl...the> have two Dropdownlist and one which is containing States and one
> containing Cities. I know how to do all the little databinding task in
> visual studios interface as well as set the relationship (parent, child,
> etc.). In the code behind file in page_load event I fill the data adapter
> and databind the State dropdownlist. I also set the on_change event forpage> Cities dropdownlist after a state is selected. However, When I run thishandle> in the browser the state dropdownlist populate with the States, but after
> selecting a State the Cities dropdownlist DO NOTHING.
> What I'm I doing wrong? Could some one please send me some code thatin> these action?
> I'm working with stored procedures from sql2000. Should I just set up a
> parameter procedure for the Cities dropdownlist (instead of Relationship> vs.net) and pass in the selected State?
>
>
CT Guest
-
Leon Shaw #3
Re: databinding
yes, but when it post back, it post back with no results. do need to see the
code behind code?
"CT" <carstent@spammersgowaydotnetservices.biz> wrote in message
news:%23yMIvW2RDHA.1868@TK2MSFTNGP11.phx.gbl...adapter> Is the on_change event posted back to the server?
>
> --
> Carsten Thomsen
> Enterprise Development with Visual Studio .NET, UML, and MSF
> [url]http://www.apress.com/book/bookDisplay.html?bID=105[/url]
> "Leon Shaw" <vnality@msn.com> wrote in message
> news:%23UsUsjyRDHA.2196@TK2MSFTNGP11.phx.gbl...> > have two Dropdownlist and one which is containing States and one
> > containing Cities. I know how to do all the little databinding task in
> > visual studios interface as well as set the relationship (parent, child,
> > etc.). In the code behind file in page_load event I fill the dataafter> the> > and databind the State dropdownlist. I also set the on_change event for> page> > Cities dropdownlist after a state is selected. However, When I run this> > in the browser the state dropdownlist populate with the States, but> handle> > selecting a State the Cities dropdownlist DO NOTHING.
> > What I'm I doing wrong? Could some one please send me some code that> in> > these action?
> > I'm working with stored procedures from sql2000. Should I just set up a
> > parameter procedure for the Cities dropdownlist (instead of Relationship>> > vs.net) and pass in the selected State?
> >
> >
>
Leon Shaw Guest
-
Leon Shaw #4
Re: databinding
Wait do you mean controlName_SelectedIndexChanged event and autopostback =
true?
"CT" <carstent@spammersgowaydotnetservices.biz> wrote in message
news:%23yMIvW2RDHA.1868@TK2MSFTNGP11.phx.gbl...adapter> Is the on_change event posted back to the server?
>
> --
> Carsten Thomsen
> Enterprise Development with Visual Studio .NET, UML, and MSF
> [url]http://www.apress.com/book/bookDisplay.html?bID=105[/url]
> "Leon Shaw" <vnality@msn.com> wrote in message
> news:%23UsUsjyRDHA.2196@TK2MSFTNGP11.phx.gbl...> > have two Dropdownlist and one which is containing States and one
> > containing Cities. I know how to do all the little databinding task in
> > visual studios interface as well as set the relationship (parent, child,
> > etc.). In the code behind file in page_load event I fill the dataafter> the> > and databind the State dropdownlist. I also set the on_change event for> page> > Cities dropdownlist after a state is selected. However, When I run this> > in the browser the state dropdownlist populate with the States, but> handle> > selecting a State the Cities dropdownlist DO NOTHING.
> > What I'm I doing wrong? Could some one please send me some code that> in> > these action?
> > I'm working with stored procedures from sql2000. Should I just set up a
> > parameter procedure for the Cities dropdownlist (instead of Relationship>> > vs.net) and pass in the selected State?
> >
> >
>
Leon Shaw Guest
-
David Waz... #5
Re: databinding
Are you going to post this every day?
"Leon Shaw" <vnality@msn.com> wrote in message
news:#UsUsjyRDHA.2196@TK2MSFTNGP11.phx.gbl...the> have two Dropdownlist and one which is containing States and one
> containing Cities. I know how to do all the little databinding task in
> visual studios interface as well as set the relationship (parent, child,
> etc.). In the code behind file in page_load event I fill the data adapter
> and databind the State dropdownlist. I also set the on_change event forpage> Cities dropdownlist after a state is selected. However, When I run thishandle> in the browser the state dropdownlist populate with the States, but after
> selecting a State the Cities dropdownlist DO NOTHING.
> What I'm I doing wrong? Could some one please send me some code thatin> these action?
> I'm working with stored procedures from sql2000. Should I just set up a
> parameter procedure for the Cities dropdownlist (instead of Relationship> vs.net) and pass in the selected State?
>
>
David Waz... Guest
-
Leon Shaw #6
Re: databinding
until I get some help sir. willing to help?
"David Waz..." <dlw@pickpro.com> wrote in message
news:tBDPa.171$kS1.95540269@newssvr11.news.prodigy .com...adapter> Are you going to post this every day?
>
>
>
> "Leon Shaw" <vnality@msn.com> wrote in message
> news:#UsUsjyRDHA.2196@TK2MSFTNGP11.phx.gbl...> > have two Dropdownlist and one which is containing States and one
> > containing Cities. I know how to do all the little databinding task in
> > visual studios interface as well as set the relationship (parent, child,
> > etc.). In the code behind file in page_load event I fill the dataafter> the> > and databind the State dropdownlist. I also set the on_change event for> page> > Cities dropdownlist after a state is selected. However, When I run this> > in the browser the state dropdownlist populate with the States, but> handle> > selecting a State the Cities dropdownlist DO NOTHING.
> > What I'm I doing wrong? Could some one please send me some code that> in> > these action?
> > I'm working with stored procedures from sql2000. Should I just set up a
> > parameter procedure for the Cities dropdownlist (instead of Relationship>> > vs.net) and pass in the selected State?
> >
> >
>
Leon Shaw Guest
-
Leon Shaw #7
Re: databinding
Thanks MAN, I got together, but your comments was not helpful.
"David Waz..." <dlw@pickpro.com> wrote in message
news:lMEPa.189$yn2.97566848@newssvr11.news.prodigy .com...in> READ man,
> I've posted several times on your issue.
>
> Do you want us to write it for you too?
>
>
> "Leon Shaw" <vnality@msn.com> wrote in message
> news:uAtDHC#RDHA.3192@tk2msftngp13.phx.gbl...> > until I get some help sir. willing to help?
> > "David Waz..." <dlw@pickpro.com> wrote in message
> > news:tBDPa.171$kS1.95540269@newssvr11.news.prodigy .com...> > > Are you going to post this every day?
> > >
> > >
> > >
> > > "Leon Shaw" <vnality@msn.com> wrote in message
> > > news:#UsUsjyRDHA.2196@TK2MSFTNGP11.phx.gbl...
> > > > have two Dropdownlist and one which is containing States and one
> > > > containing Cities. I know how to do all the little databinding taskup> child,> > > > visual studios interface as well as set the relationship (parent,> for> > adapter> > > > etc.). In the code behind file in page_load event I fill the data> > > > and databind the State dropdownlist. I also set the on_change event> this> > > the
> > > > Cities dropdownlist after a state is selected. However, When I run> > after> > > page
> > > > in the browser the state dropdownlist populate with the States, but> > > > selecting a State the Cities dropdownlist DO NOTHING.
> > > > What I'm I doing wrong? Could some one please send me some code that
> > > handle
> > > > these action?
> > > > I'm working with stored procedures from sql2000. Should I just set> a> Relationship> > > > parameter procedure for the Cities dropdownlist (instead of>> >> > > in
> > > > vs.net) and pass in the selected State?
> > > >
> > > >
> > >
> > >
> >
>
Leon Shaw Guest
-
Derek Spurlock #8
DataBinding
I seem to be having a problem with a composite control which binds to a custom business object. Everything works fine except in design time when the page is opened in the design mode the datasource property does not seem to be read. I have created a designer based on controldesigner and once the property is reset or a property which causes a call to createchildcontrols it works fine.
---
Posted using Wimdows.net Newsgroups - [url]http://www.wimdows.net/newsgroups/[/url]
Derek Spurlock Guest
-
Eamon Straughn #9
databinding
Eval("pId"(UName", "~/pages/xit.aspx?p={0}&uname={1}"))
Is this correct coz i can get it to work. i am trying to get this query when
u click this link in a formview control.
"www.someweb.com/pages/pix.aspx?p={pId}&uname={UName}"
from the above databinding but i cant get it to assign to the NavigateUrl
propery. please help
Eamon Straughn Guest



Reply With Quote

