Click here to Skip to main content
16,014,838 members
Home / Discussions / C#
   

C#

 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink0630-Jul-10 23:50
crosslink0630-Jul-10 23:50 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink0631-Jul-10 4:36
crosslink0631-Jul-10 4:36 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active31-Jul-10 13:44
mentorNot Active31-Jul-10 13:44 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... [modified] Pin
crosslink061-Aug-10 2:08
crosslink061-Aug-10 2:08 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active1-Aug-10 5:59
mentorNot Active1-Aug-10 5:59 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... [modified] Pin
crosslink061-Aug-10 12:39
crosslink061-Aug-10 12:39 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active1-Aug-10 16:35
mentorNot Active1-Aug-10 16:35 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... [modified] Pin
crosslink062-Aug-10 23:45
crosslink062-Aug-10 23:45 
Indeed, with a Timer it's working but during a post back, I get a javascript error:
"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are..."


That why I tryed to follow your trick: http://msdn.microsoft.com/en-us/library/ff650218.aspx[^]

For that, I downloaded the following http://www.microsoft.com/downloads/details.aspx?FamilyId=91f3c22c-8be7-4721-9449-84f699337d55&displaylang=en[^]
Then deployed the solution containing the AjaxSupport.dll into my server and add the reference into my web part project.

Then, I added the following within my default.master file
<%@ Register 
   Assembly="Microsoft.Practices.SPG.AJAXSupport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8768CCAE1C3C9EB2"
   TagPrefix="spg" 
   Namespace="Microsoft.Practices.SPG.AJAXSupport.Controls" %>

<spg:SafeScriptManager ID="SafeScriptManager" 
                                                   runat="server" 
          EnableUpdatePanelSupport = "True"
                                                   />

Then, in my web.config, I added a safecontrol tag and resetted IIS:
<SafeControl Assembly="Microsoft.Practices.SPG.AJAXSupport, version=1.0.0.0, Culture=neutral, PublicKeyToken=87###########", Namespace="Microsoft.Practices.SPG.AJAXSupport", typeName="*", Safe="True" />


Now, I'm getting an error by uploading my default.master file:
"The Control type 'Microsoft.Practixes.SPG.AJAXSupport.Controls.SafeScriptManager' is not allowed on this page. The type is not registeres as safe".


Need some help, please.
Thanks

modified on Tuesday, August 3, 2010 5:52 AM

GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink065-Aug-10 7:47
crosslink065-Aug-10 7:47 
QuestionSQL Query On DataTable Pin
cdpace30-Jul-10 4:07
cdpace30-Jul-10 4:07 
AnswerRe: SQL Query On DataTable Pin
Yusuf30-Jul-10 5:43
Yusuf30-Jul-10 5:43 
QuestionProgrammatically set the admin only permission to event viewer file in window 7 Pin
vinaykhin30-Jul-10 1:29
vinaykhin30-Jul-10 1:29 
AnswerRe: Programmatically set the admin only permission to event viewer file in window 7 Pin
vinaykhin17-Aug-10 21:59
vinaykhin17-Aug-10 21:59 
QuestionCOM server containing bulk insert impl called from Matlab Pin
devvvy29-Jul-10 23:51
devvvy29-Jul-10 23:51 
QuestionReflection to load an assembly application wide (like referencing it) Pin
hoernchenmeister29-Jul-10 23:38
hoernchenmeister29-Jul-10 23:38 
AnswerRe: Reflection to load an assembly application wide (like referencing it) Pin
PIEBALDconsult30-Jul-10 6:00
mvePIEBALDconsult30-Jul-10 6:00 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
hoernchenmeister1-Aug-10 20:42
hoernchenmeister1-Aug-10 20:42 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
PIEBALDconsult2-Aug-10 2:58
mvePIEBALDconsult2-Aug-10 2:58 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
hoernchenmeister2-Aug-10 3:42
hoernchenmeister2-Aug-10 3:42 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
PIEBALDconsult2-Aug-10 3:54
mvePIEBALDconsult2-Aug-10 3:54 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
hoernchenmeister2-Aug-10 4:59
hoernchenmeister2-Aug-10 4:59 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
PIEBALDconsult2-Aug-10 12:28
mvePIEBALDconsult2-Aug-10 12:28 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
hoernchenmeister2-Aug-10 20:29
hoernchenmeister2-Aug-10 20:29 
AnswerRe: Reflection to load an assembly application wide (like referencing it) Pin
Bernhard Hiller1-Aug-10 22:01
Bernhard Hiller1-Aug-10 22:01 
GeneralRe: Reflection to load an assembly application wide (like referencing it) Pin
hoernchenmeister2-Aug-10 1:20
hoernchenmeister2-Aug-10 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.