Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:700015
More Search Options
RSS Available
Matching Posts
Re: Adding dropdown list box through javascript and binding data in it
Thanks NC01 for the code. I'll check it out and let you know if any problem arise. May I ask you to look at this thread?? I hope you'll have some solution for it. :)
Posted to
Client Side Web Development
(Forum)
by
nilsan
on 12/23/2009
Re: Adding dropdown list box through javascript and binding data in it
[quote user="NC01"] [quote user="nilsan"] Thanks NC01 for the code. I'll check it out and let you know if any problem arise. May I ask you to look at this thread?? I hope you'll have some solution for it. :) [/quote] Nope. Never used Cascading DropDowns. NC... [/quote] Thanks for prompt reply :)
Posted to
Client Side Web Development
(Forum)
by
nilsan
on 12/23/2009
Re: set CascadingDropdown value
[quote user="fayaz_3e"] Oops, I tried to create a dummy project and I could not complete. Looked into your code. You said you are setting values of dropdownlist in Content page. I guess, thats the problem. In the page life cycle, Page loads first then Master page then UserControl. You are setting in page. Then User control loads, where actual ddl binding is done. So, selected values vanished. Try setting in User control ... [/quote] Thanks Fayaz for replying. I know the page life cycle
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
nilsan
on 12/21/2009
Re: set CascadingDropdown value
Thanks Fayaz for pointing out few mistakes. Actually webmethods were created by some other developer. I will modify the code as suggested by you. I've few Imagebuttons on master page and I am handling particular event in content page using delegate. I want to show values at edit time that were previously saved by user and it works fine for the first time. It assigns value for the first time for all the dropdowns but second time it assigns value for the first two dropdown. I am clueless what's
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
nilsan
on 12/21/2009
Re: Adding dropdown list box through javascript and binding data in it
[quote user="NC01"] aspx file: <asp:PlaceHolder id="ddlPlaceHolder" runat="server"></asp:PlaceHolder> aspx.cs file: protected void SomeFunction() { string ddlItemsList = "1,2,3,4,5,6,7,8,9,10"; CreateDropDownList(ddlItemsList); } protected void CreateDropDownList(ddlItemsList) { DropDownList dropDownList = new DropDownList(); dropDownList.ID = "DropDownList1"; dropDownList.Items.Clear(); string [] ddlItemsArray = ddlItemsList.Split('
Posted to
Client Side Web Development
(Forum)
by
nilsan
on 12/21/2009
Re: set CascadingDropdown value
First of all let me give you understanding of my situation. I am using Asp.net 3.5. I am using Master Page-Content Page concept. On my content page I've UserControl containing four Cascadingdropdown . I was able to bind it and could get the values from them. When I want to show user Saved value at edit time, I can set value for all the cascadingdropdown first time only. Next time when user clicks navigation button to view the next record it is not setting values for all the cascadingdropdown
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
nilsan
on 12/19/2009
Re: set CascadingDropdown value
Still no reply??
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
nilsan
on 12/19/2009
set CascadingDropdown value
Hello, I am using CascadingDropdown and it is working perfectly fine except one thing. When I want to set value of Particular dropdown I do use the following method: Dim cddCountry As AjaxControlToolkit.CascadingDropDown = CType(LocationDetails1.FindControl("cddCountry"), AjaxControlToolkit.CascadingDropDown) Dim cddState As AjaxControlToolkit.CascadingDropDown = CType(LocationDetails1.FindControl("cddState"), AjaxControlToolkit.CascadingDropDown) Dim cddCity As AjaxControlToolkit
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
nilsan
on 12/18/2009
Re: set CascadingDropdown value
Nobody knows how to solve this problem.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
nilsan
on 12/18/2009
Re: Adding dropdown list box through javascript and binding data in it
[quote user="NC01"] The best way to do what you describe is to execute a PostBack and add and populate the DDL client-side. NC... [/quote] Can you explain it, how can i do that??
Posted to
Client Side Web Development
(Forum)
by
nilsan
on 12/9/2009
Page 1 of 43 (422 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online