Search

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

Matching Posts

  • Re: HTML EDITOR TYPE CONTROL

    You can use the javascript escape method on the client and then decode it on the server. As mentioned, you want to be cautious with the data coming to be on the lookout for any that may be up to no good. < asp : TextBox ID ="txtBox" runat ="server" /> < asp : Button ID ="Enter" runat ="server" Text ="Enter" OnClientClick ="txtBox.value = escape(txtBox.value);" onclick ="Enter_Click" /> On the server string rawText
    Posted to Web Forms (Forum) by Coleman on 10/6/2008
  • Re: Dynamically Created User Control - Events Problem

    If all possible, add the dynamic controls in the Master or Pages init event for a get or post. As you said, make sure you give each control an id. Add the parent to the control collection prior to adding the children and add the children prior to adding the grandchildren.. so on and so forth.
    Posted to Web Forms (Forum) by Coleman on 10/6/2008
  • Re: HTML in Web.Config

    < add key = " test " value = " &lt; p class= &quot; Spacing &quot;&gt; Welcome! &lt; /p &gt;&lt; p class= &quot; NoSpacing &quot;&gt;&lt; a href = &quot; http://www.asp.net?GroupId=39 &amp; Name=tie &quot;&gt; Enjoy! &lt; /a &gt;&lt; /p &gt;&lt; p class= &quot; Spacing &quot;&gt; XOXO, &lt; br / &gt; Uncle Same &lt; /p &gt; " /> string text = Server.HtmlDecode(System
    Posted to Getting Started (Forum) by Coleman on 10/6/2008
  • Re: pulling the email equivalent of user.identity.name ?

    If you are interested in the current logged-on user, you don't need to pass in the username. Just use the following: string emailAddress = Membership .GetUser().Email;
    Posted to Getting Started (Forum) by Coleman on 10/6/2008
  • Re: Parsing Error in ASP Web App

    Stop IIS or the web dev server. If there is a wp3 process running (worker process) shut it down via task manager. Next clear out your temp asp.net files usually located where you have the .Net Framework installed. c:\[Windows Directory]\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\[Your project temp files]. Sometimes the temp(compiled) web files do not get removed and are reused.
    Posted to Getting Started (Forum) by Coleman on 10/6/2008
  • Re: UpdatePanel Question

    You can create the button in the code behind, but you will lose state unless you create it on every postback. ASP.NET does not support dynamically created controls easily right out of the box. It is easier to declare the buttons in markup so that it will be available on every postback. <asp:Button id="Clear1" runat="server" Text="Clear" onclick="Clear1_Click" /> <asp:Button id="Submit" runat="server" Text="Submit" onclick
    Posted to Getting Started (Forum) by Coleman on 10/6/2008
  • Re: UpdatePanel Question

    You indeed get it. By setting the selectedIndex to -1, you are clearing out the selection.
    Posted to Getting Started (Forum) by Coleman on 10/5/2008
  • Re: UpdatePanel Question

    Here is a good link explaining your issue. Instead of creating a new RadioButtonList in your PageLoad, you can clear it by setting the property of the list reviewChecklist1 .SelectedIndex = -1; This should clear the selections.
    Posted to Getting Started (Forum) by Coleman on 10/5/2008
  • Re: Calling predefined functions throughout a website

    If you are using 2.0 or higher, you can place the code in the AppCode directory and reference them by any page. You could also put them in another assembly and then reference the assemly (.DLL) from your website. This would be the best approach if the code or functionality is shared by other applications.
    Posted to Getting Started (Forum) by Coleman on 10/5/2008
  • Re: Problem with the ValidationSummary Control

    This is from the 3.5 documentation but is valid for previous versions. ASP.NET < asp:ValidationSummary EnableClientScript="True|False" /> "Use this property to specify whether the ValidationSummary control updates itself using client-side script. When this property is set to true , client-side script is rendered on the client to update the ValidationSummary control, if the browser supports that feature. When this property is set to false , no client-side script is rendered on
    Posted to Web Forms (Forum) by Coleman on 10/5/2008
Page 1 of 2 (16 items) 1 2 Next >
Microsoft Communities