ASCX files and variables
-
can anyone explain to me how I can do the following and how it works. I have a listbox on a page. I also have a control (menu.ascx) that changes a querystring variable on the navigateurl property according to the selected value of that list box. On the pages first load this all works fine, however, when you change the value of the list box it does not update the button. I presume this is something to do with th order of events e.t.c but surely there is a good way to access parent controls values. This seems like something lots of people would want to do. Example: Lisbox: value is 1 name is Bob Mybutton1.NavigateURL = "~/myfiles/showperson.aspx?id=" & The passed variable here
-
can anyone explain to me how I can do the following and how it works. I have a listbox on a page. I also have a control (menu.ascx) that changes a querystring variable on the navigateurl property according to the selected value of that list box. On the pages first load this all works fine, however, when you change the value of the list box it does not update the button. I presume this is something to do with th order of events e.t.c but surely there is a good way to access parent controls values. This seems like something lots of people would want to do. Example: Lisbox: value is 1 name is Bob Mybutton1.NavigateURL = "~/myfiles/showperson.aspx?id=" & The passed variable here
You can access controls in the parent page. Button Mybutton1 = (Button) this.Parent.FindControl("Mybutton1");
how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things --thedailywtf 3/21/06