Showing posts with label standard. Show all posts
Showing posts with label standard. Show all posts

Thursday, March 29, 2012

Popping opening a mail client and pass a subject parameter...

Hi:

Is there a way to pop open a mail client and pass in a text string for the
subject and possibly other parts of a standard mail message? The "mailto:"
attribute of hyplerlink leaves these blank.

Thanks,
Charlieread up on the mailto: link, it does have a &Subject='text'&Body='text'
attribute IIRC

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com

"Charlie@.CBFC" <charle1@.comcast.net> wrote in message
news:eSlBhiR4DHA.1752@.tk2msftngp13.phx.gbl...
> Hi:
> Is there a way to pop open a mail client and pass in a text string for the
> subject and possibly other parts of a standard mail message? The
"mailto:"
> attribute of hyplerlink leaves these blank.
> Thanks,
> Charlie

Saturday, March 24, 2012

populate standard HTML controls

I have a standard HTML control:
<SELECT id="leftBox" size="50">
</SELECT>
and I want to populate this with Options from the db:
<OPTION value="1234">John Smith</OPTION>
How can I do this?
NOTE: I need to be able to manipulate this box via a javascript I havethat works with standard HTML select controls. So I can't use anASP:ListBox.
Any suggestions?
Thanks.

asp:dropdownlist will render as a select ...

An ASP:ListBox gets rendered to the client as a <SELECT>... so you can use the javascript that you have with it.
Are you positive? This javascript I have I've been using for a longtime (pre-ASP.NET), and it works great. When I try to use it withASP:ListBox, I get javascript errors stating that "option" is not avalid something or other of that control.

You can use listbox if you have multiple items selected. If you are only going to have 1 item selected, opt for the dropdownlist.If you are still having problems, post some code so we can help you.

Nick