Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:608693
More Search Options
RSS Available
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 = " < p class= " Spacing "> Welcome! < /p >< p class= " NoSpacing ">< a href = " http://www.asp.net?GroupId=39 & Name=tie "> Enjoy! < /a >< /p >< p class= " Spacing "> XOXO, < br / > Uncle Same < /p > " /> 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 >
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online