Click here to Skip to main content
16,021,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have the Javascript Function which having the values, using those values i have to bind the DropdownList in that javascript Function Only, bcz in my linkbutton i'm using onclientclick event.plz share if any sample code?
Posted

1 solution

 
Share this answer
 
Comments
trureddy 10-May-12 6:19am    
I tried the above example, but i'm getting error like PageMethods is Undefined.
Even in my MasterPage i given <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" ScriptMode="Release"
LoadScriptsBeforeUI="true"> in ScriptManager.
My exactly Senario Likewhen i click on button1 i have to bind dropdown with values. and when i click on button2 in the same page then again same dropdown i hv to bind with anthor values. for buttons i'm taking Onclientclick event

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900