Tag Info

Hot answers tagged

3

This is because the UpdatePanel updates all the content WITHIN the UpdatePanel itself, meaning it recreates the DOM within that, excluding all javascript from outside the Panel. It has to be pointed out that moving the javascript within the UpdatePanel will not help. You'll have to use the Sys.WebForms.PageRequestManager.getInstance(); in order to make ...


3

A webpart is a just a kind of asp.net control, nothing specific to SharePoint considering what you want to achieve.You can use javascript\jquery\ajax to add controls dynamically. With javascript\jquery, you can add HTML controls.Check this : http://techbrij.com/445/add-dynamic-form-elements-textbox-button-radio-checkbox With Ajax Updatepanel, you can add ...


2

You can use jquery Ajax pretty easily and either have the response return some more html which you can add to an element on the page or build elements based on data returned. The update panel is a simple way to implement ajax in ASP.NET but may be (depends on req) more difficult to add controls dynamically (you may end up using JS anyway.


2

To completely understand the above answer, you would require the following reference: http://www.a2zmenu.com/Blogs/SharePoint/Richtext-contol-is-not-working-inside-updatepanel.aspx As suggested above, adding the following two lines after "RTE_TextAreaWindow_OnLoad(richtextContolId)", solved my problem: RTE_GiveEditorFirstFocus(richtextContolId); ...


2

I have resolved this issue. add following lines 2 lines after line "RTE_TextAreaWindow_OnLoad(richtextContolId)"; RTE_GiveEditorFirstFocus(richtextContolId); RTE_TransferIFrameContentsToTextArea(richtextContolId); Please let me know if it helps you...:) Cheers, Yogesh Ghare


1

Got the answer by testing workarounds. Just I need to write some lines of code in the OnInit() method of form. if (Page.Request.Browser.Type.ToUpper().Contains("SAFARI")) { ScriptManager sm = ScriptManager.GetCurrent(this.Page); if (sm != null) { sm.EnablePartialRendering = false; } } Anything for ScripManger cannot be changed ...


1

you can call MakeLynk(UserProfile user) within your updatepanel! I would also suggest that you could store the values within a session state and reload the values back again or use: if (!Page.IsPostBack) { your code here } both of those examples can be found here: How to save variables per user session per page as I dont have more code to go by I ...


1

you might want to have a look into this blog which explains the control tree: http://blog.typps.com/2008/01/failed-to-load-viewstate-typical.html Both links within the article are very good in explaining the viewstate and the life cycle of an asp.net page. Hope it helps. Kind Regards Ben


1

I've been experiencing the same problem. I have a SharePoint dashboard where all my custom webparts reside (currently 9 webparts). All webparts retrieve their data from web services and while using AJAX with the Timer works well in terms of initial page load, it can take up to 30 seconds for the last webpart in the sequence to get its data which doesn't look ...


1

I'm not really a developer, but I believe the core of the problem is that ASP.NET processes each page request using a single thread (even where there are multiple Web parts). An UpdatePanel is a really a page-postback and AFAIK it can only post one event at a time. As such, you will most likely need to create and register asynchronous tasks (i.e. using ...



Only top voted, non community-wiki answers of a minimum length are eligible