Search

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

Matching Posts

  • share user controls across applications

    share user controls across applications, it works in the iis, but having error message in the vs2005 (source&design mode). is there any setting to make it work in the ide? Thanks
    Posted to Web Forms (Forum) by hongtao on 6/21/2006
  • Cannot retrieve textbox text inside a compositecontrol

    Here's the code: CompositeControl.cs using System; using System.Web.UI; using System.ComponentModel; namespace TC { /// <summary> /// TODO: issue with data binding /// </summary> public class CPanel : System.Web.UI.WebControls.CompositeControl { [Browsable(true), PersistenceMode(PersistenceMode.InnerProperty)] public virtual ITemplate ContentTemplate { get { return contenttemplate; } set { contenttemplate = value; } } ITemplate contenttemplate; /* other templates */ protected override
    Posted to Data Presentation Controls (Forum) by hongtao on 5/13/2006
  • Ajax Callback cause moust cursor and IE status bar flash

    If the response back includes text only, everything is ok. But when it has img tag, eg. <img src='' ..., the mouse cursor and IE status bar will flash. Any idea how to avoid this? Thanks code: ... functions CallBack(data) { ajaxpanel.innerHTML = data.responseText; } ...
    Posted to Client Side Web Development (Forum) by hongtao on 3/21/2006
  • image cannot display in vs2005 with form authentication

    after I setup the form autnentication in the web.config, all the files (image, style sheet and pdf, etc.) under the application cannot be accessed before the user login, except the login page, but even the image and style files in the login page cannot be accessed also. Is this a new feature of asp.net 2.0? or I've the wrong setting in web.config? web.config: < authentication mode = " Forms " > < forms slidingExpiration = " true " ></ forms > </ authentication > < authorization
    Posted to Web Forms (Forum) by hongtao on 1/5/2006
  • unexpected postback event fired, bug or by design?

    the page: <% @ Page Language ="C#" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < script runat ="server"> protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { DropDownList2.Items.Clear(); DropDownList2.Items.Add(new ListItem("list2 item1")); DropDownList2.Items.Add(new ListItem("list2 item2")); } protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e
    Posted to Web Forms (Forum) by hongtao on 12/16/2005
  • C# culture issue

    By default, the C# uses the windows syetem's culture setting to display a datetime. For instance, on a Sim-Chinese Windows system, DateVar.ToString() will return "10-05-2005", instead of "10/05/2005". But on this non-english platform, even I use the format-string to change the output, DataVar.ToString("MM/dd/yyyy") still give me the string "10-05-2005". It seems that the character '/' is always transferred to '-' whatever I indicate in the format-string. So How can I use the formater to get a date
    Posted to Getting Started (Forum) by hongtao on 10/6/2005
  • Re: Cache issue with ASP.NET

    Solved, have to set the IE no caching the page, add the following in the page load event. Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
    Posted to Data Presentation Controls (Forum) by hongtao on 10/5/2005
  • Re: Cache issue with ASP.NET

    not, all default setting. If I bebug the page slowly (step by step), it works fine, but if I just run it, the data is cached, I have to refresh to get the updated data. really weird.
    Posted to Data Presentation Controls (Forum) by hongtao on 9/25/2005
  • Re: Cache issue with ASP.NET

    Tested again, the ASP.NET 2.0 do cache my dataset. I put a timestamp (DateTime.Now) on the top of the page1, when it's redirected back from page2, the time samp changed, but the dataset still has the old data before it was modified in page2. Any idea?
    Posted to Data Presentation Controls (Forum) by hongtao on 9/22/2005
Page 1 of 5 (45 items) 1 2 3 4 5 Next >