Search

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

Matching Posts

  • HttpModule Not Firing

    I have an HttpModule that I want to register in a child web.config (ie. not in the application level web.config). Now, the HttpModule works fine when it's in the application's root web.config.. but. if I put it in the web.config of one of the subdirectories.. it doesn't fire at all (ie the Init Method never fires). I looked in the MSDN documentation and it says thatte httpModules element can be configured at any web.config level. If this is the case, what gives? ps. I haven't posted
    Posted to HttpHandlers and HttpModules (Forum) by DMAR78 on 8/3/2008
  • Re: File/Folder structure question with web.config authentication...

    I"ll try to answer your questions as completely as possible. 1.) you don't technically NEED a file called default.aspx in any site. If your site uses forms authentication, and you have the <authorization> element of your site set to deny all unauthenticatedd users, then any user that attempts to hit any page you haven't explicitly deemed as public (using location sections) will be redirected to your login page.. and once logged in, will be brought back to the page they tried to
    Posted to Security (Forum) by DMAR78 on 4/18/2008
  • Re: OnTextChanged

    try using Double.Parse or Double.TryParse to get the values into the right format.
    Posted to Web Forms (Forum) by DMAR78 on 4/18/2008
  • Re: GridView1_RowUpdating

    I see a bunch of problems here: 1.) You are using textboxes. Because when the grid is in edit mode.. you type in textboxes.. you should be using e.Row.FindControl("name") to get your values.. and that means you should be using a more definitive column structure. 2.) speaking of columns.. I only see button columns defined here.. where are the column definitions for your data? 3.) why are you redirecting to the same page at the end of the handlers? you don't need to do that if you run
    Posted to Data Presentation Controls (Forum) by DMAR78 on 4/9/2008
  • Re: Can we change membership section of a web.config at runtime

    I think the easiest way would be to modify the connectionstring itself at runtime as I don't think you can do what you state above without writing a custom membership provider (as then you can get or set that property from your custom provider after pulling it out of the Initialize method override). If you're worried about hardcoding.. then put all the connectionstrings in your AppSettings collection of the config... then... at runtime... do something like this: ConfigurationManager .ConnectionStrings
    Posted to Configuration and Deployment (Forum) by DMAR78 on 4/9/2008
  • Re: Setting web server control value programmatically

    you can do something like this: <asp:HyperLink id="hyperlink1" NavigateUrl='<%# GetLink(Container.DataItem) %>' Text='<%#Eval("object_name")%>' Target="_parent" runat="server"/> The GetLink function is a method on the code behind of the page that will determine the link url. I'm passing in the entire dataitem, (datarow) on which I can now perform logic.. like so.. protected string GetLink(object item) { var myItem = item
    Posted to Data Presentation Controls (Forum) by DMAR78 on 4/9/2008
  • Re: What is the difference between...

    While I can't give you a definitive answer regarding the architecture of Exchange 2007 Web Services, I can tell you that I just did something like what you are trying to do and have posted all the information that was helpful to me here: http://blogs.visoftinc.com/archive/2008/03/20/Using-Exchange-Web-Services-2007-The-Basics.aspx
    Posted to XML Web Services (Forum) by DMAR78 on 4/3/2008
  • Re: How to loop a Panel Control

    cast the result of the FindControl to a CheckBoxList and then loop over the Items collection... like this: CheckBoxList c = Panel1.FindControl("chklst") as CheckBoxList; if(c != null) foreach ( ListItem item in c.Items) var isSelected = item.Selected
    Posted to Web Forms (Forum) by DMAR78 on 4/2/2008
  • Re: location or next line of controls inside a panel

    to insert each control n a new line, use the LiteralControl. so example... Panel1.Controls.Add(new TextBox()); Panel1.Controls.Add(new LiteralControl("<br/>"));
    Posted to Web Forms (Forum) by DMAR78 on 4/2/2008
  • Re: DirectoryEntry question

    DirectoryEntry has a Properties collection property on it. Try doing something like: foreach(var prop in entry.Properties) Console.WriteLine(prop);
    Posted to Active Directory and LDAP (Forum) by DMAR78 on 4/2/2008
Page 1 of 8 (71 items) 1 2 3 4 5 Next > ... Last »