Search

You searched for the word(s): userid:879152

Matching Posts

  • HttpUtility.HtmlEncode

    Hi all, I have some textboxes where data will be populated into these textboxes. I found that if these textboxes contain html or html-liked texts (e.g. <xxx>) or if I enter these texts into the textboxes, when the program gets the data thru the TextBox1.Text, error "Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500" will come up. I know that I can use HttpUtility
    Posted to Web Forms (Forum) by john.lam on 12/12/2009
  • Re: HttpUtility.HtmlEncode

    So which means disabling ValidateRequest is the only way if I want to get these values pass?
    Posted to Web Forms (Forum) by john.lam on 12/12/2009
  • Re: HttpUtility.HtmlEncode

    Thanks mbanavige. Maybe I should add regular expression validator to all the input fields if I disable ValidateRequest?
    Posted to Web Forms (Forum) by john.lam on 12/12/2009
  • Re: delete and edit confirmation

    Thanks for your suggestion. I applied ModalPopup on Delete method without problem, but when I do the same thing on the Update method, it just returns the following error message: Message: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies
    Posted to Data Presentation Controls (Forum) by john.lam on 12/6/2009
  • Re: delete and edit confirmation

    Thanks Aquaren. I figured out that I need to put all the things inside a single UpdatePanel, then it solved my problem. But I found that the textbox values in the ModalPopupExtender will not be cleared after clicking the OK/Cancel button, even I set "textboxid.Text = String.Empty"...
    Posted to Data Presentation Controls (Forum) by john.lam on 12/6/2009
  • Re: delete and edit confirmation

    Finally got all the things done with the following lines: $get('<%=ConfirmationUserName.ClientID %>').value = ''; $get('<%=ConfirmationPassword.ClientID %>').value = ''; Thanks heaps!
    Posted to Data Presentation Controls (Forum) by john.lam on 12/6/2009
  • delete and edit confirmation

    Hi all, I have the following gridview: <asp:GridView ID="ProductEnquiryGridView" runat="server" AutoGenerateColumns="false" DataSourceID="ObjectProductList" DataKeyNames="Barcode" SelectedIndex="0" OnPageIndexChanging="ProductEnquiryGridViewOnPageIndexChanging" OnRowDataBound="ProductEnquiryGridViewOnRowDataBound" OnRowDeleting="ProductEnquiryGridViewOnRowDeleting" OnSelectedIndexChanged="ProductEnquiryGridViewOnSelectedIndexChanged">
    Posted to Data Presentation Controls (Forum) by john.lam on 12/5/2009
  • Re: delete and edit confirmation

    Hi Aquaren, Thanks for your input, but I'm afraid it's not a solution for my case. This is because normal users can access the page but they need someone with higher access right to gain the permission for them to perform edit/delete function. They can change whatever that want, IF those who with higher access right to approve them to do so.
    Posted to Data Presentation Controls (Forum) by john.lam on 12/5/2009
  • Re: delete and edit confirmation

    Hi Aquaren, Thanks for your input, but I'm afraid it's not a solution for my case. This is because normal users can access the page but they need someone with higher access right to gain the permission for them to perform edit/delete function. They can change whatever that want, IF those who with higher access right to approve them to do so.
    Posted to Data Presentation Controls (Forum) by john.lam on 12/5/2009
  • Re: delete and edit confirmation

    Yes, any suggestion that which approach should I use?
    Posted to Data Presentation Controls (Forum) by john.lam on 12/5/2009
Page 1 of 13 (122 items) 1 2 3 4 5 Next > ... Last »