View Complete Post
I have found an odd bug in my application. I have a dropdown status which is bound to my gridview. On selecting a status from the dropdown the selectedindex then fires and binds the results to the gridview.
Now the strange behaviour in firefox and not IE:
If I have a dropdown open and an ajax update fires on my gridview the option is selected from the dropdown (just by hovering my mouse over it rather than selecting it) and the results bound to the gridview. This does not happen in ie as you should have to physically select an item from the dropdown rather than firefox selecting it for you because you happened to hover over an option when the update event fires.
Anybody had the same problem or does anyone have a fix out there?
Your help would be appreciated.
I do not know how to do that in asp.net, any tips or recomendations?
I can't get my <ajax:asyncfileupload> working and I don't see why...
Here's the error:
Here's my front-code:
<%@ Page Language="VB" MasterPageFile="~/masterpages/mpSqueletton.master" AutoEventWireup="false" CodeFile="frmAdmGestSocietes.aspx.vb" Inherits="adm_frmAdmGestSocietes" title="Untitled Page" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
document.getElementById("<%= lblStatus.ClientID %>").innerText = args.get_fileName(), "<span style='color:red;'>" + args.get_errorMes
I for a page with multiple update panel in parent page, I got a button that will open a child window, after I close the child window, how can I refresh the parent page? And I only want to refresh a single update panel section instead of all other update panel section.
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)
Any help is greatly appreciated.
Thanks in advance
i have some search criteria.
after filling all criteria when i press search button the result arrives in gridview nw when searchbutton pressed after that every 20seconds i want 2 update gridview data which is in update panel
This has got me completely confused... not sure if I've been at it too long and am missing something, or if this is a bug?
I have a webform with an AJAX update panel. In the panel there are 2 controls. One is a textbox, the other a listview.
I'm using the ClientScriptManager to take advantage of the "OnKeyUp" event to cause an autopostback.
When text is entered into the textbox, it runs the textchanged event, which puts data in the listview.
So far so good. All works fine with one exception.
Problem is that with IE8 the textbox loses focus on the SECOND text entry, even though it's specified in my code to focus on textbox after the textchanged event fires. And with Firefox, it doesn't cause the textchanged event to fire at all.
I don't get it??
Here's my code...
Sub Page_load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
TextBox1.Attributes.Add("onKeyUp", Page.ClientScript.GetPostBackEventReference(TextBox1, ""))
Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles TextBox1.TextChanged
Listbox1.Items.Add(New ListItem("ListboxItem", "ListboxValue"))
TextBox1.Text = ""
I am working with AJAX Panel Collapsable panel extender.
Script for AJAX Collapsible Panel Extender is as follow.
<ajax:CollapsiblePanelExtender ID="cpeSOP" runat="Server" CollapseControlID="pnlCollapsable" CollapsedSize="0" Collapsed="True" CollapsedImage="~/public/img/arrowRightWhite.gif" ExpandControlID="pnlCollapsable" ExpandDirection="Vertical" ExpandedImage="~/public/img/arrowDownWhite.gif" ImageControlID="Image1" SuppressPostBack="true" TargetControlID="pnlSearchCriteria"> </ajax:CollapsiblePanelExtender>
i have a dropdownlist and a listbox inside an update panel. I populate the listbox with a selected value of the dropdownlist and works ok. The problem is when delete an item from the listbox because does not the refresh of the listview and still to watch me the deleted item.
how can i do the refresh?
pd: i am using framework 2.0
thx in advance!
Please help so i ll nt get n trouble
Ok, I was working on this last week and took a break from it to 'regroup' and start over.
Here is what I'm trying to accomplish.
1. have a web form with dropdowns to allow the user to select font sizes, colors, background image, etc.
2. I want to the form to be updated with the new styles in an update panel.
3. Once the user clicks the apply button, I want the updatepanel to refresh with the new styles.
I tried this by creating an css on the fly, but the updatepanel wasn't picking up the new css without doing a full page refresh, (which we don't want to do).
I only want the updatepanel refresh and either use inline styles, a <style> on the web form etc,
any suggestions or recommendations on how to accomplish something like this?