Ask a Question related to ASP.NET General, Design and Development.
-
Robin Bonin #1
Passing a variable in the onLoad event.
I have a data grid with multiple rows. Each row has a drop down box. I need
it to select the correct item for each row. What I am trying to figure out,
is can I pass a value to the onLoad event for the dropdownlist?
OnLoad="loadDefault(Container.DataItem("dropValue" ))"
Robin Bonin Guest
-
onload event set using cfhtmlhead does not work
Hi, I am using CFMX 6.1 on windows 2k and IE 6 browser. When I am trying to fire an onload event from javascript, created in the head using... -
loadMovie and onLoad event
I am loading an external image into an object named square and I would like to display a simple text while the loading is happening, and set the... -
Why SWF hangs IE browser onload event
Hi, Can someone tell me why this flash SWF file at http://www.centennialoptical.com/ hangs the browser. I added an OnLoad event on the body tag... -
Assign 2 functions to onLoad event
This is not properly Dynamic html, but I need to know if is possible to assign 2 javascript functions to onLoad event in html files. I need to... -
passing javascript variable into asp variable using vbscript
The subject pretty much sums up what I need to do. Here is what I have so far, but still can't figure out how to get it working: <script... -
Cristian Suazo #2
Re: Passing a variable in the onLoad event.
Are you trying to put a selected index?
"Robin Bonin" <robin@guavatools.com> wrote in message
news:Sr6dnWpfNfAlKIiiXTWJiA@eatel.net...need> I have a data grid with multiple rows. Each row has a drop down box. Iout,> it to select the correct item for each row. What I am trying to figure> is can I pass a value to the onLoad event for the dropdownlist?
>
> OnLoad="loadDefault(Container.DataItem("dropValue" ))"
>
>
Cristian Suazo Guest
-
Robin Bonin #3
Re: Passing a variable in the onLoad event.
I know the value of the selectedIndex, and that is what I'm trying to
select.
"Cristian Suazo" <crillus7@hotmail.com> wrote in message
news:O$93Kq9SDHA.1724@TK2MSFTNGP10.phx.gbl...> Are you trying to put a selected index?
>
> "Robin Bonin" <robin@guavatools.com> wrote in message
> news:Sr6dnWpfNfAlKIiiXTWJiA@eatel.net...> need> > I have a data grid with multiple rows. Each row has a drop down box. I> out,> > it to select the correct item for each row. What I am trying to figure>> > is can I pass a value to the onLoad event for the dropdownlist?
> >
> > OnLoad="loadDefault(Container.DataItem("dropValue" ))"
> >
> >
>
Robin Bonin Guest
-
S. Justin Gengo #4
Re: Passing a variable in the onLoad event.
Just set the selected index in the code behind: myDropDown.SelectedIndex =
intSelectedIndex
--
S. Justin Gengo, MCP
Web Developer / Programmer
Free Code Library At:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Robin Bonin" <robin@guavatools.com> wrote in message
news:foidna-hLOZ1JIiiXTWJjg@eatel.net...> I know the value of the selectedIndex, and that is what I'm trying to
> select.
>
>
>
> "Cristian Suazo" <crillus7@hotmail.com> wrote in message
> news:O$93Kq9SDHA.1724@TK2MSFTNGP10.phx.gbl...>> > Are you trying to put a selected index?
> >
> > "Robin Bonin" <robin@guavatools.com> wrote in message
> > news:Sr6dnWpfNfAlKIiiXTWJiA@eatel.net...> > need> > > I have a data grid with multiple rows. Each row has a drop down box. I> > out,> > > it to select the correct item for each row. What I am trying to figure> >> > > is can I pass a value to the onLoad event for the dropdownlist?
> > >
> > > OnLoad="loadDefault(Container.DataItem("dropValue" ))"
> > >
> > >
> >
>
S. Justin Gengo Guest



Reply With Quote

