Search

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

Matching Posts

  • check session

    I have the following code in my code behind protected void Page_Load( object sender, EventArgs e) { if (!Page.IsPostBack) if (Session[ "user" ] == null ) Response.Redirect( ~/login.aspx" ); } I successfully redirect to the login.aspx page if I test it on my local machine. However when uploaded to the server it doesn't redirect to my login.aspx page. Any idea?
    Posted to Getting Started (Forum) by TheRekz on 7/14/2009
  • Re: check session

    any other idea besides this....
    Posted to Getting Started (Forum) by TheRekz on 7/14/2009
  • can't get grid view to be updated

    I have the following grid view code: < asp : GridView ID ="GridView1" runat ="server" DataSourceID ="yukexploredatabase" style =" text-align : center" Width ="584px" > < Columns > < asp : Commandfield ShowEditButton ="True" /> </ Columns > </ asp : GridView > < asp : SqlDataSource ID ="yukexploredatabase" runat ="server" ConnectionString =" <%$ ConnectionStrings:ie8_facebookConnectionString
    Posted to Data Presentation Controls (Forum) by TheRekz on 7/13/2009
    Filed under: SQL SERVER, Grid view Row_Editing
  • accessing javascript from code behind

    I have a javascript function in my puz.aspx called gameFinish and I can invoke the function from puz.aspx.cs by doing the following: HtmlPage .Window.Invoke( "gameFinish" , some argument); Now I want to move this gameFinish method to a separate .js file. How should I change the code above from my code behind so it can still access the gameFinish javascript from code behind?
    Posted to Client Side Web Development (Forum) by TheRekz on 7/10/2009
  • Re: media element

    Canvas [] cI = new Canvas [ 9 ]; MediaElement [] me = new MediaElement [ 9 ]; int blockSizeW = 97 ; int blockSizeH = 97 ; void InitBoard () { int nx = 0 ; for ( int ix = 0 ; ix < 3 ; ix ++) for ( int iy = 0 ; iy < 3 ; iy ++) { nx = ( ix * 3 ) + iy ; me [ nx ] = new MediaElement (); me [ nx ]. Height = 300 ; me [ nx ]. Width = 300 ; me [ nx ]. Stretch = Stretch . UniformToFill ; RectangleGeometry r = new RectangleGeometry (); r . Rect = new Rect (( ix * blockSizeW ), ( iy * blockSizeH ), blockSizeW
  • media element

    I have a video and I want to divide the video into 9 parts... so therefore I will have an array of media elements, how do I make so that each media element corresponds to a different part in the video, so say I have media element called me1, I want me1 to display the top left part of the video... Is there a way to control this via the source?
  • Re: media element

    I can post the code that I have here so far, how do you post codes in this site?
  • sql table to csv

    How can I export a table from a database into a csv file?
  • save string builder to csv

    I already have a string builder and the format is already a string separated by a comma. Now what I want is that when the user clicks this button it brings up the save as box to save this string builder as a .csv. How can I do that?
    Posted to Web Forms (Forum) by TheRekz on 6/25/2009
  • weird results when calling methods

    The code is the following: public string GetPassword() { StringBuilder builder = new StringBuilder(); builder.Append(RandomString(4, true)); builder.Append(RandomNumber(1000, 9999)); builder.Append(RandomString(2, false)); return builder.ToString(); } public string GetPassword() { StringBuilder builder = new StringBuilder(); builder.Append(RandomString(4, true)); builder.Append(RandomNumber(1000, 9999)); builder.Append(RandomString(2, false)); return builder.ToString(); } while (rdr.Read()) { if
    Posted to Getting Started (Forum) by TheRekz on 6/25/2009
Page 1 of 3 (21 items) 1 2 3 Next >