Search

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

Matching Posts

  • ScriptManager, Dynamic Script, and UpdatePanel

    I am writing an asp.net application and would like to provide an easy way for developers to inject client script into the page. This application has an updatePanel in which most all things happen inside. So what I did was create a DynamicScript object that takes in a string (some client script) and appends a session var. Then I have an HttpHander for a path of __dscript.axd. This handler grabs the sessioned script and writes it out to the stream. I register the include for this handled file with
    Posted to ASP.NET AJAX UI (Forum) by ldadams on 10/22/2009
    Filed under: ScriptManager, httphandler, javascipt, dyanamic control creation
  • Re: Forms Authenciation in IFrame IE Problem

    This turned out to be an IE Privacy setting problem. For anyone else you need to ensure the site loaded into the IFrame is added under the privacy tab in Internet Options.
    Posted to Security (Forum) by ldadams on 4/7/2009
  • Forms Authenciation in IFrame IE Problem

    I have created an Iframe in an existing web application (non asp.net but uses its own forms authenciation and cookie). This existing application is not in the same domain as the site being rendered into the IFrame. When using FireFox everything works fine. When using IE my login does not work. I enter the user credintals and I end up right back at the login page. I thought the problem might have something to do with the url parameters that the login control uses but I put a link on the login page
    Posted to Security (Forum) by ldadams on 4/7/2009
    Filed under: Authenication, IFrame, login
  • Module Addin Development

    I have written a modular based web application. What I mean by that is you can create a module (a set of usercontrols) that is defined in the application with a start control. You create your module using a set of guidelines and create user controls that inherit from my base classes. Nothing really crazy here, its along the lines of how DotNetNuke works but on a smaller scale. This application actually renders in an Internet Explorer bar so I work with a fairly small area. This application works
    Posted to Architecture (Forum) by ldadams on 4/3/2009
  • Re: List<> and Activator.CreateInstance()

    Thank you, I was trying to put this together: public static object QueryToCollection(Type itemType, Type collectionType, IEnumerator items) { ECFDataItemAttribute[] Attributes = (ECFDataItemAttribute[])itemType.GetCustomAttributes( typeof (ECFDataItemAttribute), false ); PropertyInfo[] props = itemType.GetProperties(); object s = Activator.CreateInstance(itemType); object ss = Activator.CreateInstance(collectionType); Type t = s.GetType(); while (items.MoveNext()) { DbDataRecord dr = items.Current;
    Posted to C# (Forum) by ldadams on 6/17/2008
  • Re: Check if DbDataRecord Field Exists

    Was wondering if I had to just loop through. Thanks for this.
  • List<> and Activator.CreateInstance()

    If I have a type such as product and I want to create an instance of it with: object a = Activator.CreateInstance(product.GetType()); And I also have a productCollection which is a List<product> and I need to also create this class with: object b = Activator.CreateInstance(productCollection.GetType()); How can I then add a instance of a to b? Like: b.Add(a); Thanks
    Posted to C# (Forum) by ldadams on 6/16/2008
  • Check if DbDataRecord Field Exists

    Is there a way to check if DbDataRecord filed exists? There is nothing like: DbDataRecord d = ... if(d["columnName"] != null) This just allways throws an invalid index exception. Thanks
  • Re: ActiveDirectoryMembershipprovider Get User Guid

    Having same problem. Were you able to find a solution?
    Posted to Security (Forum) by ldadams on 3/20/2008
  • Re: Cast UserControl to Interface

    Yaaaa.... Long day... I was attempting to cast both the ascx and the cs as usercontrols... UserControlBase c; foreach (FileInfo f in d.GetFiles()) if (f.Extension == ".ascx" ) { { c = new Control(); c = (UserControlBase)LoadControl( "~/modules/UserSettings/SettingControls/" + f.Name); if (c is IUserSettingsControl) { IUserSettingsControl u = (IUserSettingsControl)c; userSettingControls.Add(u); } } } This does the trick.
    Posted to Web Forms (Forum) by ldadams on 3/11/2008
Page 1 of 5 (41 items) 1 2 3 4 5 Next >