On the report form, add a script manager from the toolbox before the report control: open the toolbox and select Ajax Extensions - Script Manager, then drag it onto the form. Using Visual Studio 2012, what I ended up with was the following new control on the form:
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
Full details for Visual Studio 2012 at http://msdn.microsoft.com/en-us/library/ms252104.aspx
This issue is because you have more than one 'Microsoft.Reporting.WebForms' referenced in your Web.Config file.
From this site! http://geekswithblogs.net/WesWeeks/archive/2009/01/21/128874.aspx
Running Windows Vista 64 bit, Sql Server 2008 on a remote server. Using ASP.Net and the Report Viewer control on an asp.net page for a local report. Was also using IIS to host the web site instead of using the web server built into Visual Studio 2008.
Searched and tried everything I could find on the net trying to fix this freaking error. On a whim (and because I didn't know what else to do and was trying everything I could think of) changed the IIS 7.0 app pool to the classic app pool. Angels came singing down from the sky and my report worked.
What a PITA! Hope this post helps someone else.
If you want your table column to not wrap in ASP.Net, you can use the NoWrap property in the tag like so:
- <td nowrap="nowrap">
This makes the code xhtml compliant and prevents warnings in the source view of designer in Visual Studio. Normally you could just specify a nowrap attribute by itself in plain html.
Or the CSS equivalent of setting nowrap:
- <td style="white-space:nowrap;">
Again, using the first option will prevent warnings in source view.
It is very very simple to avoid p page refresh in post-back . To get this we just have to use ASP "Update Panel Control" it will not refresh the page again and again on post-back.
Here is an example.
<asp:UpdatePanel ID="pnlPageRefresh" runat="server">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
<asp:TextBox ID="TextBox2" runat="server" AutoPostBack="True"></asp:TextBox>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True">
<asp:Button ID="btnSave" runat="server" Text="Button" />
After using this your page will not at all refresh again and again on post-back. Your code will work fine but refresh flickering will not occur.