Search

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

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
  • 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.
  • 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
  • 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 "
  • 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)