Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DTaylorAtWork

    Odd behaviour when dynamically placing controls

    Is there anyway you could create the controls while you are making the table? that way you could avoid using the place holders and just put the controls in to start with: no searching for the proper place. If the code gets too cluttered you could create a function that determines the proper...
  2. DTaylorAtWork

    Reload page after setting session variable?

    Instead of using Response.Redirect you could try ScriptManager.RegisterClientScriptBlock(this, typeof(string), "postBack", Page.ClientScript.GetPostBackEventReference(new PostBackOptions(this)), true); I know it's a bit long but if you have any update panels or ajax stuff on the page you...
  3. DTaylorAtWork

    ProfileProvider with Windows Authentication

    I have an existing ASP.NET 2 webpage using Windows Authentication. I'd like to set up a custom Profile Provider so I can stop storing all the user information in sessions. I have created the class FormsProfileProvider (it's for an online form site) and it inherits from ProfileProvider. I've...
  4. DTaylorAtWork

    Clearing Specified Session Variables When Moving to New Page

    So if I have my page load remove the session variables after it has gathered the data from them and click a link on the page they won't exist when loading the next page. What if I use Response.Redirect(url)? Page_Unload will still be called and I'd have to remove the session variable on...
  5. DTaylorAtWork

    Clearing Specified Session Variables When Moving to New Page

    That's a good idea, I can use it to clean the page specific variables on the first loading of the page. At least I won't have problem object states. The only problem is it doesn't solve the problem of those session variables existing while browsing the rest of the site. So server memory is...
  6. DTaylorAtWork

    Clearing Specified Session Variables When Moving to New Page

    I am having some issues with the site I'm working on right now. It's all aspx with c# codebehind. Most of the pages have objects of classes I have created. Those objects were becoming null on every post back so I started loading them into session variables on page_unload and then reloading them...
  7. DTaylorAtWork

    Dynamic ControlParameters bound to Dynamically Generated Controls

    I finally found my problem after thoroughly checking several watches and seeing that the GridView had rows in it but wasn't displaying. I wasn't adding the controls deeply enough into the page. There was an AJAX update panel where my button to generate the results resided. After changing my...
  8. DTaylorAtWork

    Dynamic ControlParameters bound to Dynamically Generated Controls

    I'm not certain how I would avoid using a datasource even with stored procedures. I could change the current datasource to execute the procedure rather than run a SELECT command but it would still have all the same parameter requirements. Thanks for the suggestion. If I'm just not understanding...
  9. DTaylorAtWork

    Dynamic ControlParameters bound to Dynamically Generated Controls

    I just realized that I forgot to set the PropertyName for my parameter and fixed that but it still gives me no results. When I set the default value I can get results but even when I type something different into the TextBox the results don't change, defeating the purpose. Is it even possible...
  10. DTaylorAtWork

    Dynamic ControlParameters bound to Dynamically Generated Controls

    I've been tasked with creating pages to allow users to create edit and display their own reports. I have the generation functioning properly, if not efficiently but it's when I go to the running of the report that things get problematic. Because the reports are dynamic they can have any number...
  11. DTaylorAtWork

    IIS server redirects users to login page

    Hi guys, I'm running IIS6 on Windows Server 2003 Web Edition SP2. I have an asp.net2.0 page for several online forms. When agents attempt to log in to the page with the correct credentials they are redirected straight back to the login page. I have checked the IIS logs and I know that the...

Part and Inventory Search

Back
Top