ASP.Net 4.0 , Update Panel.. causing flicker of whole webpage - asp.net

I have made a web site, a chatting application,... On a webpage independent of Master page, i added a Ajax Update Panel, In the update panel i added a timer , a memo, and a hidden field,..
Its working but causing the whole webpage to flicker, that has made my approach ugly..
Please any programmer help me..
Thanks in advance

Can you post the related code segments? Without that, it is difficult to guess what the problem is.
Page flicker could be:
Page load firing twice in update
Timer firing when not intended
The list goes on...
If you are unable to post the code, I would troubleshoot by removing everything but the core functionality until you can get the flicker to stop then add pieces back in. That is really all I can offer you without the code.

Related

Enable asp button when page is fully loaded

I have an asp page that when accessed it loads up a large grid view of a bunch of data. This can sometimes take a decent amount of time to load because it is a lot of info. If someone clicks the ImageButton to load up a calendar while the page is still loading it will mess up the page and make the page reload. So I'm wondering how I can get it to wait until the page is fully loaded to enable the button. I can have it disabled at the start but I need a way to detect when the page is fully done loading. My program is using a vb.Net code behind by the way. Any help would be greatly appreciated, thank you so much!

Update Panel posts back after a period of inactivity

I have a asp.net user control in a SharePoint solution. This user control uses Telerik Asp.net Ajax controls to provide a basic datagrid CRUD operations. I use this grid in a web part on a page in SharePoint 2013.
I have a datagrid which is wrapped with RadAjaxPanel to ajaxify it.
It all works fine. However, let's say, I click the add new record button and it opens a form to fill, if I leave that form intact for a minute, then start to fill and submit, it does postback and cancels form.
However, if I click on add new record and fill the form and submit, it all works fine. I guess there is a timeout somewhere which causes this, my two days of research did not help me to find it.
I was just wondering whether you have ever come across with this issue. I guess it does not matter whether it is Asp.net update panel or RadAjaxUpdatePanel, even if you have seen this issue on Asp.net update panel, that will help too.
I did not know what part of the code I should share, please let me know if you need any code to understand this issue.
There must be something on SharePoint script manager, and ajax manager, but I have no idea what.
It looks like it is a known bug in SharePoint 2013. People suggested to install December 2014 CU to solve it, but it did not solve it. Someone mentioned in this link to make request to server via javascript event given interval. As my page does postback if I leave it about 20-30 sec idle, I call a random SP web service evet 15 sec which seems to resolve my issue. Please see below link which helped me to workaround this.

ASP.Net progress on first page load

I am working on ASP.Net project and Ajax (UpdatePanels and UpdateProgess)
Everything works fine. When I click on a button in order to refresh a drop down list for example, I see progress image in UpdateProgress control.
But, what I have a problem for the first page loading:
I need to display the page content quickly and then feed all dropdowns from database with a progress image animation.
It is hard to do because the first page loading is slow because everything is done in page load.
Anyone have a solution to this?
Thanks
There really isn't much you can do about first page load, because your code has not yet been compiled to be able to run, and show your progress dialog yet. It's a catch-22.
The best you can do is use a warmup tool to try and keep the app domain loaded.

On Updatepanel update, everything outside the updatepanel disappears

Apologies for such a broad, sweeping question, but I can't really give specific code examples because as far as I can tell from research this problem is unique to the particular page I'm working on and if I knew what to do to replicate it then I'd most likely be able to fix it.
I have an asp.net vb (v3.5 using the ajaxcontroltoolkit v4) page essentially binding some straight forward SQL database data to a gridview.
The gridview's in an update panel and whenever I do anything that causes a postback inside the update panel, everything outside the update panel vanishes. The update panel IS updating correclty.
There's no conditional updating, just an 'out of the box' update panel.
All other ajax functionality is working correctly, such as filtered textbox extenders and validation with callout extenders, so I don't think it's a basic script reference error.
I'm making use of javascript and jquery to modify controls on the fly that are within the updatepanel.
It was a standalone page for development but for testing this problem I put it into a contentplaceholder on a masterpage. Now on updating, everything else in the contentplaceholder disappears, leaving the masterpages header etc present.
If you haven't come across this particular problem before, can you think of how I could go about debugging it?
If you have any ideas at all, it might be enough to set me down the right path.
Many thanks.
Thanks for taking the time to make suggestions Mt. Schneiders.
In the end...haha wow, embarrassing... I've been doing this for the best part of 6 years now and I was closing my updatepanel before closing a div that started above the panel.
Simple fix. Yay! Thanks again.

How to resolve the Pageload more than one time using kendoui

I have develop a small Kendoui app in asp.net in this i have dynamially bind the values for listview a href,it is working fine now.But my issue is
When click the listview a href link that goes to next page but it reload more than one time
how can i prevent this page load issue.
Please help me..
PageLoad may be fired twice for many reasons (and it depends on page content/set-up), you can find more details (and an answer) here:
http://forums.asp.net/t/990627.aspx/1

Resources