WSS and Ajax
-
I have a custom application page with code-behind in WSS. The page has two dropdownlists, one with AutoPostback=true so it will filter the contents of the second. They are wrapped in an Ajax UpdatePanel. When I select from the first dropdown I get the below Javascript error. Doing a Google search finds 5 hits (and two are from us). Has anyone come across this? System.Runtime.CompilerServices.StrongBox`1..ctor(System.__Canon) This is definitely a WSS issue since the code has been tested in an ASP.NET page and it works as expected.
only two letters away from being an asset
-
I have a custom application page with code-behind in WSS. The page has two dropdownlists, one with AutoPostback=true so it will filter the contents of the second. They are wrapped in an Ajax UpdatePanel. When I select from the first dropdown I get the below Javascript error. Doing a Google search finds 5 hits (and two are from us). Has anyone come across this? System.Runtime.CompilerServices.StrongBox`1..ctor(System.__Canon) This is definitely a WSS issue since the code has been tested in an ASP.NET page and it works as expected.
only two letters away from being an asset
Maybe it's the javascript.
-
Maybe it's the javascript.
Brilliant! :rolleyes:
only two letters away from being an asset
-
I have a custom application page with code-behind in WSS. The page has two dropdownlists, one with AutoPostback=true so it will filter the contents of the second. They are wrapped in an Ajax UpdatePanel. When I select from the first dropdown I get the below Javascript error. Doing a Google search finds 5 hits (and two are from us). Has anyone come across this? System.Runtime.CompilerServices.StrongBox`1..ctor(System.__Canon) This is definitely a WSS issue since the code has been tested in an ASP.NET page and it works as expected.
only two letters away from being an asset
I've been trying to narrow the problem down. I'm trying to filter a list of states based on the selected country
int countryID = Convert.ToInt32(CountryList.SelectedItem.Value);
// This doesn't work
var states = context.State.Where(c => c.Country.ID == countryID).ToList();// This does
var states = context.State.Where(c => c.Country.ID == 2).ToList();StateList.DataSource = states;
StateList.DataBind();No matter how I try filter the EF object, Select, Where, etc., if it uses a variable, it fails. I've even tried creating a DataTable and populating it from states, but that doesn't work either. Very perplexing.
only two letters away from being an asset