Search

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

Matching Posts

  • Re: Login.DestinationPageUrl does not work for me.

    mitkomk is correct. All you need to do to use the out-of-the-box Login control is to add it to your login.aspx page, set the default.aspx page, and include the Response.Redirect() call in the LoggedIn() event.
    Posted to Security (Forum) by Randall_Price on 9/28/2009
  • Question on distributing Atlas DLLs under GPL licensing

    Hello, I developed a web site for a campus-wide project using Atlas several months ago. It has been up and running for over 4 months now. At that time, Atlas was in beta and AJAX.NET was not officially released. However due to time restraints and deadlines, the project went forward using the Atlas version. I am working on an OpenSource version of this project and will be distributing it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation. I noticed
  • Re: How to access StyleSheet values from custom GridView

    I think you misunderstood how I am trying to use the style. I don't want to write to the CSS style, but just read it and see what the values are for certain properties. And maybe there is a better way to accomplish what I am trying to. My GridView has fixed column widths and is wrapped in a scrollable DIV. My header will be in a table with fixed column widths (the same as the GridView) above the GridView. The custom control builds the header table in the code-behind based on the columns found in
    Posted to Custom Server Controls (Forum) by Randall_Price on 11/20/2006
  • How to access StyleSheet values from custom GridView

    Hello, I am writing a custom web control that derives from the GridView. This control has fixed headers, custom paging, custom sorting, etc. The rendering of the fixed headers and custom paging are dependent on the width of the GridView when rendered in the browser. So I am calculating the total width of the GridView by adding up all of the column widths using the ItemStyle.Width.Value property for each column in the GridView. This final values is pretty close to the rendered width but I needed to
    Posted to Custom Server Controls (Forum) by Randall_Price on 11/20/2006
    Filed under: how to, GridView, StyleSheet values, custom control
  • Re: Launch ModalPopup from code-behind

    Hello Kiran, The _show() method is built-in in the ModalPopupBehavior.js file in the AtlasControlToolkit project in the ModalPopup folder. In my source code I see it at line 244. Hope this helps. Thanks,
  • Re: How to redirect to Login.aspx when FormsAuthentication / Session times out

    The redirect from Session_Start() is not working for me. I set a breakpoint in Session_Start() and stepped through the code. I tried to redirect to Login.aspx from Session_Start as follows: void Session_Start( object sender, EventArgs e) { if (Session.IsNewSession) { if ((Request.Headers[ "Cookie" ] != null ) && (Request.Headers[ "Cookie" ].IndexOf( FormsAuthentication .FormsCookieName) >= 0)) { FormsAuthentication .SignOut(); Context.User = null ; Response.Redirect( "~/Login.aspx" );
    Posted to Security (Forum) by Randall_Price on 8/18/2006
  • Re: When does ObjectDataSource load its data when bound to GridView

    So does the GridView get re-rendered on ALL postbacks? I am using Microsoft Atlas and have the GridView inside an UpdatePanel with ID="atlasPanelGridView". I have a search form inside another UpdatePanel with ID="atlasPanelSearch" that contains an Apply button and a Reset button. If I click on the Apply button I requery the database, repopulate my ObjectDataSource, and I want only the GridView panel to update. If I click on the Reset button I clear the search fields and I want only the search panel
  • When does ObjectDataSource load its data when bound to GridView

    Hello, I have a GridView that uses an ObjectDataSource to bind its data. The ObjectDataSource uses a custom class to access my database. This all works fine. My question is: When does the ObjectDataSource get "called" to load the data from the database? For example, when I step through the code in Page_Load(), the ObjectDataSource does NOT do anything until after the last line in Page_Load(). Then I see the GridView events (i.e., RowCreated(), RowDataBound() and DataBound() events firing, the data
  • How to redirect to Login.aspx when FormsAuthentication / Session times out

    Hello, I am using FormsAuthentication (which works fine) but when it (or the Session) times out, nothing works on my page. I have ASP buttons, ASP ComboBoxes, etc. on this page and their events do not fire at this point so I cannot use them to detect this condition. I want to be able to detect this condition and redirect the user to the Login.aspx page. I see the Session_End() event in the Global.aspx firing when the Session times out, but if I call either the Response.Redirect() or Server.Transfer
    Posted to Security (Forum) by Randall_Price on 8/15/2006
  • Re: Launch ModalPopup from code-behind

    I have this working now for those who may encounter the same problem. To recap, I have a search form with TextBoxes, CheckBoxes, etc. The user enters search criteria and then click an Apply button. I validate the input via client-side RegularExpressionValidator controls and some client-side JavaScript as well but these can easily be hacked and bypassed. So I also need to perform the validation serve-side. If the validation fails at that point, I want to display some error message text in a ModalPopup
Page 1 of 2 (19 items) 1 2 Next >