Showing posts with label dropdownlist. Show all posts
Showing posts with label dropdownlist. Show all posts

Thursday, March 29, 2012

Office Web Components

Hi!!,

I have tried to generate Excell grafics using OWC10 dll. In my asp.net page,
i have a dropdownlist where i can select the type of the grafic, a
linkbutton where i can clik to generate the grafic, and a Image WebControl
where i show the grafic, but i have a problem. The first time i click the
linkbutton, it show the grafic correctly, but when i click more times,
although the grafic has been generated correctly ,the image show the first
grafic.

How can resolve this?

thank you very much.

P.D.: I hope explain it well. Sorry for my bad english.

--

Julin Sanz
Salamanca (Espaa)You need to have unique names for your graph otherwise it overwrites the
last image.
window.open('graph.aspx','this needs to be a unique name'...

you can get unique names by using this line of code
System.Text.RegularExpressions.Regex.Replace(DateT ime.Now.ToString(),"\\D","
")

--

----
Got TidBits?
Get it here: www.networkip.net/tidbits
"Julian Sanz" <jsanzg@.gpm.es> wrote in message
news:e158gDsnDHA.360@.TK2MSFTNGP12.phx.gbl...
> Hi!!,
> I have tried to generate Excell grafics using OWC10 dll. In my asp.net
page,
> i have a dropdownlist where i can select the type of the grafic, a
> linkbutton where i can clik to generate the grafic, and a Image WebControl
> where i show the grafic, but i have a problem. The first time i click the
> linkbutton, it show the grafic correctly, but when i click more times,
> although the grafic has been generated correctly ,the image show the first
> grafic.
> How can resolve this?
> thank you very much.
> P.D.: I hope explain it well. Sorry for my bad english.
> --
> Julin Sanz
> Salamanca (Espaa)
well, i save the grafic in a image filethat it names "grafico.gif". When I
generate the image, i overwrite the last grafic, this is what i want, but
the asp.net page show the first image. When i refresh the page with the
refresh button of the explorer, it shows the correctly image. I understand
you that i have to create a diferent image file for each grafic, these image
files have to have diferents names. Have i understand you well?

"Alvin Bruney" <vapordan_spam_me_not@.hotmail_no_spamhotmail.com> escribi en
el mensaje news:uR8Sf6wnDHA.688@.TK2MSFTNGP10.phx.gbl...
> You need to have unique names for your graph otherwise it overwrites the
> last image.
> window.open('graph.aspx','this needs to be a unique name'...
> you can get unique names by using this line of code
System.Text.RegularExpressions.Regex.Replace(DateT ime.Now.ToString(),"\\D","
> ")
>
> --
>
> ----
> Got TidBits?
> Get it here: www.networkip.net/tidbits
> "Julian Sanz" <jsanzg@.gpm.es> wrote in message
> news:e158gDsnDHA.360@.TK2MSFTNGP12.phx.gbl...
> > Hi!!,
> > I have tried to generate Excell grafics using OWC10 dll. In my asp.net
> page,
> > i have a dropdownlist where i can select the type of the grafic, a
> > linkbutton where i can clik to generate the grafic, and a Image
WebControl
> > where i show the grafic, but i have a problem. The first time i click
the
> > linkbutton, it show the grafic correctly, but when i click more times,
> > although the grafic has been generated correctly ,the image show the
first
> > grafic.
> > How can resolve this?
> > thank you very much.
> > P.D.: I hope explain it well. Sorry for my bad english.
> > --
> > Julin Sanz
> > Salamanca (Espaa)

Friday, March 16, 2012

On click of check box + Dropdown list

Hey guys

I have Table in which on click of "checkbox" Dropdown list should open

By default dropdownlist is false

Can anyone send me code...

what does "dropdownlist is false" mean. Is the dropdownlist on the page? is it invisible? is it enabled? does it have values?

provide some more information if you want to get an answer.

hth,

mcm


Please explain as the above person is asking.

Else if you dropdown is visible false do:

if(checkbox1.checked)

{

dropdownlist.visible = true;

}



hey i got my answer my question was like if dropdown list is enable what will be code on click on "chekbox".. but i got my ans... :)