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:674157
More Search Options
RSS Available
Matching Posts
Inaccessable Page Object In Server Control
Hello, I have created a couple of server controls, one to display member details and another to display a print button that can be used in multiple locations. my member details control outputs the Print button with: MemberPDFButton PDFButton = new MemberPDFButton(); PDFButton.MemberId = _memberId; PDFButton.RenderControl(output); and my print button runs the print by calling a post back, which is added onto the page using: output.AddAttribute(HtmlTextWriterAttribute.Href, Page.ClientScript.GetPostBackClientHyperlink
Posted to
Custom Server Controls
(Forum)
by
RichardPriddy
on 9/5/2008
Filed under: RenderControl, server control, c#, "custom control"
Re: WebpartManager is undefined
Hello, Sorry I was not more detailed in my reply. Try reading through this post: http://forums.asp.net/t/966040.aspx and if that doesnt help just ask again. Richard Priddy
Posted to
Web Parts and Personalization
(Forum)
by
RichardPriddy
on 11/5/2007
Re: Complex Regex
From what I know about RegualrExpressions I am going to have to say I dont think this is possible in one step, but if I am wrong someone please correct me. I think you are going to have to split the string after </script> Then run 2 regular expressions: Regex regex = new Regex( @"{", RegexOptions.IgnoreCase | RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled ); And Regex regex = new Regex( @"}", RegexOptions.IgnoreCase | RegexOptions.Multiline | RegexOptions
Posted to
Web Forms
(Forum)
by
RichardPriddy
on 2/16/2007
Call BindData method in other webparts from a webpart
Hello, I have a number of different webparts on a page. A menu webpart a page listing webpart and a add page webpart which adds a page to the database which then populates the menu and page list. My problem is the order ASP.NET seems to do its postbacks. Currently the 2 Page_Load events for the menu and page list webpart are called (which bind the data) then the OnClick event for the add page webpart is called. So the new page is not being added to the menu or page list. Is there any way to call
Posted to
Web Parts and Personalization
(Forum)
by
RichardPriddy
on 2/15/2007
Filed under: WebPart, WebParts, Web Parts
Re: URL Rewriting with Master Pages and Web Parts
Thankyou, I had been having problems with this for a long while. Your post finally helped me fix it.
Posted to
HttpHandlers and HttpModules
(Forum)
by
RichardPriddy
on 2/12/2007
Re: WebpartManager is undefined
I have finally fixed this problem! The issue is with WebResource.axd which seems to be a dynamically generated JavaScript file produced by ASP.NET The issue is with the URL rewriting it rewrites the path of this file as wel, so when the application runs it doesn’t include WebResources properly and cannot define WebPartManager/Menu. So the fix is to check that the file name when rewriting the URLs and ignore anything with WebResource.axd in the path. System.Web. HttpContext httpContext = HttpContext
Posted to
Web Parts and Personalization
(Forum)
by
RichardPriddy
on 2/12/2007
WebpartManager is undefined
Hello, I have built a very simple website which has a class that implements IHttpModule Which manages URL rewriting. I have one page Default.aspx that inherits from a master page which has on it 3 WebPart zones, a WebPart manager and 2 controls inside 2 of the 3 WebPartZones. When I remove the URL rewriting code I can easily logon go into design view and drag the controls around the page, minimize them etc... When I enable the URL rewriting I just get Javascript errors saying: WebPartManager is undefined
Posted to
Web Parts and Personalization
(Forum)
by
RichardPriddy
on 2/8/2007
Filed under: personalization, WebPart, webpart space drag drop, WebPartManager, WebParts, WebPartZone, Web Parts, personalization webpartmanager webparts, web Parts drag drop
Re: How to handle multiple sitemaps for different treeviews
Right, I have multiple sitemap files in a Menu Dir and a webconfig like: < siteMap defaultProvider = " XmlSiteMapProvider " enabled = " true " > < providers > < add name = " XmlSiteMapProvider " description = " Default SiteMap provider. " type = " System.Web.XmlSiteMapProvider " siteMapFile = " ~/Web.sitemap " securityTrimmingEnabled = " true " /> < add name = " AdministratorsSiteMapProvider " description = " Admin SiteMap provider. " type = " System.Web.XmlSiteMapProvider "
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
RichardPriddy
on 8/14/2006
Dynamically Create a LoginView
Hello, I am trying to add a LoginView to my webpage programmatically . At the moment this is the code I have: using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class _Default : System.Web.UI. Page { Login myLogin = new Login (); LoginView myLoginView = new LoginView (); protected void Page_Load( object sender, EventArgs e) { TemplateBuilder tb = new TemplateBuilder
Posted to
Security
(Forum)
by
RichardPriddy
on 8/9/2006
Page 1 of 1 (9 items)
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online