Search

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

Matching Posts

  • Re: Firefox rendering problem

    I also have the same issue. Looks like ReportViewer is not compatible with FireFox. Some interesting links: http://msdn2.microsoft.com/en-us/library/ms251673(VS.80).aspx - MS basically says we support it, but not really http://weblogs.asp.net/jgalloway/archive/2006/09/01/SQL-Reporting-Services-_2D00_-CSS-fix-for-Firefox.aspx -- a fix for the "height issue" Eric
  • Re: Auto Suggest Menu control

    Hi Rick, Sorry for late response. I just release version 1.1 of the AutoSuggestMenu control. Before doing that I tested adding the control dynamically and inside UpdatePanel. Both should work. Try it out and let me know if you have any issues.
    Posted to Web Forms (Forum) by ericpopivker on 4/17/2007
  • Static variables in web application : CallContext vs. ThreadStatic vs. HttpContext

    IIn my web application I would like to cache Context information per user request/session. First I implemented my UserContext.Current object using [ThreadStatic] like this: ======================================== public class UserContext { [ThreadStatic()] protected static XContext _currentContext; public static UserContext Current { get { if (_currentContext==null) _currentContext=new UserContext(); return _currentContext; } } =================================== It worked great in my debugging
    Posted to Web Forms (Forum) by ericpopivker on 3/6/2007
  • Re: Design mode stylesheet ASCX

    I found that my problem was that absolute path (starting with ~ or /) was not working in Design Mode, so I converted it to relative and it worked. Here is what I did: ================================================================== public override String GetDesignTimeHtml() { HtmlTextWriter writer = new HtmlTextWriter(new StringWriter()); Control ctrl = (Control)this.Component; //Write CSS File string url = menu.ResourcesDir + "/Styles.css"; if (IsAbsolutePath(url)) url = GetRelativePath(url, control
    Posted to Custom Server Controls (Forum) by ericpopivker on 2/26/2007
  • Re: Custom stylesheet-Control (link-tag) not working in design-time - found solution

    I found that my problem was that absolute path (starting with ~ or /) was not working in Design Mode, so I converted it to relative and it worked. Here is what I did: ================================================================== public override String GetDesignTimeHtml() { HtmlTextWriter writer = new HtmlTextWriter(new StringWriter()); Control ctrl = (Control)this.Component; //Write CSS File string url = menu.ResourcesDir + "/Styles.css"; if (IsAbsolutePath(url)) url = GetRelativePath(url, control
  • Re: Design mode stylesheet ASCX

    Same problem here. In GetDesignTimeHtml I have code: writer.WriteLine("<link href=\"ControlStyles.css\" type=\"text/css\" rel=\"stylesheet\">"); writer.WriteLine("<div class=\"ControlStyle\">...</div>"); But the styles are not being picked up. Anyone knows of a solution/workaround?
    Posted to Custom Server Controls (Forum) by ericpopivker on 2/22/2007
  • Re: Custom stylesheet-Control (link-tag) not working in design-time

    I am having exactly the same problem: In GetDesignTimeHtml I have code: writer.WriteLine("<link href=\"ControlStyles.css\" type=\"text/css\" rel=\"stylesheet\">"); writer.WriteLine("<div class=\"ControlStyle\">...</div>"); But the styles are not being picked up. Anyone knows of a solution/workaround?
  • Re: I really don't understand why Sys.Application.notifyScriptLoaded() is really need.

    I would really like to get a good explanation about this from MS. When I see a requirement like this - it just smells too much of sloppy coding. There must be a REALLY good reason to require every JS file to end with specific function. Eric
  • Re: how to get which UpdatePanel has posted

    Hi Eric, The better way would be if UpdatePanel.IsInPartialRendering would actually return the correct value. Unfortunately it doesn't work correctly and always seems to return false. Right now Cyril's and my code only returns the first UpdatePanel, but it should be pretty easy to modify our code to return a list of all panels being refreshed. Regards, Eric P
  • Re: how to get which UpdatePanel has posted

    Thanks for the code, Cyril... There is one more case. UpdatePanel can be refreshed using a submit button or another control inside it. In that case you would need to use code like this: Control control=this.Page.FindControl(scriptManager.AsyncPostBackSourceElementID); while (control != null) { if (control is UpdatePanel) return (UpdatePanel)control; control = control.Parent; } return null; Regards, Eric
Page 1 of 3 (21 items) 1 2 3 Next >