in the master page. This Content tag encloses the contentPlaceHolder of the Master Page.
One of the content Form loads a Div with a Table enclosed in it. The Table has few DropDowns. Selecting an option from a DropDown fills the second DropDown.
My application is showing an error, while selecting an option from a DropDown and also when clicking the Submit button. It is showing error only on remote server but not when the application is run on Local Host.
rpk2006
Member
631 Points
629 Posts
AJAX enabled web content Form displays error on Submit
Oct 09, 2011 07:33 AM|LINK
I am using Visual Studio 2005 [ASP.NET/C#].
I added
, and in the master page. This Content tag encloses the contentPlaceHolder of the Master Page.One of the content Form loads a Div with a Table enclosed in it. The Table has few DropDowns. Selecting an option from a DropDown fills the second DropDown.
My application is showing an error, while selecting an option from a DropDown and also when clicking the Submit button. It is showing error only on remote server but not when the application is run on Local Host.
The error is below:
In case the image is not visible, the URL is: http://www.freeimagehosting.net/f8743
Dileep N
Member
438 Points
94 Posts
Re: AJAX enabled web content Form displays error on Submit
Oct 09, 2011 07:36 AM|LINK
What error you getting ?
please check your connection string
_____________________________________
Dileep Narayanan | India
http://dotnetlord.com
rpk2006
Member
631 Points
629 Posts
Re: AJAX enabled web content Form displays error on Submit
Oct 09, 2011 07:39 AM|LINK
I have posted image link of the error.
rpk2006
Member
631 Points
629 Posts
Re: AJAX enabled web content Form displays error on Submit
Oct 09, 2011 07:40 AM|LINK
I have posted image link of the error.
Dileep N
Member
438 Points
94 Posts
Re: AJAX enabled web content Form displays error on Submit
Oct 09, 2011 07:47 AM|LINK
Which version of ajax u using ?
Make sure this in is your web.config
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
2) Add this to the to the Page declaration if you’re experiencing some page refresh bugs
enableEventValidation=”false”
http://weblogs.asp.net/albertpascual/archive/2008/04/22/how-to-fix-sys-webforms-pagerequestmanagerparsererrorexception-in-ajax-1-0.aspx
_____________________________________
Dileep Narayanan | India
http://dotnetlord.com
Song-Tian - ...
All-Star
43697 Points
4304 Posts
Microsoft
Re: AJAX enabled web content Form displays error on Submit
Oct 12, 2011 08:07 AM|LINK
Hi,
Please refer to: http://msdn.microsoft.com/en-us/library/bb386522.aspx.
Feedback to us
Develop and promote your apps in Windows Store