I have a modalpopup that open when i click an image in a listview, it runs smoothly and opens fine in local debug mode. But when i publish it, it takes 20 secs approx to open. Can anyone help me please?
The PopUp Code:
http://codepad.org/bId1cy7c
The c# run when click on the image:
http://codepad.org/lWOSKBJJ
In button click the page might be reloading for post back since you written the popup.show() inside the button click event. You can use another update panel for this button so that the complete page reload can be avoided. Please make a try.
Related
I have a problem a few days ago that I cannot solve:
I have a modals popups extender from asp.net that when pressed on a button opens another popup (if something changes, both are users controls only).
The problem arises at the close of the second. I am currently using:
modalpopup.Dispose ()
When you do this, the modal pop up leaves, causing the first to stop responding.
If you need, I can attach some part of the code that can guide you. Thank you!
I have a databound listview, with some controls in it. They are just image buttons. When i run in local debug mode, thy run smoothly and the code does not take forever to run.
However. When i publish the site, and code that runs as a consequence of me pressing an image button in the listview; runs really slowly. And does not fully execute for some time.
I assume page reloading is your issue. If so adding the list view and the contents to be updated into an Ajax update panel may solve the issue. Make a try. Also remember to place the controls in a ContentTemplate and to add a script manager
I use the modalpopupextender through out my application for adding records to gridviews. Recently I started testing it on my Droid Bionic and if I have for example a textbox inside the modal window and there are links underneath said textbox it will "click" the link instead of setting focus on the textbox. No events are fired when the link is clicked, but it does prevent me from selecting the control.
After fighting with the CSS for a while I decided to just remove all modal windows from the application and put them their own pages, but before i go through the trouble of doing that I was hoping someone else had run into this problem, and fixed it.
In my web application, wheni click on GO button one new window will open [it is a page (.aspx page)]. in that new window when i click on submit button, the new window will close.
please help me. Thank you.
Use javascript to call document.window.close() on the click event. You would need to post code or more details about your platform to provide any more.
When I use a RadEditor I want to enable the editor's spell check (working thus far). After a spell check the user can either click on the radmodule (toolbar thing) to either "finish spellcheck" or "cancel." Which is all fine and dandy except the "finish" button causes a postback!! I don't want that at this point!! "cancel" more or less does what I want to happen - I mostly just want a "done" or a way to stop the postback. Does anyone have any clues?
I've tried an Update panel but that just grays out the text area after it does the update.
The "finish" button should not do a postback - verify this by going to the Telerik online demos - http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx If it does postback, then there is a problem with some JS code on the page or some customization you did on the editor. Try starting with a blank editor page in your project and see if the behavior changes.
I think its cause we have a relatively old version of Rad now... Talked to my boss about buying new licenses..