We began proting our application yesterday. Many things are different. In the long run, I think these are better bits. It the short run, the beta 1 seems alot less stable than the last release.
For example, We are getting this error message sproradically. Sys.WebForms.PageRequestManager
We also have some Custom Compiled Controls that used to work very well in the update panels, however, now they do not partial render, and sometimes, they redirect to no where, when watching through fiddler.
Are there any tricks in the new beta 1 for using Custome Compiled Controls with in an UPdate Pannel?
We have the simple code:
<asp:ScriptManagerID="ScriptManager1"runat="server"EnablePartialRendering="true"/>
<asp:UpdatePanelID="updPnlAddress"runat="server"RenderMode="Block"UpdateMode="Conditional">
<ContentTemplate>
<cc1:StoreFrontAddressControlID="StoreFrontAddressControl1"runat="server"/>
</ContentTemplate>
</asp:UpdatePanel>
Nothing is on the code begind. The control has a LinkButton on it, which changes the Labels to TextBoxes for editing. When the link is clicked the page actually refreshes.
Here is the request from fiddler
__EVENTTARGET=ctl11&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUJLTM4Njk1MDQ0D2QWAgIDD2QWAgIDD2QWAmYPZBYCAgEPZBYUZg8PFgIeBFRleHQFC01hcmlhIE5vdmFrZGQCAQ8PFgIfAAUPUmUvTWF4IFN1YnVyYmFuZGQCAg8PFgIfAAUUMjMxMSBXLiBTY2hhdWJ1cmcgUmRkZAIDDw8WAh8AZWRkAgQPDxYCHwAFFVNjaGF1bWJ1cmcsIElMLCA2MDE5NGRkAgUPDxYCHwAFDVVuaXRlZCBTdGF0ZXNkZAIGDw8WAh8ABQ4oODQ3KSAyMzAtNzMxOWRkAgcPDxYCHwAFEG1hcnJlbWF4QGFPTC5DT01kZAIIDw8WBh4JRm9udF9Cb2xkZx8ABRVFZGl0IFNoaXBwaW5nIEFkZHJlc3MeBF8hU0ICgBBkZAIJDw8WAh4HVmlzaWJsZWhkFixmDw8WCh8BZx4JRm9yZUNvbG9yCo0BHwAFHFBsZWFzZSBjb3JyZWN0IG1hcmtlZCBpbiByZWQfAgKEEB8DaGRkAgEPDxYCHwAFBU5hbWU6ZGQCAg8PFgIfAAULTWFyaWEgTm92YWtkZAIDDw8WAh8ABQhDb21wYW55OmRkAgQPDxYCHwAFD1JlL01heCBTdWJ1cmJhbmRkAgUPDxYCHwAFBkxpbmUxOmRkAgYPDxYCHwAFFDIzMTEgVy4gU2NoYXVidXJnIFJkZGQCBw8PFgIfAAUGTGluZTI6ZGQCCA8PFgIfAGVkZAIJDw8WAh8ABQVDaXR5OmRkAgoPDxYCHwAFClNjaGF1bWJ1cmdkZAILDw8WAh8ABQZTdGF0ZTpkZAIMDxBkDxYOZgIBAgICAwIEAgUCBgIHAggCCQIKAgsCDAINFg4QBQJBSwUCMTFnEAUCQ0EFATFnEAUCQ08FAjI4ZxAFAkRDBQMxMThnEAUCSUwFATNnEAUCTEEFAjE3ZxAFAk1PBQE1ZxAFAk5EBQIxM2cQBQJORQUBNmcQBQJOSAUCMTZnEAUCTk0FATdnEAUCTlYFAjE0ZxAFAlRYBQIyNGcQBQJXVgUCMzNnFgECBGQCDQ8PFgIfAAUEWmlwOmRkAg4PDxYCHwAFBTYwMTk0ZGQCDw8PFgIfAAUGUGhvbmU6ZGQCEA8PFgIfAAUKODQ3MjMwNzMxOWRkAhEPDxYCHwAFBkVtYWlsOmRkAhIPDxYCHwAFEG1hcnJlbWF4QGFPTC5DT01kZAITDw8WAh8AZWRkAhQPDxYIHwFnHglCYWNrQ29sb3IKXx8ABQlDYW5jZWwgICAfAgKIEGRkAhUPDxYIHwFnHwUKTh8ABQcgICBTYXZlHwICiBBkZGSnmKQVmPvdoG6CR%2BlpIzNu1oycfA%3D%3D&__EVENTVALIDATION=%2FwEWAgLkx9L4AQKiwPWxAlOkw%2Bolr0%2Bkb8bS%2FkBjgOOKf3pS
The response is the full page, and not the partial secion.
All help is appreciated.
hello.
yes, there are a lot of new things here. i'm not sure on what's the error you're getting, but i'm assuming that it says something like: can't parse the msg? if that is the case, then you're probably using response.write somewhere? this is not a good thing to do in an ajax page. btw, if you search this forum, you'll find several posts about it (maybe one will help you).
regarding the updatepanel, there are some posts about it here:
http://forums.asp.net/thread/1440058.aspx
http://forums.asp.net/thread/1445844.aspx
Yes. I finally ran across these posts. A developer on another project turned trace on. With the nice inherrited configs, our app turned trace on. We are all set.
However, the custom control does not work. I need to figure this out. I will post the solution.
We have also run into some wierd inconsitancies with the page model. We have had to move some code behind logic out of PreRender and into load. So far its been, Dynamic populate and ratings control affected.
Geoff
hello.
sorry, but i'm not a toolkit control user yet so i think i won't be able to help you with those controls.
No comments:
Post a Comment