Having a bit of trouble here. I know that if you want to use a fileupload control inside an AJAX update panel then you need to create a trigger for the control that performs the uploading postback to the updatepanel, but the problem is, I have an update panel that contains web usercontrols. I therefore can't add a trigger to the control(FileUpload) directly because it exists in the web control.
I have an accordion control in my web site. And in one of the panels, I have a drop down list box where, when the user selects an item, it updates the labels right below the ddlistbox. I have it so that it maintains the scroll position when the ddlistbox has an autopostback, but it's very obvious that the whole page posts back. My question is, can I/should I just enclose the ddlistbox and the labels (and a couple of text boxes) in an AJAX update panel? I already have a ToolScriptManager (because of the accordion control), so I don't need to have another script manager, right? I can just put the update panel (with the other controls inside of it) right in the accordion panel, right? Then when the ddlistbox posts back it won't have the delay of the whole page posting back? And it'll still execute the event handler for the listbox selection change? Does this sound right? I'm just looking to make the post back "invisible", and I would like to do a partial postback of just these few controls.
The reason I have the update panel outside the Tabcontainer is so that when switching between tabs, the screen doesn't flicker with refreshes, etc. But as a result, I can't get the FileUpload working properly. The FileUpload1.Filename is blank, so it errors out.
Is there anyway to get this working properly? I've tried the latest AsyncFileupload within the control toolkit, but this caused all kinds of problems with my pages so that's out of the question. I tried an iFrame too, but this also didnt work properly.
I am having one button , two date pickers and one report viewer , not all these controls are under update panel. Now when i click on button it is not generating a report. While if i remove update panel then it works.
2- i have Ajax Control ToolKit HTML Editor OutSide My UpdatePanel and its not inside any control.
my problem when make HTMLedior (visible=false ) onpage event, MyupdatePanel Render Control Much Fast, but when i Make it visible its slow my application althougth this htmleditor not included in any update panel and its not refreshed.
have a wizard control inside an update panel. have a radiobuttonlist that autopostback's when i click a radio button, page posts back & the page hops back up to the top. i want a user to be able to click radio controls & checkboxes with the form to be fluent; the hop back up to the top is rather annoying & may confuse the user.
1. this_client_Controller is null or not a object
2. parent.document.getElementById(...). Client Controller is null or not a object
I have 3 upload controls ,one listbox and two button controls in page. One button control named Attach has the code to add the files to listbox form 3rd file upload control and the 2nd button control named Save has the code to save the files of 1st and 2nd file upload controls in application folder and items of listbox to database.
The issue is couldn't maintain the state of 1st and 2nd file upload controls after browsing the files to file upload controls and clicking on Attach button control to add file name to listbox which was browsed by 3rd file upload control.So i placed the 3rd file upload control, Attach button and listbox in update panel but its not working. My requirement is when clicked on save button files of 1st and 2nd file upload controls in application folder and items of listbox to database, but 1st and 2nd file upload controls will loose the files as soon as Attach button is clicked to add filename of 3rd fileupload control to listbox.
I am hosting a Windows User Control in my web page using <object> tag. Everything works fine when the control is outside the updatepanel and is independent of other web controls but when I move the control inside the update panel, it doen't load the user control properly.
why it doesn't render the control properly and what can I do to fix it?
I tried moving the user control outside the update panel but since this user control is shown/hidden dynamically and is rendered based on other web controls which are inside an Update Panel, the user control is not shown at all.
I have a control on a page. In the control's pre-render event I'm executing some code that's taking about a minute to execute. This means the whole page is unresponsive until the control's pre-render event is finished executing.I tried putting the control inside an update panel, but it doesn't matter the rest of the page still won't render until the pre-render event of the control is finished executing. I've attached a very simple example of my code (The event that's slowing up the control's pre-render event is not Thread.Sleep(1000):
I have many controls like dropdown, radiobuttonlist, etc on my page and I put all these controls inside the update panel so that the page doesn't look to be posting back when something is selected. Now the working on the page is very smooth. But the session object isn't getting refreshed even if I postback to the server and as a result even if the users are working on the page they are being sent to the login screen after 20 mins.
Is there anyway where I could put all the controls in update panel and still refresh the session after any postback(dropdown selection)