Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2007, 06:16 PM
Registered User
 
Join Date: Jul 2007
Location: popayan, , Colombia.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default read the selected value of DropDownList from VBScr

can anybody help me??, i need to read the selected value of DropDownList from VBScript, the code is the followig but i dont know what is my error?

Codigo:

<asp: DropDownList ID="DropDownList1" runat="server">
                         <asp:ListItem>Calidad de Contenidos</asp:ListItem>
                         <asp:ListItem>GOD conenidos</asp:ListItem>
                         <asp:ListItem>Perfil Usuarios</asp:ListItem>
</asp: DropDownList>


<script language="VBScript">

Function btnpru_OnClick()

//LLamar a una funcion con el valor selecionado del DropDownList
     BuildPivot(DropDownList1.SelectedItem.Text) ???????

End Function


Function BuildPivot(valor)
.....................
.....................

End Function

</script>





Similar Threads
Thread Thread Starter Forum Replies Last Post
find the selected index of the dropdownlist suneet.pant ASP.NET 2.0 Basics 0 May 22nd, 2008 03:45 AM
DropDownList, DataSource and Selected Items kingroon ASP.NET 2.0 Basics 2 February 25th, 2008 10:41 AM
Set selected value in GridView dropdownlist SV ASP.NET 2.0 Basics 1 October 24th, 2007 01:18 PM
DropDownList Selected Index = -1?? dorothee ASP.NET 1.0 and 1.1 Basics 4 June 11th, 2004 03:08 AM
selected value from dropdownlist control netwizard_01 ASP.NET 1.0 and 1.1 Basics 3 January 20th, 2004 09:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.